static public int BindLuaGameMode(IntPtr l)
 {
     try {
         GameModeBase  self = (GameModeBase)checkSelf(l);
         SLua.LuaTable a1;
         checkType(l, 2, out a1);
         System.String a2;
         checkType(l, 3, out a2);
         var ret = self.BindLuaGameMode(a1, a2);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }