Class WelcomeAgreeClientPacket
Requesting a file
[Generated]
public class WelcomeAgreeClientPacket : IPacket, ISerializable
- Inheritance
-
WelcomeAgreeClientPacket
- Implements
- Inherited Members
Constructors
WelcomeAgreeClientPacket()
public WelcomeAgreeClientPacket()
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
FileType
public FileType FileType { get; set; }
Property Value
FileTypeData
public WelcomeAgreeClientPacket.IFileTypeData FileTypeData { get; set; }
Property Value
SessionId
public int SessionId { 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
ForEcf(FileTypeDataEcf)
Creates a new WelcomeAgreeClientPacket with FileType set to Ecf and FileTypeData set to data.
public static WelcomeAgreeClientPacket ForEcf(WelcomeAgreeClientPacket.FileTypeDataEcf data)
Parameters
dataWelcomeAgreeClientPacket.FileTypeDataEcfThe data for the case.
Returns
Exceptions
- ArgumentNullException
Thrown when
datais null.
ForEif(FileTypeDataEif)
Creates a new WelcomeAgreeClientPacket with FileType set to Eif and FileTypeData set to data.
public static WelcomeAgreeClientPacket ForEif(WelcomeAgreeClientPacket.FileTypeDataEif data)
Parameters
dataWelcomeAgreeClientPacket.FileTypeDataEifThe data for the case.
Returns
Exceptions
- ArgumentNullException
Thrown when
datais null.
ForEmf(FileTypeDataEmf)
Creates a new WelcomeAgreeClientPacket with FileType set to Emf and FileTypeData set to data.
public static WelcomeAgreeClientPacket ForEmf(WelcomeAgreeClientPacket.FileTypeDataEmf data)
Parameters
dataWelcomeAgreeClientPacket.FileTypeDataEmfThe data for the case.
Returns
Exceptions
- ArgumentNullException
Thrown when
datais null.
ForEnf(FileTypeDataEnf)
Creates a new WelcomeAgreeClientPacket with FileType set to Enf and FileTypeData set to data.
public static WelcomeAgreeClientPacket ForEnf(WelcomeAgreeClientPacket.FileTypeDataEnf data)
Parameters
dataWelcomeAgreeClientPacket.FileTypeDataEnfThe data for the case.
Returns
Exceptions
- ArgumentNullException
Thrown when
datais null.
ForEsf(FileTypeDataEsf)
Creates a new WelcomeAgreeClientPacket with FileType set to Esf and FileTypeData set to data.
public static WelcomeAgreeClientPacket ForEsf(WelcomeAgreeClientPacket.FileTypeDataEsf data)
Parameters
dataWelcomeAgreeClientPacket.FileTypeDataEsfThe data for the case.
Returns
Exceptions
- ArgumentNullException
Thrown when
datais null.
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()