File NetworkID.h

FileList > engine > include > NetworkID.h

Go to the source code of this file

Public Functions

Type Name
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.

Public Functions Documentation

function NetID_DeserializedNewID

Call this when you deserialize a new net id sent from the server - games won't ever have to call it.

void NetID_DeserializedNewID (
    int nextVal
) 

Parameters:

  • nextVal

function NetID_GetID

Get a new net ID - the authoritative ID an entity has, assigned by the server but guessed by the client.

int NetID_GetID () 

Returns:

the network ID, assign to Entity2D::networkID



The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/include/NetworkID.h