h2-mod/src/client/component/scripting.hpp

11 lines
402 B
C++
Raw Normal View History

2021-04-22 21:46:11 -04:00
#pragma once
#include <utils/concurrency.hpp>
2021-04-22 21:46:11 -04:00
namespace scripting
{
using shared_table_t = std::unordered_map<std::string, std::string>;
2021-04-22 21:46:11 -04:00
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;
2021-04-22 21:46:11 -04:00
}