OpenMetaverse Protocol Library Developers API Documentation
BuildPacket Method (capsEventName, body)
NamespacesOpenMetaverse.PacketsPacketBuildPacket(String, OSDMap)
Attempts to convert an LLSD structure to a known Packet type
Declaration Syntax
C#
public 
static 
Packet 
BuildPacket(
        
string 
capsEventName,
        
OSDMap 
body
)
Parameters
capsEventName ( String)
Event name, this must match an actual packet name for a Packet to be successfully built
body ( OSDMap)
LLSD to convert to a Packet
Return Value
A Packet on success, otherwise null

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)