Photon Fusion 1.1.11

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

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

Properties

int * Data [get]
 Data pointer to the first word of this NetworkObject's data block. More...
 
bool HasHeader [get]
 If the Header is not null. 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.