Represents the context for releasing a network object. This struct is unsafe because it uses pointers. More...
Public Member Functions | |
NetworkObjectReleaseContext (NetworkObject obj, NetworkObjectTypeId typeId, bool isBeingDestroyed, bool isNested) | |
Initializes a new instance of the NetworkObjectReleaseContext struct with the specified parameters. More... | |
override string | ToString () |
Returns a string that represents the current object. More... | |
Public Attributes | |
readonly bool | IsBeingDestroyed |
Indicates whether the network object is being destroyed. More... | |
readonly bool | IsNestedObject |
Indicates whether the network object is a nested object. More... | |
readonly NetworkObject | Object |
The network object to be released. More... | |
readonly NetworkObjectTypeId | TypeId |
The type identifier of the network object. More... | |
Represents the context for releasing a network object. This struct is unsafe because it uses pointers.
NetworkObjectReleaseContext | ( | NetworkObject | obj, |
NetworkObjectTypeId | typeId, | ||
bool | isBeingDestroyed, | ||
bool | isNested | ||
) |
Initializes a new instance of the NetworkObjectReleaseContext struct with the specified parameters.
obj | The network object to be released. |
typeId | The type identifier of the network object. |
isBeingDestroyed | Indicates whether the network object is being destroyed. |
isNested | Indicates whether the network object is a nested object. |
override string ToString | ( | ) |
Returns a string that represents the current object.
readonly bool IsBeingDestroyed |
Indicates whether the network object is being destroyed.
readonly bool IsNestedObject |
Indicates whether the network object is a nested object.
readonly NetworkObject Object |
The network object to be released.
readonly NetworkObjectTypeId TypeId |
The type identifier of the network object.