aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/squirrel/squirrelclasstypes.h
diff options
context:
space:
mode:
authorNorthstar <northstar@northstar.tf>2023-12-20 15:20:02 +0100
committerNorthstar <northstar@northstar.tf>2023-12-20 15:20:02 +0100
commit1e5c4a7f6a734352f802c82b293fe3b215e3a5b2 (patch)
treeb1a5484f3839e1b0c2a9169856a51c16cf255180 /NorthstarDLL/squirrel/squirrelclasstypes.h
parent714282b52039b12225c8348ef7346d092676ffb1 (diff)
downloadNorthstarLauncher-1e5c4a7f6a734352f802c82b293fe3b215e3a5b2.tar.gz
NorthstarLauncher-1e5c4a7f6a734352f802c82b293fe3b215e3a5b2.zip
Format project
Diffstat (limited to 'NorthstarDLL/squirrel/squirrelclasstypes.h')
-rw-r--r--NorthstarDLL/squirrel/squirrelclasstypes.h8
1 files changed, 4 insertions, 4 deletions
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) {};
};