diff options
Diffstat (limited to 'NorthstarDLL/squirrel')
-rw-r--r-- | NorthstarDLL/squirrel/squirrel.h | 8 | ||||
-rw-r--r-- | NorthstarDLL/squirrel/squirrelautobind.h | 4 | ||||
-rw-r--r-- | NorthstarDLL/squirrel/squirrelclasstypes.h | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/NorthstarDLL/squirrel/squirrel.h b/NorthstarDLL/squirrel/squirrel.h index 50dd31d0..a4932044 100644 --- a/NorthstarDLL/squirrel/squirrel.h +++ b/NorthstarDLL/squirrel/squirrel.h @@ -64,10 +64,10 @@ namespace NS::log // Cuts down on compile time by ~5 seconds class SquirrelManagerBase { - protected: +protected: std::vector<SQFuncRegistration*> m_funcRegistrations; - public: +public: CSquirrelVM* m_pSQVM; std::map<std::string, SQFunction> m_funcOverrides = {}; std::map<std::string, SQFunction> m_funcOriginals = {}; @@ -319,7 +319,7 @@ class SquirrelManagerBase template <ScriptContext context> class SquirrelManager : public virtual SquirrelManagerBase { - public: +public: #pragma region MessageBuffer SquirrelMessageBuffer* messageBuffer; @@ -404,7 +404,7 @@ template <ScriptContext context> class SquirrelManager : public virtual Squirrel #pragma endregion - public: +public: SquirrelManager() { m_pSQVM = nullptr; diff --git a/NorthstarDLL/squirrel/squirrelautobind.h b/NorthstarDLL/squirrel/squirrelautobind.h index 19ecb808..0fc599f3 100644 --- a/NorthstarDLL/squirrel/squirrelautobind.h +++ b/NorthstarDLL/squirrel/squirrelautobind.h @@ -5,7 +5,7 @@ typedef void (*SqAutoBindFunc)(); class SquirrelAutoBindContainer { - public: +public: std::vector<std::function<void()>> clientSqAutoBindFuncs; std::vector<std::function<void()>> serverSqAutoBindFuncs; }; @@ -61,7 +61,7 @@ class __squirrelautobind; class __squirrelautobind { - public: +public: __squirrelautobind() = delete; __squirrelautobind(std::function<void()> clientAutoBindFunc, std::function<void()> serverAutoBindFunc) diff --git a/NorthstarDLL/squirrel/squirrelclasstypes.h b/NorthstarDLL/squirrel/squirrelclasstypes.h index c193f2fc..cd777551 100644 --- a/NorthstarDLL/squirrel/squirrelclasstypes.h +++ b/NorthstarDLL/squirrel/squirrelclasstypes.h @@ -122,7 +122,7 @@ typedef void (*sq_schedule_call_externalType)( class SquirrelMessage { - public: +public: std::string functionName; FunctionVector args; bool isExternal = false; @@ -133,10 +133,10 @@ class SquirrelMessage class SquirrelMessageBuffer { - private: +private: std::queue<SquirrelMessage> messages = {}; - public: +public: std::mutex mutex; std::optional<SquirrelMessage> pop() { @@ -179,7 +179,7 @@ class SquirrelMessageBuffer // Super simple wrapper class to allow pushing Assets via call class SquirrelAsset { - public: +public: std::string path; SquirrelAsset(std::string path) : path(path) {}; }; |