Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(89)  |  Call(68)  |  Derive(0)  |  Import(21)
represents a uuid as, well, a uuid 

inbound LLUUID data from packets is already UUID(), they are 
already the same 'datatype'

src/p/y/pyogp.apps-0.1dev/pyogp/apps/examples/fetch_profile_info.py   pyogp.apps(Download)
from pyogp.lib.client.settings import Settings
from pyogp.lib.client.enums import AssetType
from pyogp.lib.base.datatypes import UUID
 
# pyogp messaging
                           AgentID = client.agent_id,
                           SessionID = client.session_id,
                           AvatarID = UUID(agent_id)))
 
    client.region.enqueue_message(packet)

src/p/y/pyogp.lib.client-0.1/pyogp/lib/client/objects.py   pyogp.lib.client(Download)
from pyogp.lib.client.datamanager import DataManager
from pyogp.lib.client.permissions import PermissionsTarget, PermissionsMask
from pyogp.lib.base.datatypes import UUID, Vector3, Quaternion
from pyogp.lib.client.event_system import AppEvent
from pyogp.lib.client.namevalue import NameValueList
 
        # not sure what RayTargetID is, send as uuid of zeros
        RayTargetID = UUID()
 
        self.object_add(self.agent.agent_id, self.agent.session_id,
 
            pos = 0         # position in the binary string
            object_properties['FullID'] = UUID(bytes = _Data, offset = 0)        # LLUUID
            pos += 16
            object_properties['LocalID'] = struct.unpack("<I", _Data[pos:pos+4])[0]
            object_properties['Flags'] = struct.unpack(">B", _Data[pos:pos+1])[0]
            pos += 1
            object_properties['OwnerID'] = UUID(bytes = _Data, offset = pos)
            pos += 16
 
            # Placeholder vars, to be populated via flags if present
            object_properties['AngularVelocity'] = Vector3()
            object_properties['ParentID'] = UUID()

src/p/y/pyogp.apps-0.1dev/pyogp/apps/examples/smoke_test.py   pyogp.apps(Download)
from pyogp.lib.client.enums import DeRezDestination, AssetType, \
     InventoryType, WearablesIndex
from pyogp.lib.base.datatypes import UUID, Vector3
 
# related
                                                    name="Objects")
            folder = matches.pop()
            transaction_id = UUID()
            transaction_id.random()
            prim.derez(client,

src/p/y/pyogp.apps-0.1dev/pyogp/apps/examples/voice_info.py   pyogp.apps(Download)
from pyogp.lib.client.settings import Settings
from pyogp.lib.client.enums import AssetType
from pyogp.lib.base.datatypes import UUID
 
# pyogp messaging

src/p/y/pyogp.apps-0.1dev/pyogp/apps/examples/object_create_upload_via_caps.py   pyogp.apps(Download)
from pyogp.lib.client.agent import Agent
from pyogp.lib.client.settings import Settings
from pyogp.lib.base.datatypes import UUID
from pyogp.lib.client.enums import AssetType, WearablesIndex, \
     InventoryType

src/p/y/pyogp.apps-0.1dev/pyogp/apps/examples/object_create_rez_script.py   pyogp.apps(Download)
from pyogp.lib.client.agent import Agent
from pyogp.lib.client.settings import Settings
from pyogp.lib.base.datatypes import UUID
from pyogp.lib.client.enums import AssetType, WearablesIndex, \
     InventoryType

src/p/y/pyogp.apps-0.1dev/pyogp/apps/examples/map_item_requests.py   pyogp.apps(Download)
from pyogp.lib.client.settings import Settings
from pyogp.lib.client.enums import AssetType
from pyogp.lib.base.datatypes import UUID
 
# pyogp messaging

src/p/y/pyogp.apps-0.1dev/pyogp/apps/examples/group_chat_test.py   pyogp.apps(Download)
from pyogp.lib.client.settings import Settings
from pyogp.lib.client.enums import AssetType
from pyogp.lib.base.datatypes import UUID
 
# pyogp messaging

src/p/y/pyogp.apps-0.1dev/pyogp/apps/examples/fetch_offline_ims.py   pyogp.apps(Download)
from pyogp.lib.client.settings import Settings
from pyogp.lib.client.enums import AssetType
from pyogp.lib.base.datatypes import UUID
 
# pyogp messaging

src/p/y/pyogp.lib.client-0.1/pyogp/lib/client/appearance.py   pyogp.lib.client(Download)
from pyogp.lib.client.objects import Object
from pyogp.lib.client.visualparams import VisualParams
from pyogp.lib.base.datatypes import UUID, Vector3
from pyogp.lib.client.enums import BakedIndex, TextureIndex, \
     WearableMap, AssetType, WearablesIndex
        """
        if self.agent.agent_id == None or self.agent.session_id == None or \
              str(self.agent.agent_id) == str(UUID()) or \
              str(self.agent.session_id) == str(UUID()):
           logger.warning("Agent has either no agent_id or session_id, message not sent")
        for i in range(WearablesIndex.WT_COUNT):
            if create[i]:
                asset_id == UUID()
                asset_id.random()
                self.wearables[i] = Wearable(i, AssetID=asset_id)
 
        if bakedIndex == BakedIndex.BAKED_HEAD:
            self.secret_hash = UUID("18ded8d6-bcfc-e415-8539-944c0f5ea7a6")
        elif bakedIndex == BakedIndex.BAKED_UPPER:
            self.secret_hash = UUID("338c29e3-3024-4dbb-998d-7c04cf4fa88f")

  1 | 2 | 3  Next