C/C++ SDK / C++ layer · Basics / kroys::Entity
kroys::Entity
An entity of a world (0: none); converts to true when set.
Kindstruct
Headerkroys/plugin.hpp
Members4
DECLARATION
Declaration
Declared in kroys/plugin.hpp.
plugin.hpp
struct Entity
REFERENCE
Members
Fields
#KroysEntity id = 0u;The engine's generational entity id.
Operators
#[[nodiscard]] explicit operator bool() const;True when the object is valid (open, alive or non-null).
#friend bool operator==(Entity left, Entity right);Same entity.
#friend bool operator!=(Entity left, Entity right);Different entities.
Signatures
KroysEntity id = 0u; [[nodiscard]] explicit operator bool() const; friend bool operator==(Entity left, Entity right); friend bool operator!=(Entity left, Entity right);
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.