GameFramework.SkillStateInfo.RemoveSkill C# (CSharp) Method

RemoveSkill() public method

public RemoveSkill ( int skillId ) : void
skillId int
return void
        public void RemoveSkill(int skillId)
        {
            SkillInfo oriSkill = GetSkillInfoById(skillId);
            if (oriSkill != null) {
                m_SkillList.Remove(oriSkill);
            }
        }

Usage Example

 static public int RemoveSkill(IntPtr l)
 {
     try {
         GameFramework.SkillStateInfo self = (GameFramework.SkillStateInfo)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         self.RemoveSkill(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }