Added TODO
This commit is contained in:
@@ -48,6 +48,8 @@ int unloadRoom(lua_State* L) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO: lua API RoomManager.GetRoom(uid)
|
||||||
|
|
||||||
static const luaL_Reg roomManagerLib[] = {
|
static const luaL_Reg roomManagerLib[] = {
|
||||||
{"CreateRoom", createRoom},
|
{"CreateRoom", createRoom},
|
||||||
{"UnloadRoom", unloadRoom},
|
{"UnloadRoom", unloadRoom},
|
||||||
@@ -57,4 +59,4 @@ static const luaL_Reg roomManagerLib[] = {
|
|||||||
LUAMOD_API int openRoomManagerAPI(lua_State* L) {
|
LUAMOD_API int openRoomManagerAPI(lua_State* L) {
|
||||||
luaL_newlib(L, roomManagerLib);
|
luaL_newlib(L, roomManagerLib);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user