Cuberite
A lightweight, fast and extensible game server for Minecraft
LuaJson.h
Go to the documentation of this file.
1 
2 // LuaJson.h
3 
4 // Declares the Json exposure bindings to Lua
5 
6 
7 
8 
9 
10 #pragma once
11 
12 
13 
14 
15 
16 // fwd:
17 class cLuaState;
18 
19 
20 
21 
22 
23 class cLuaJson
24 {
25 public:
27  static void Bind(cLuaState & a_LuaState);
28 };
29 
30 
31 
32 
static void Bind(cLuaState &a_LuaState)
Registers the Json library in the specified Lua state.
Definition: LuaJson.cpp:390
Encapsulates a Lua state and provides some syntactic sugar for common operations.
Definition: LuaState.h:56