NearbyInfo
    
            
            in package
            
        
    
    
    
Table of Contents
Properties
- $characters : array<string|int, CharacterMapInfo>
- $items : array<string|int, ItemMapInfo>
- $npcs : array<string|int, NpcMapInfo>
- $byteSize : int
- $charactersCount : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : NearbyInfo
- Deserializes an instance of `NearbyInfo` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getCharacters() : array<string|int, CharacterMapInfo>
- getCharactersCount() : int
- getItems() : array<string|int, ItemMapInfo>
- getNpcs() : array<string|int, NpcMapInfo>
- serialize() : void
- Serializes an instance of `NearbyInfo` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setCharacters() : void
- setCharactersCount() : void
- setItems() : void
- setNpcs() : void
Properties
$characters
    public
        array<string|int, CharacterMapInfo>
    $characters
     = []
    
    
    
$items
    public
        array<string|int, ItemMapInfo>
    $items
     = []
    
    
    
$npcs
    public
        array<string|int, NpcMapInfo>
    $npcs
     = []
    
    
    
$byteSize
    private
        int
    $byteSize
     = 0
    
    
    
$charactersCount
    private
        int
    $charactersCount
    
    
    
    
Methods
__toString()
Returns a string representation of the object.
    public
                    __toString() : string
    Return values
stringdeserialize()
Deserializes an instance of `NearbyInfo` from the provided `EoReader`.
    public
            static        deserialize(EoReader $reader) : NearbyInfo
    Parameters
- $reader : EoReader
- 
                    The reader that the data will be deserialized from. 
Return values
NearbyInfo —The deserialized data.
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.
getCharacters()
    public
                    getCharacters() : array<string|int, CharacterMapInfo>
    Return values
array<string|int, CharacterMapInfo>getCharactersCount()
    public
                    getCharactersCount() : int
    Return values
intgetItems()
    public
                    getItems() : array<string|int, ItemMapInfo>
    Return values
array<string|int, ItemMapInfo>getNpcs()
    public
                    getNpcs() : array<string|int, NpcMapInfo>
    Return values
array<string|int, NpcMapInfo>serialize()
Serializes an instance of `NearbyInfo` to the provided `EoWriter`.
    public
            static        serialize(EoWriter $writer, NearbyInfo $data) : void
    Parameters
- $writer : EoWriter
- 
                    The writer that the data will be serialized to. 
- $data : NearbyInfo
- 
                    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. 
setCharacters()
    public
                    setCharacters(array<string|int, CharacterMapInfo> $characters) : void
    Parameters
- $characters : array<string|int, CharacterMapInfo>
setCharactersCount()
    public
                    setCharactersCount(int $charactersCount) : void
    Parameters
- $charactersCount : int
setItems()
    public
                    setItems(array<string|int, ItemMapInfo> $items) : void
    Parameters
- $items : array<string|int, ItemMapInfo>
setNpcs()
    public
                    setNpcs(array<string|int, NpcMapInfo> $npcs) : void
    Parameters
- $npcs : array<string|int, NpcMapInfo>