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

Message used to change/set a category name. More...

List of all members.

Public Member Functions

bool Read (BinaryReader reader)
 Read the message from the given reader .
bool Write (PacketBuffer packet)
 Write the message to packet

Public Attributes

ushort CategoryID
 The category ID.
ushort ParentID
 The parent category ID.
bool DefaultActive
 Start active?
string Name
 The name for the category.

Properties

static ushort MessageID [get]
 Category message ID.

Detailed Description

Message used to change/set a category name.

The category name is encoded using a two byte string byte count, followed by the UTF8 character bytes.


Member Function Documentation

bool Tes::Net::CategoryNameMessage::Read ( BinaryReader  reader) [inline]

Read the message from the given reader .

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

Write the message to packet

Parameters:
packetThe packet to write to.
Returns:
True on success.

Member Data Documentation

The name for the category.

Encoded as a UTF8 prefixed by the character count in two bytes (no null terminator).

The parent category ID.

Zero for none (zero cannot be a parent category).


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