Class GuildAgreeClientPacket
Update the guild description or rank list
[Generated]
public class GuildAgreeClientPacket : IPacket, ISerializable
- Inheritance
-
GuildAgreeClientPacket
- Implements
- Inherited Members
Constructors
GuildAgreeClientPacket()
public GuildAgreeClientPacket()
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
InfoType
public GuildInfoType InfoType { get; set; }
Property Value
InfoTypeData
public GuildAgreeClientPacket.IInfoTypeData InfoTypeData { 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
ForBank()
Creates a new GuildAgreeClientPacket with InfoType set to Bank.
public static GuildAgreeClientPacket ForBank()
Returns
ForDescription(InfoTypeDataDescription)
Creates a new GuildAgreeClientPacket with InfoType set to Description and InfoTypeData set to data.
public static GuildAgreeClientPacket ForDescription(GuildAgreeClientPacket.InfoTypeDataDescription data)
Parameters
dataGuildAgreeClientPacket.InfoTypeDataDescriptionThe data for the case.
Returns
Exceptions
- ArgumentNullException
Thrown when
datais null.
ForRanks(InfoTypeDataRanks)
Creates a new GuildAgreeClientPacket with InfoType set to Ranks and InfoTypeData set to data.
public static GuildAgreeClientPacket ForRanks(GuildAgreeClientPacket.InfoTypeDataRanks data)
Parameters
dataGuildAgreeClientPacket.InfoTypeDataRanksThe 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()