GuildReportServerPacket
in package
Get guild info reply
Table of Contents
Properties
- $ranks : array<string|int, string>
- $staff : array<string|int, GuildStaff>
- $byteSize : int
- $createDate : string
- $description : string
- $name : string
- $staffCount : int
- $tag : string
- $wealth : string
Methods
- __toString() : string
- Returns a string representation of the object.
- action() : int
- Returns the packet action associated with this packet.
- deserialize() : GuildReportServerPacket
- Deserializes an instance of `GuildReportServerPacket` from the provided `EoReader`.
- family() : int
- Returns the packet family associated with this packet.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getCreateDate() : string
- getDescription() : string
- getName() : string
- getRanks() : array<string|int, string>
- getStaff() : array<string|int, GuildStaff>
- getStaffCount() : int
- getTag() : string
- getWealth() : string
- serialize() : void
- Serializes an instance of `GuildReportServerPacket` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setCreateDate() : void
- setDescription() : void
- setName() : void
- setRanks() : void
- setStaff() : void
- setStaffCount() : void
- setTag() : void
- setWealth() : void
- write() : void
- Serializes and writes this packet to the provided EoWriter.
Properties
$ranks
public
array<string|int, string>
$ranks
= []
$staff
public
array<string|int, GuildStaff>
$staff
= []
$byteSize
private
int
$byteSize
= 0
$createDate
private
string
$createDate
= ""
$description
private
string
$description
= ""
$name
private
string
$name
= ""
$staffCount
private
int
$staffCount
$tag
private
string
$tag
= ""
$wealth
private
string
$wealth
= ""
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringaction()
Returns the packet action associated with this packet.
public
static action() : int
Return values
int —The packet action associated with this packet.
deserialize()
Deserializes an instance of `GuildReportServerPacket` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : GuildReportServerPacket
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
GuildReportServerPacket —The deserialized data.
family()
Returns the packet family associated with this packet.
public
static family() : int
Return values
int —The packet family associated with this packet.
getByteSize()
Returns the size of the data that this was deserialized from.
public
getByteSize() : int
Return values
int —The size of the data that this was deserialized from.
getCreateDate()
public
getCreateDate() : string
Return values
stringgetDescription()
public
getDescription() : string
Return values
stringgetName()
public
getName() : string
Return values
stringgetRanks()
public
getRanks() : array<string|int, string>
Return values
array<string|int, string>getStaff()
public
getStaff() : array<string|int, GuildStaff>
Return values
array<string|int, GuildStaff>getStaffCount()
public
getStaffCount() : int
Return values
intgetTag()
public
getTag() : string
Return values
stringgetWealth()
public
getWealth() : string
Return values
stringserialize()
Serializes an instance of `GuildReportServerPacket` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, GuildReportServerPacket $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : GuildReportServerPacket
-
The data to serialize.
setByteSize()
Sets the size of the data that this was deserialized from.
public
setByteSize(int $byteSize) : void
Parameters
- $byteSize : int
-
The size of the data that this was deserialized from.
setCreateDate()
public
setCreateDate(string $createDate) : void
Parameters
- $createDate : string
setDescription()
public
setDescription(string $description) : void
Parameters
- $description : string
setName()
public
setName(string $name) : void
Parameters
- $name : string
setRanks()
public
setRanks(array<string|int, string> $ranks) : void
Parameters
- $ranks : array<string|int, string>
setStaff()
public
setStaff(array<string|int, GuildStaff> $staff) : void
Parameters
- $staff : array<string|int, GuildStaff>
setStaffCount()
public
setStaffCount(int $staffCount) : void
Parameters
- $staffCount : int
setTag()
public
setTag(string $tag) : void
Parameters
- $tag : string
setWealth()
public
setWealth(string $wealth) : void
Parameters
- $wealth : string
write()
Serializes and writes this packet to the provided EoWriter.
public
write(EoWriter $writer) : void
Parameters
- $writer : EoWriter
-
The writer that this packet will be written to.