47942bab95
NOTE: THIS IS NOT WORKING IN ITS CURRENT STATE, i just need somewhere to put this for now
13 lines
461 B
C++
13 lines
461 B
C++
#pragma once
|
|
#include <utils/concurrency.hpp>
|
|
|
|
namespace scripting
|
|
{
|
|
using shared_table_t = std::unordered_map<std::string, std::string>;
|
|
|
|
extern std::unordered_map<int, std::unordered_map<std::string, int>> fields_table;
|
|
extern std::unordered_map<std::string, std::unordered_map<std::string, const char*>> script_function_table;
|
|
extern utils::concurrency::container<shared_table_t> shared_table;
|
|
|
|
void on_shutdown(const std::function<void()>& callback);
|
|
} |