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