Go to the source code of this file.
|
| void | NetID_DeserializedNewID (int nextVal) |
| | Call this when you deserialize a new net id sent from the server - games won't ever have to call it.
|
| |
| int | NetID_GetID () |
| | Get a new net ID - the authoritative ID an entity has, assigned by the server but guessed by the client.
|
| |
◆ NetID_DeserializedNewID()
| void NetID_DeserializedNewID |
( |
int |
nextVal | ) |
|
Call this when you deserialize a new net id sent from the server - games won't ever have to call it.
- Parameters
-
◆ NetID_GetID()
Get a new net ID - the authoritative ID an entity has, assigned by the server but guessed by the client.
- Returns
- the network ID, assign to Entity2D::networkID