Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NETNamespace: Visual3D.Networking
Assembly: Visual3D.Networking (in Visual3D.Networking.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: Visual3D.Networking (in Visual3D.Networking.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public class WorldHostDiscoveryMessage : NetMessage..::..LobbyMessage
Public Class WorldHostDiscoveryMessage _ Inherits NetMessage..::..LobbyMessage
Members
| All Members | Constructors | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| NetMessage..::..LobbyMessage..::..WorldHostDiscoveryMessage()()()() | Initializes a new instance of the NetMessage..::..LobbyMessage..::..WorldHostDiscoveryMessage class | |
| NetMessage..::..LobbyMessage..::..WorldHostDiscoveryMessage(NetMessage) | Initializes a new instance of the NetMessage..::..LobbyMessage..::..WorldHostDiscoveryMessage class | |
| IsClientMessage | ||
| IsServerMessage | ||
| Length |
Total length in bytes
| |
| MessageType | (Overrides NetMessage..::..LobbyMessage..::..MessageType.) | |
| NetCommand | Extracts the NetCommand contained in this NetMessage, else Null if none.
NOTE: This is expensive Property to Read - ONLY to be used for Debugging. | |
| PeekByte()()()() |
Reads the next byte without incrementing the read pointer of the message
| |
| PeekByte(Int32) |
Reads the next 1-8 bits without incrementing the read pointer of the message
| |
| PeekUInt16()()()() |
Reads the next unsigned short without incrementing the read pointer of the message
| |
| PeekUInt16(Int32) |
Reads the next unsigned short without incrementing the read pointer of the message
| |
| PeekUInt32()()()() |
Reads the next unsigned integer without incrementing the read pointer of the message
| |
| PeekUInt32(Int32) |
Reads the next 1-32 bits without incrementing the read pointer of the message
| |
| Read7BitEncodedUInt(String) |
Reads an unsigned integer written using Write7BitEncodedUInt
| |
| ReadBoolean(String) | ||
| ReadByte(String) | ||
| ReadByte(String, Int32) | ||
| ReadBytes(String, Int32) | ||
| ReadColor(String) | ||
| ReadInt(String) | ||
| ReadInt(String, Int32) | ||
| ReadInt16(String) | ||
| ReadInt32(String) | ||
| ReadInt32(String, Int32) | ||
| ReadInt64(String) | ||
| ReadInt64(String, Int32) | ||
| ReadNormal(String, Int32, Single%, Single%, Single%) |
Read a compressed unit vector
| |
| ReadPlayerID()()()() | ||
| ReadPlayerTeamID()()()() | ||
| ReadQuaternion(String) | ||
| ReadRangedSingle(String, Single, Single, Int32) |
Reads a float written using WriteRangedSingle() using the same MIN and MAX values
| |
| ReadSentStamp(String, NetConnection) |
Reads a timestamp written using WriteSendStamp()
| |
| ReadSignedSingle(String, Int32) |
Reads a float in the range -1 to 1 written using WriteSignedSingle()
| |
| ReadSingle(String) | ||
| ReadString(String) | ||
| ReadStringTable(String, NetConnection) | ||
| ReadUInt16(String) | ||
| ReadUInt32(String) | ||
| ReadUInt32(String, Int32) | ||
| ReadUInt64(String) | ||
| ReadUInt64(String, Int32) | ||
| ReadUnitSingle(String, Int32) |
Reads a float in the range 0 to 1 written using WriteUnitSingle()
| |
| ReadVector3(String) | ||
| ResetReadPointer()()()() |
Reset the read pointer of the message to the beginning
| |
| Sender |
For received messages; this holds from which connection the message was sent
| |
| SequenceChannel |
NetChannel the message was sent over
| |
| SequenceNumber |
Sequence number (within the channel) of the message
| |
| ToArray()()()() |
Returns a copy of all bytes held in message payload
| |
| ToString()()()() | (Overrides NetMessage..::..ToString()()()().) | |
| Write(PlayerID) | ||
| Write(PlayerTeamID) | ||
| Write(String, Quaternion) | ||
| Write(String, Vector3) | ||
| Write(String, Boolean) | ||
| Write(String, Byte) | ||
| Write(String, array<Byte>[]()[][]) | ||
| Write(String, Int16) | ||
| Write(String, Int32) | ||
| Write(String, Int64) | ||
| Write(String, Single) | ||
| Write(String, String) | ||
| Write(String, UInt16) | ||
| Write(String, UInt32) | ||
| Write(String, UInt64) | ||
| Write(String, VColor) | ||
| Write(String, Byte, Int32) |
Write a byte using 1 - 8 number of bits
| |
| Write(String, Int32, Int32) |
Write an signed integer using 1 - 32 number of bits; using one of the bits as sign
| |
| Write(String, UInt32, Int32) |
Write an unsigned integer using 1 - 32 number of bits
| |
| Write(String, array<Byte>[]()[][], Int32, Int32) | ||
| Write(String, NetBuffer, Int32, Int32) | ||
| Write7BitEncodedUInt(String, UInt32) |
Write an unsigned integer using as few bytes as possible
| |
| WriteNormal(String, Single, Single, Single, Int32) |
Writes a unit vector using the supplied number of bits
| |
| WriteRangedSingle(String, Single, Single, Single, Int32) |
Compress a float within a specified range using a certain number of bits
| |
| WriteSendStamp(String) |
Write the current time
| |
| WriteSendStamp(String, Double) |
Write a timestamp IN THE PAST
| |
| WriteSignedSingle(String, Single, Int32) |
Write a float in the range of -1 .. 1 using 1 - 32 bits
| |
| WriteStringTable(String, NetConnection, String) | ||
| WriteUnitSingle(String, Single, Int32) |
Write a float in the range of 0 .. 1 using 1 - 32 bits
|
Inheritance Hierarchy
System..::..Object
Visual3D.Networking..::..NetMessage
Visual3D.Networking..::..NetMessage..::..LobbyMessage
Visual3D.Networking..::..NetMessage..::..LobbyMessage..::..WorldHostDiscoveryMessage
Visual3D.Networking..::..NetMessage
Visual3D.Networking..::..NetMessage..::..LobbyMessage
Visual3D.Networking..::..NetMessage..::..LobbyMessage..::..WorldHostDiscoveryMessage