Photon Fusion 2.0.3

Public Member Functions | Public Attributes | Properties | List of all members
NetworkPrefabAcquireContext Struct Reference

Obsolete. Use NetworkObjectAcquireContext instead. More...

Public Member Functions

 NetworkPrefabAcquireContext (in NetworkObjectAcquireContext context)
 Initializes a new instance of the NetworkPrefabAcquireContext struct with the specified parameters. More...
 

Public Attributes

readonly bool DontDestroyOnLoad
 Indicates whether the network object should not be destroyed on load. More...
 
readonly bool IsSynchronous
 Indicates whether the operation is synchronous. More...
 
readonly NetworkObjectMeta Meta
 The metadata of the network object. More...
 
readonly NetworkPrefabId PrefabId
 The identifier of the prefab. More...
 

Properties

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

Detailed Description

Obsolete. Use NetworkObjectAcquireContext instead.

Constructor & Destructor Documentation

◆ NetworkPrefabAcquireContext()

Initializes a new instance of the NetworkPrefabAcquireContext struct with the specified parameters.

Member Data Documentation

◆ DontDestroyOnLoad

readonly bool DontDestroyOnLoad

Indicates whether the network object should not be destroyed on load.

◆ IsSynchronous

readonly bool IsSynchronous

Indicates whether the operation is synchronous.

◆ Meta

readonly NetworkObjectMeta Meta

The metadata of the network object.

◆ PrefabId

readonly NetworkPrefabId PrefabId

The identifier of the prefab.

Property Documentation

◆ Data

int* Data
get

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

Returns
Data pointer to the first word of this NetworkObject's data block.
Exceptions
InvalidOperationExceptionThrown when the Header is null.

◆ HasHeader

bool HasHeader
get

Checks if the Header is not null.

Returns
True if the Header is not null; otherwise, false.