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

All Samples(149)  |  Call(126)  |  Derive(0)  |  Import(23)
base representation of a block
Block expects a name, and kwargs for variables (var_name = value)

src/p/y/pyogp.lib.client-0.1/pyogp/lib/client/objects.py   pyogp.lib.client(Download)
# pyogp message
from pyogp.lib.base.message.message_handler import MessageHandler
from pyogp.lib.base.message.message import Message, Block
 
 
 
        packet = Message('RequestMultipleObjects',
                        Block('AgentData',
                                AgentID = AgentID,
                                SessionID = SessionID),
 
        packet = Message('ObjectAdd',
                        Block('AgentData',
                            AgentID = AgentID,
                            SessionID = SessionID,
                            GroupID = GroupID),
                        Block('ObjectData',
        to prim"""
        packet = Message('RezScript',
                         Block('AgentData',
                               AgentID = agent.agent_id,
                               SessionID = agent.session_id,

src/p/y/pyogp.lib.client-0.1/pyogp/lib/client/inventory.py   pyogp.lib.client(Download)
 
# pyogp.message
from pyogp.lib.base.message.message import Message, Block
 
# pyogp utilities
 
        packet = Message('FetchInventory',
                        Block('AgentData',
                                AgentID = agent_id,
                                SessionID = session_id),
    def send_CreateInventoryItem(self, agent_id, session_id, callback_id,
                                 folder_id, transaction_id, next_owner_mask,
                                 type_, inv_type, wearable_type, name, desc):
        """ sends a CreateInventoryItem message """
        args = [Block('AgentData',
                      AgentID = agent_id,
                      SessionID = session_id)]
        args += [Block('InventoryBlock',
    def send_RemoveInventoryItem(self, agent_id, session_id, item_id):
        """ sends a RemoveInventoryItem message """
 
        args = [Block('AgentData',
                      AgentID = agent_id,

src/p/y/pyogp.apps-0.1dev/pyogp/apps/examples/map_item_requests.py   pyogp.apps(Download)
 
# pyogp messaging
from pyogp.lib.base.message.message import Message, Block
 
 
 
    packet = Message('MapNameRequest', 
                    Block('AgentData', 
                        AgentID = client.agent_id, 
                        SessionID = client.session_id,
                        Flags = 0,
                        EstateID = 0, # filled in on server
                        Godlike = False), # filled in on server
                    Block('NameData',
 
            packet = Message('MapItemRequest', 
                             Block('AgentData', 
                                   AgentID = self.client.agent_id, 
                                   SessionID = self.client.session_id,
                                   Flags = 0,
                                   EstateID = 0, # filled in on server
                                   Godlike = False), # filled in on server
                             Block('RequestData',

src/p/y/pyogp.lib.client-0.1/pyogp/lib/client/agent.py   pyogp.lib.client(Download)
 
# pyogp messaging
from pyogp.lib.base.message.message import Message, Block
 
# pyogp utilities
    def send_AgentDataUpdateRequest(self):
        """ queues a packet requesting an agent data update """
 
        packet = Message('AgentDataUpdateRequest', 
                        Block('AgentData', 
 
        packet = Message('ChatFromViewer', 
                        Block('AgentData', 
                            AgentID = self.agent_id, 
                            SessionID = self.session_id), 
                        Block('ChatData', 
 
        packet = Message('ImprovedInstantMessage', 
                        Block('AgentData', 
                            AgentID = AgentID, 
                            SessionID = SessionID), 

src/p/y/pyogp.lib.client-0.1/pyogp/lib/client/region.py   pyogp.lib.client(Download)
 
# messaging
from pyogp.lib.base.message.message import Message, Block
from pyogp.lib.base.message.message_handler import MessageHandler
from pyogp.lib.base.message_manager import MessageManager
    def send_LogoutRequest(self, agent_id, session_id):
        """ send a LogoutRequest message to the host simulator """
 
        packet = Message('LogoutRequest',
                        Block('AgentData',
    def sendUseCircuitCode(self, circuit_code, session_id, agent_id):
        """ initializing on a simulator requires announcing the circuit code an agent will use """
 
        packet = Message('UseCircuitCode',
                        Block('CircuitCode',
    def sendCompleteAgentMovement(self, agent_id, session_id, circuit_code):
        """ initializing on a simulator requires sending CompleteAgentMovement, also required on teleport """
 
        packet = Message('CompleteAgentMovement',
                        Block('AgentData',
 
        packet = Message('AgentUpdate',
                        Block('AgentData',
                                AgentID = AgentID,
                                SessionID = SessionID,

src/p/y/pyogp.apps-0.1dev/pyogp/apps/examples/fetch_profile_info.py   pyogp.apps(Download)
 
# pyogp messaging
from pyogp.lib.base.message.message import Message, Block
 
 
 
    packet = Message('AvatarPropertiesRequest',
                     Block('AgentData',
                           AgentID = client.agent_id,
                           SessionID = client.session_id,

src/p/y/pyogp.lib.client-0.1/pyogp/lib/client/tests/test_objects.py   pyogp.lib.client(Download)
# pyogp messaging
from pyogp.lib.base.message.udpdeserializer import UDPMessageDeserializer
from pyogp.lib.base.message.message import Message, Block
from pyogp.lib.base.message.message_handler import MessageHandler
 
        fake_uuid.random()
        packet = Message('ObjectUpdate',
                         Block('RegionData',
                               RegionHandle=0,
                               TimeDilation=0),
                         Block('ObjectData',

src/p/y/pyogp.apps-0.1dev/pyogp/apps/examples/fetch_offline_ims.py   pyogp.apps(Download)
 
# pyogp messaging
from pyogp.lib.base.message.message import Message, Block
 
 
 
    packet = Message('RetrieveInstantMessages',
                     Block('AgentData',
                           AgentID = client.agent_id,
                           SessionID = client.session_id))

src/p/y/pyogp.lib.client-0.1/pyogp/lib/client/groups.py   pyogp.lib.client(Download)
 
# pyogp messaging
from pyogp.lib.base.message.message import Message, Block
 
# pyogp utilities
 
            packet = Message('CreateGroupRequest',
                                Block('AgentData',
                                        AgentID = AgentID,
                                        SessionID = SessionID),
                                Block('GroupData',
    def send_JoinGroupRequest(self, agent_id, session_id, group_id):
        """ sends a JoinGroupRequest message to the hsot simulator """
 
        packet = Message('JoinGroupRequest',
                        Block('AgentData',
                                AgentID = AgentID,
                                SessionID = SessionID),
                            Block('GroupData',

src/p/y/pyogp.lib.client-0.1/pyogp/lib/client/parcel.py   pyogp.lib.client(Download)
 
# pyogp messaging
from pyogp.lib.base.message.message import Message, Block
from pyogp.lib.base.message.message_handler import MessageHandler
 
    def sendEstateCovenantRequest(self, agent_id, session_id):
        """ send an EstateCovenantRequest message to the host simulator """
 
        packet = Message('EstateCovenantRequest',
                        Block('AgentData',
    def sendParcelPropertiesRequest(self, agent_id, session_id, SequenceID, West, South, East, North, SnapSelection):
        """ sends a ParcelPropertiesRequest message to the host simulator """
 
        packet = Message('ParcelPropertiesRequest', 
                        Block('AgentData',
                                AgentID = agent_id,
                                SessionID = session_id),
                        Block('ParcelData',
    def sendParcelPropertiesRequestByID(self, agent_id, session_id, SequenceID, LocalID):
        """ sends a ParcelPropertiesRequestByID packet """
 
        packet = Message('ParcelPropertiesRequestByID', 
                        Block('AgentData',

  1 | 2 | 3  Next