Leviathan  0.8.0.0
Leviathan game engine
AccessMask.h File Reference
#include "Define.h"
#include <string_view>

Go to the source code of this file.

Namespaces

 Leviathan
 The access mask controls which registered functions and classes a script sees.
 

Typedefs

using Leviathan::AccessFlags = uint32_t
 

Enumerations

enum  Leviathan::ScriptAccess : uint32_t { Leviathan::ScriptAccess::Nothing = 0x0, Leviathan::ScriptAccess::Builtin = 0x1, Leviathan::ScriptAccess::DefaultEngine = 0x2, Leviathan::ScriptAccess::FullFileSystem = 0x4 }
 

Functions

bool Leviathan::operator== (const ScriptAccess &lhs, const AccessFlags &rhs)
 
bool Leviathan::operator== (const AccessFlags &lhs, const ScriptAccess &rhs)
 
DLLEXPORT AccessFlags Leviathan::ParseScriptAccess (std::string_view flagstring)
 Parses a string for access flags. More...
 
DLLEXPORT AccessFlags Leviathan::StringToScriptAccess (std::string_view str)
 Returns ScriptAccess matching string. More...
 

Variables

constexpr AccessFlags Leviathan::DefaultAccessFlags