static public int PreloadSkillInstance(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (matchType(l, argc, 2, typeof(TableConfig.Skill)))
         {
             GameFramework.Skill.GfxSkillSystem self = (GameFramework.Skill.GfxSkillSystem)checkSelf(l);
             TableConfig.Skill a1;
             checkType(l, 2, out a1);
             self.PreloadSkillInstance(a1);
             pushValue(l, true);
             return(1);
         }
         else if (matchType(l, argc, 2, typeof(int)))
         {
             GameFramework.Skill.GfxSkillSystem self = (GameFramework.Skill.GfxSkillSystem)checkSelf(l);
             System.Int32 a1;
             checkType(l, 2, out a1);
             self.PreloadSkillInstance(a1);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int FindSkillInstanceForSkillViewer(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (argc == 2)
         {
             GameFramework.Skill.GfxSkillSystem self = (GameFramework.Skill.GfxSkillSystem)checkSelf(l);
             System.Int32 a1;
             checkType(l, 2, out a1);
             var ret = self.FindSkillInstanceForSkillViewer(a1);
             pushValue(l, true);
             pushValue(l, ret);
             return(2);
         }
         else if (argc == 3)
         {
             GameFramework.Skill.GfxSkillSystem self = (GameFramework.Skill.GfxSkillSystem)checkSelf(l);
             System.Int32 a1;
             checkType(l, 2, out a1);
             GameFramework.Skill.GfxSkillSenderInfo a2;
             var ret = self.FindSkillInstanceForSkillViewer(a1, out a2);
             pushValue(l, true);
             pushValue(l, ret);
             pushValue(l, a2);
             return(3);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int ClearSkillInstancePool(IntPtr l)
 {
     try {
         GameFramework.Skill.GfxSkillSystem self = (GameFramework.Skill.GfxSkillSystem)checkSelf(l);
         self.ClearSkillInstancePool();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int constructor(IntPtr l)
 {
     try {
         GameFramework.Skill.GfxSkillSystem o;
         o = new GameFramework.Skill.GfxSkillSystem();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int GetActiveSkillCount(IntPtr l)
 {
     try {
         GameFramework.Skill.GfxSkillSystem self = (GameFramework.Skill.GfxSkillSystem)checkSelf(l);
         var ret = self.GetActiveSkillCount();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int PauseAllSkill(IntPtr l)
 {
     try {
         GameFramework.Skill.GfxSkillSystem self = (GameFramework.Skill.GfxSkillSystem)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         System.Boolean a2;
         checkType(l, 3, out a2);
         self.PauseAllSkill(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int StartSkill(IntPtr l)
 {
     try {
         GameFramework.Skill.GfxSkillSystem self = (GameFramework.Skill.GfxSkillSystem)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         TableConfig.Skill a2;
         checkType(l, 3, out a2);
         System.Int32 a3;
         checkType(l, 4, out a3);
         System.Collections.Generic.Dictionary <System.String, System.Object>[] a4;
         checkParams(l, 5, out a4);
         var ret = self.StartSkill(a1, a2, a3, a4);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int SendMessage(IntPtr l)
 {
     try {
         GameFramework.Skill.GfxSkillSystem self = (GameFramework.Skill.GfxSkillSystem)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         System.Int32 a2;
         checkType(l, 3, out a2);
         System.Int32 a3;
         checkType(l, 4, out a3);
         System.String a4;
         checkType(l, 5, out a4);
         System.Collections.Generic.Dictionary <System.String, System.Object> a5;
         checkType(l, 6, out a5);
         self.SendMessage(a1, a2, a3, a4, a5);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int StopAllSkill(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (argc == 3)
         {
             GameFramework.Skill.GfxSkillSystem self = (GameFramework.Skill.GfxSkillSystem)checkSelf(l);
             System.Int32 a1;
             checkType(l, 2, out a1);
             System.Boolean a2;
             checkType(l, 3, out a2);
             self.StopAllSkill(a1, a2);
             pushValue(l, true);
             return(1);
         }
         else if (argc == 5)
         {
             GameFramework.Skill.GfxSkillSystem self = (GameFramework.Skill.GfxSkillSystem)checkSelf(l);
             System.Int32 a1;
             checkType(l, 2, out a1);
             System.Boolean a2;
             checkType(l, 3, out a2);
             System.Boolean a3;
             checkType(l, 4, out a3);
             System.Boolean a4;
             checkType(l, 5, out a4);
             self.StopAllSkill(a1, a2, a3, a4);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }