My Project
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Teal.NetworkObject Class Reference
Inheritance diagram for Teal.NetworkObject:

Public Member Functions

void ReadCreateData (byte[] data)
 
byte[] WriteCreateData ()
 

Static Public Member Functions

static byte[] GetCreateData (GameObject go)
 
static byte[] GetCreateData (NetworkObject net)
 
static ushort GetNewId ()
 
static GameObject GetGameObjectFromId (ushort id)
 
static NetworkObject GetNetworkObjectFromId (ushort id)
 
static void AssignEvents (Component component, UnityAction< BitPacker > write, UnityAction< BitPacker > read)
 

Public Attributes

NetworkObjectEvent OnWriteData = new NetworkObjectEvent()
 
NetworkObjectEvent OnReadData = new NetworkObjectEvent()
 
byte[] startCreateData
 
Dictionary< ushort, CachedMethodcachedRPCs = new Dictionary<ushort, CachedMethod>()
 
bool destroyedProperly
 

Static Public Attributes

static Dictionary< ushort, NetworkObjectobjs = new Dictionary<ushort, NetworkObject>()
 

Properties

ushort Id [get, set]
 

The documentation for this class was generated from the following file: