Photon Fusion 2.1.1

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.

Public Attributes

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

Properties

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

Detailed Description

Obsolete. Use NetworkObjectAcquireContext instead.

Property Documentation

◆ Data

Span<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 or null, if data is not yet allocated.

◆ HasHeader

bool HasHeader
get

Checks if the Header is not null.

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