C# Class OpenMetaverse.Messages.Linden.TeleportFailedMessage

A message sent to the client which indicates a teleport request has failed and contains some information on why it failed
Inheritance: IMessage
Show file Open project: N3X15/VoxelSim Class Usage Examples

Public Properties

Property Type Description
AgentID UUID
ExtraParams string
MessageKey string
Reason string

Public Methods

Method Description
Deserialize ( OSDMap map ) : void

Deserialize the message

Serialize ( ) : OSDMap

Serialize the object

Method Details

Deserialize() public method

Deserialize the message
public Deserialize ( OSDMap map ) : void
map OSDMap An containing the data
return void

Serialize() public method

Serialize the object
public Serialize ( ) : OSDMap
return OSDMap

Property Details

AgentID public property

The UUID of the Agent
public UUID AgentID
return UUID

ExtraParams public property

public string ExtraParams
return string

MessageKey public property

A string key of the reason the teleport failed e.g. CouldntTPCloser Which could be used to look up a value in a dictionary or enum
public string MessageKey
return string

Reason public property

A string human readable message containing the reason
An example: Could not teleport closer to destination
public string Reason
return string