static int GetComboBonus(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 3); GameModeConfig obj = (GameModeConfig)LuaScriptMgr.GetNetObjectSelf(L, 1, "GameModeConfig"); GameMatch.Type arg0 = (GameMatch.Type)LuaScriptMgr.GetNetObject(L, 2, typeof(GameMatch.Type)); uint arg1 = (uint)LuaScriptMgr.GetNumber(L, 3); float o = obj.GetComboBonus(arg0, arg1); LuaScriptMgr.Push(L, o); return(1); }