class
TGameObjectHandle
template<typename T>
Inherits:
GameObjectHandle
A handle that can point to various types of game objects.
It primarily keeps track if the object is still alive, so anything still referencing it doesn't accidentally use it.
Public
Constructors
TGameObjectHandle<T>
Copy constructor from another handle of the same type.
TGameObjectHandle<T>
TGameObjectHandle<T>(TGameObjectHandle<T> &&other) = default
Move constructor from another handle of the same type.
Methods
Operators
operator=
Copy assignment
Internal
Operators
operator int Bool_struct::*
Allows direct conversion of handle to bool.
Protected
Constructors
TGameObjectHandle<T>
TGameObjectHandle<T>(SPtr<GameObjectHandleData> data)