public static void SendExitFit(long roleID, long petID, int modelID, IndexList <int, int> skill)
    {
        BattleAction_ExitFit battleAction_ExitFit = new BattleAction_ExitFit();

        battleAction_ExitFit.roleId      = roleID;
        battleAction_ExitFit.roleModelId = modelID;
        using (Dictionary <int, int> .Enumerator enumerator = skill.GetPairPart().GetEnumerator())
        {
            while (enumerator.MoveNext())
            {
                KeyValuePair <int, int> current = enumerator.get_Current();
                battleAction_ExitFit.roleSkills.Add(new BattleSkillInfo
                {
                    skillIdx = current.get_Key(),
                    skillId  = current.get_Value()
                });
            }
        }
        using (List <int> .Enumerator enumerator2 = skill.GetSinglePart().GetEnumerator())
        {
            while (enumerator2.MoveNext())
            {
                int current2 = enumerator2.get_Current();
                battleAction_ExitFit.roleSkills.Add(new BattleSkillInfo
                {
                    skillId = current2
                });
            }
        }
        battleAction_ExitFit.petId = petID;
        EventDispatcher.Broadcast <BattleAction_ExitFit, bool>(BattleActionEvent.ExitFit, battleAction_ExitFit, false);
    }