Photon Fusion 1.1.2

Public Attributes | Properties | List of all members
NetworkPrefabInfo Struct Reference

Meta data for a NetworkObject prefab which has been cataloged in a NetworkProjectConfig.PrefabTable. More...

Public Attributes

NetworkPrefabId Prefab
 Prefab ID. Use NetworkPrefabTable.TryAdd(NetworkObjectGuid, INetworkPrefabSource, out NetworkPrefabId) to look up the actual prefab reference in the NetworkProjectConfig.PrefabTable. More...
 
NetworkObjectHeaderHeader
 Header data for the NetworkObject prefab. More...
 

Properties

bool HasHeader [get]
 If the Header is not null. More...
 
int * Data [get]
 Data pointer to the first word of this NetworkObject's data block. More...
 

Detailed Description

Meta data for a NetworkObject prefab which has been cataloged in a NetworkProjectConfig.PrefabTable.

Member Data Documentation

◆ Header

Header data for the NetworkObject prefab.

◆ Prefab

Prefab ID. Use NetworkPrefabTable.TryAdd(NetworkObjectGuid, INetworkPrefabSource, out NetworkPrefabId) to look up the actual prefab reference in the NetworkProjectConfig.PrefabTable.

Property Documentation

◆ Data

int* Data
get

Data pointer to the first word of this NetworkObject's data block.

◆ HasHeader

bool HasHeader
get

If the Header is not null.