OpenMetaverse Protocol Library Developers API Documentation
AddCallback Method (key, customPacketHandler)
NamespacesOpenMetaverse.Packets PacketDecoderAddCallback(String, PacketDecoder . . :: . . CustomPacketDecoder)
Add a custom decoder callback
Declaration Syntax
C#
public 
static 
void 
AddCallback(
        
string 
key,
        

PacketDecoder

.
.
::
.
.
CustomPacketDecoder 
customPacketHandler
)
Parameters
key ( String)
The key of the field to decode
customPacketHandler ( PacketDecoder . . :: . . CustomPacketDecoder)
The custom decode handler

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