Class SitRequestClientPacket
Sit/stand request
[Generated]
public class SitRequestClientPacket : IPacket, ISerializable
- Inheritance
-
SitRequestClientPacket
- Implements
- Inherited Members
Constructors
SitRequestClientPacket()
public SitRequestClientPacket()
Properties
Action
Gets the packet action associated with this packet
public PacketAction Action { get; }
Property Value
ByteSize
Gets the size of the data that this object was deserialized from, or 0 for an object that was not deserialized.
public int ByteSize { get; }
Property Value
Family
Gets the packet family associated with this packet
public PacketFamily Family { get; }
Property Value
SitAction
public SitAction SitAction { get; set; }
Property Value
SitActionData
public SitRequestClientPacket.ISitActionData SitActionData { get; set; }
Property Value
Methods
Deserialize(EoReader)
Deserialize the EO binary data representation of this object from an EoReader.
public void Deserialize(EoReader reader)
Parameters
readerEoReaderThe reader from which this object should be read.
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
ForSit(SitActionDataSit)
Creates a new SitRequestClientPacket with SitAction set to Sit and SitActionData set to data.
public static SitRequestClientPacket ForSit(SitRequestClientPacket.SitActionDataSit data)
Parameters
dataSitRequestClientPacket.SitActionDataSitThe data for the case.
Returns
Exceptions
- ArgumentNullException
Thrown when
datais null.
ForStand()
Creates a new SitRequestClientPacket with SitAction set to Stand.
public static SitRequestClientPacket ForStand()
Returns
GetHashCode()
public override int GetHashCode()
Returns
Serialize(EoWriter)
Serialize this object to an EoWriter in the EO binary data representation.
public void Serialize(EoWriter writer)
Parameters
writerEoWriterThe writer to which this object should be written.
ToString()
public override string ToString()