mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Update Other.hpp
This commit is contained in:
parent
596da38403
commit
9062121cc8
@ -70,7 +70,7 @@ struct DpActivity
|
|||||||
*/
|
*/
|
||||||
Ptr mPtr{nullptr};
|
Ptr mPtr{nullptr};
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
* Wether the referenced pointer is owned.
|
* Whether the referenced pointer is owned.
|
||||||
*/
|
*/
|
||||||
bool mOwned{false};
|
bool mOwned{false};
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
@ -146,7 +146,7 @@ struct DpActivity
|
|||||||
*/
|
*/
|
||||||
SQMOD_NODISCARD Ptr::element_type & Valid() const { Validate(); return *mPtr; }
|
SQMOD_NODISCARD Ptr::element_type & Valid() const { Validate(); return *mPtr; }
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
* Check wether a valid instance is managed.
|
* Check whether a valid instance is managed.
|
||||||
*/
|
*/
|
||||||
SQMOD_NODISCARD bool IsValid() const { return static_cast< bool >(mPtr); }
|
SQMOD_NODISCARD bool IsValid() const { return static_cast< bool >(mPtr); }
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
@ -264,7 +264,7 @@ struct DpPresence
|
|||||||
*/
|
*/
|
||||||
Ptr mPtr{nullptr};
|
Ptr mPtr{nullptr};
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
* Wether the referenced pointer is owned.
|
* Whether the referenced pointer is owned.
|
||||||
*/
|
*/
|
||||||
bool mOwned{false};
|
bool mOwned{false};
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
@ -334,7 +334,7 @@ struct DpPresence
|
|||||||
*/
|
*/
|
||||||
SQMOD_NODISCARD Ptr::element_type & Valid() const { Validate(); return *mPtr; }
|
SQMOD_NODISCARD Ptr::element_type & Valid() const { Validate(); return *mPtr; }
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
* Check wether a valid instance is managed.
|
* Check whether a valid instance is managed.
|
||||||
*/
|
*/
|
||||||
SQMOD_NODISCARD bool IsValid() const { return static_cast< bool >(mPtr); }
|
SQMOD_NODISCARD bool IsValid() const { return static_cast< bool >(mPtr); }
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
@ -453,7 +453,7 @@ struct DpVoiceState
|
|||||||
*/
|
*/
|
||||||
Ptr mPtr{nullptr};
|
Ptr mPtr{nullptr};
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
* Wether the referenced pointer is owned.
|
* Whether the referenced pointer is owned.
|
||||||
*/
|
*/
|
||||||
bool mOwned{false};
|
bool mOwned{false};
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
@ -521,7 +521,7 @@ struct DpVoiceState
|
|||||||
*/
|
*/
|
||||||
SQMOD_NODISCARD Ptr::element_type & Valid() const { Validate(); return *mPtr; }
|
SQMOD_NODISCARD Ptr::element_type & Valid() const { Validate(); return *mPtr; }
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
* Check wether a valid instance is managed.
|
* Check whether a valid instance is managed.
|
||||||
*/
|
*/
|
||||||
SQMOD_NODISCARD bool IsValid() const { return static_cast< bool >(mPtr); }
|
SQMOD_NODISCARD bool IsValid() const { return static_cast< bool >(mPtr); }
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user