Leviathan  0.8.0.0
Leviathan game engine
Leviathan::ScriptSystemUses Struct Reference

Holds a single component type from c++ or from script, which a ScriptSystem uses. More...

#include <ScriptSystemWrapper.h>

Public Member Functions

 ScriptSystemUses (const std::string &name)
 
 ScriptSystemUses (uint16_t type)
 
 ScriptSystemUses ()
 
 ~ScriptSystemUses ()
 
ScriptSystemUsesoperator= (const ScriptSystemUses &other)
 

Public Attributes

uint16_t Type = -1
 
std::string Name
 
bool UsesName = false
 

Static Public Attributes

static constexpr auto ANGELSCRIPT_TYPE = "ScriptSystemUses"
 

Detailed Description

Holds a single component type from c++ or from script, which a ScriptSystem uses.

Definition at line 17 of file ScriptSystemWrapper.h.

Constructor & Destructor Documentation

◆ ScriptSystemUses() [1/3]

Leviathan::ScriptSystemUses::ScriptSystemUses ( const std::string &  name)
inline

Definition at line 19 of file ScriptSystemWrapper.h.

◆ ScriptSystemUses() [2/3]

Leviathan::ScriptSystemUses::ScriptSystemUses ( uint16_t  type)
inline

Definition at line 20 of file ScriptSystemWrapper.h.

◆ ScriptSystemUses() [3/3]

Leviathan::ScriptSystemUses::ScriptSystemUses ( )
inline

Definition at line 21 of file ScriptSystemWrapper.h.

◆ ~ScriptSystemUses()

Leviathan::ScriptSystemUses::~ScriptSystemUses ( )
inline

Definition at line 22 of file ScriptSystemWrapper.h.

22 {}

Member Function Documentation

◆ operator=()

ScriptSystemUses& Leviathan::ScriptSystemUses::operator= ( const ScriptSystemUses other)
inline

Definition at line 24 of file ScriptSystemWrapper.h.

25  {
26  Type = other.Type;
27  Name = other.Name;
28  UsesName = other.UsesName;
29  return *this;
30  }

Member Data Documentation

◆ ANGELSCRIPT_TYPE

constexpr auto Leviathan::ScriptSystemUses::ANGELSCRIPT_TYPE = "ScriptSystemUses"
static

Definition at line 32 of file ScriptSystemWrapper.h.

◆ Name

std::string Leviathan::ScriptSystemUses::Name

Definition at line 35 of file ScriptSystemWrapper.h.

◆ Type

uint16_t Leviathan::ScriptSystemUses::Type = -1

Definition at line 34 of file ScriptSystemWrapper.h.

◆ UsesName

bool Leviathan::ScriptSystemUses::UsesName = false

Definition at line 36 of file ScriptSystemWrapper.h.


The documentation for this struct was generated from the following file: