C# Class OpenMetaverse.Packets.Packet

Afficher le fichier Open project: 3di/3di-viewer-rei-libs Class Usage Examples

Méthodes publiques

Méthode Description
BuildPacket ( string capsEventName, OSDMap body ) : Packet

Attempts to convert an LLSD structure to a known Packet type

FromLLSD ( OSD osd ) : Packet
FromXmlString ( string xml ) : Packet
GetLLSD ( Packet packet ) : OSD
ToBinary ( Packet packet ) : byte[]
ToXmlString ( Packet packet ) : string

Private Methods

Méthode Description
BuildLLSDBlock ( object block ) : OSD
ParseLLSDBlock ( OSDMap blockData, Type blockType ) : object

Method Details

BuildPacket() public static méthode

Attempts to convert an LLSD structure to a known Packet type
public static BuildPacket ( string capsEventName, OSDMap body ) : Packet
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
Résultat Packet

FromLLSD() public static méthode

public static FromLLSD ( OSD osd ) : Packet
osd OSD
Résultat Packet

FromXmlString() public static méthode

public static FromXmlString ( string xml ) : Packet
xml string
Résultat Packet

GetLLSD() public static méthode

public static GetLLSD ( Packet packet ) : OSD
packet Packet
Résultat OSD

ToBinary() public static méthode

public static ToBinary ( Packet packet ) : byte[]
packet Packet
Résultat byte[]

ToXmlString() public static méthode

public static ToXmlString ( Packet packet ) : string
packet Packet
Résultat string