static int _Createfogs_proto_msg_SignInfo(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 0) { fogs.proto.msg.SignInfo obj = new fogs.proto.msg.SignInfo(); LuaScriptMgr.PushObject(L, obj); return(1); } else { LuaDLL.luaL_error(L, "invalid arguments to method: fogs.proto.msg.SignInfo.New"); } return(0); }
static int get_append_sign_times(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); fogs.proto.msg.SignInfo obj = (fogs.proto.msg.SignInfo)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name append_sign_times"); } else { LuaDLL.luaL_error(L, "attempt to index append_sign_times on a nil value"); } } LuaScriptMgr.Push(L, obj.append_sign_times); return(1); }
static int set_signed_times(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); fogs.proto.msg.SignInfo obj = (fogs.proto.msg.SignInfo)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name signed_times"); } else { LuaDLL.luaL_error(L, "attempt to index signed_times on a nil value"); } } obj.signed_times = (uint)LuaScriptMgr.GetNumber(L, 3); return(0); }