Interfaces
IPedStorageService
A service for managing and accessing ped data.
Methods
TryGetPed
Tries to get a FPed by its network ID.
Parameters
| Name | Type | Description |
|---|---|---|
| networkId | int | The ped's network ID. |
Returns
| Name | Type |
|---|---|
| FPed | The ped or null. |
GetPedData
Gets the PedData of the given FPed.
Parameters
| Name | Type | Description |
|---|---|---|
| ped | FPed | The ped. |
Returns
| Name | Type |
|---|---|
| PedData | The PedHistory of the ped. |
Properties
Peds
Gets a readonly dictionary of all peds on the server.
Type: ReadOnlyDictionary<int, FPed>
InternalPeds
Type: ConcurrentDictionary<int, FPed>