3rd Eye Scene C#
3rd Eye Scene C# documentation
Tes::Net::ControlMessage Struct Reference

A system control message. More...

List of all members.

Public Member Functions

bool Read (BinaryReader reader)
 Read the message from the given reader .
bool Peek (PacketBuffer packet)
 Peek into the given packet and read this message.
bool Write (PacketBuffer packet)
 Write this message to packet .

Static Public Member Functions

static ControlMessage Create (uint value)
 Create a control message with the given 32-bit value.

Public Attributes

uint ControlFlags
 Flags, particular to this ControlMessageID type of message.
uint Value32
 32-bit value particular to this ControlMessageID type of message.
ulong Value64
 64-bit value particular to this ControlMessageID type of message.

Detailed Description

A system control message.


Member Function Documentation

static ControlMessage Tes::Net::ControlMessage::Create ( uint  value) [inline, static]

Create a control message with the given 32-bit value.

Parameters:
valueValue assigned to the Value32 field.
Returns:
A zeroed message with value assigned to Value32.
bool Tes::Net::ControlMessage::Peek ( PacketBuffer  packet) [inline]

Peek into the given packet and read this message.

Does not modify the cursor or contents of packet .

Parameters:
packetThe packet to read from.
Returns:
True on success.
bool Tes::Net::ControlMessage::Read ( BinaryReader  reader) [inline]

Read the message from the given reader .

Parameters:
readerThe reader to read from.
Returns:
True
bool Tes::Net::ControlMessage::Write ( PacketBuffer  packet) [inline]

Write this message to packet .

Parameters:
packetThe packet to write to.
Returns:
True

The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events