Class WelcomeReplyServerPacket
Reply to selecting a character / entering game
[Generated]
public class WelcomeReplyServerPacket : IPacket, ISerializable
- Inheritance
-
WelcomeReplyServerPacket
- Implements
- Inherited Members
Constructors
WelcomeReplyServerPacket()
public WelcomeReplyServerPacket()
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
WelcomeCode
public WelcomeCode WelcomeCode { get; set; }
Property Value
WelcomeCodeData
public WelcomeReplyServerPacket.IWelcomeCodeData WelcomeCodeData { 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
ForEnterGame(WelcomeCodeDataEnterGame)
Creates a new WelcomeReplyServerPacket with WelcomeCode set to EnterGame and WelcomeCodeData set to data.
public static WelcomeReplyServerPacket ForEnterGame(WelcomeReplyServerPacket.WelcomeCodeDataEnterGame data)
Parameters
dataWelcomeReplyServerPacket.WelcomeCodeDataEnterGameThe data for the case.
Returns
Exceptions
- ArgumentNullException
Thrown when
datais null.
ForLoggedIn()
Creates a new WelcomeReplyServerPacket with WelcomeCode set to LoggedIn.
public static WelcomeReplyServerPacket ForLoggedIn()
Returns
ForSelectCharacter(WelcomeCodeDataSelectCharacter)
Creates a new WelcomeReplyServerPacket with WelcomeCode set to SelectCharacter and WelcomeCodeData set to data.
public static WelcomeReplyServerPacket ForSelectCharacter(WelcomeReplyServerPacket.WelcomeCodeDataSelectCharacter data)
Parameters
dataWelcomeReplyServerPacket.WelcomeCodeDataSelectCharacterThe data for the case.
Returns
Exceptions
- ArgumentNullException
Thrown when
datais null.
ForServerBusy()
Creates a new WelcomeReplyServerPacket with WelcomeCode set to ServerBusy.
public static WelcomeReplyServerPacket ForServerBusy()
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()