少年修仙传客户端代码仓库
client_linchunjie
2018-11-02 3ea77bcede501037ec86c8afd28268ee16a35437
System/Pet/PlayerPetDatas.cs
@@ -48,6 +48,7 @@
    public bool IsOk = false;
    private int PetDanExp = 0;//灵宠丹经验
    public int SigPetId = 0;//用来标记当前选中的坐骑ID
    public List<int> ListEffectSkill = new List<int>();
    PlayerPackModel _playerPack;
    PlayerPackModel playerPack
@@ -174,11 +175,12 @@
        }
    }
    public void SendPetTrainQuest(int petIndex, int number)
    public void SendPetTrainQuest(int petIndex, int number,int _IsAutoBuy)
    {
        CA704_tagCMPetClassUP _tagCA704 = new CA704_tagCMPetClassUP();
        _tagCA704.PetItemIndex = (byte)petIndex;
        _tagCA704.UseItemCnt = (ushort)number;
        _tagCA704.IsAutoBuy = (byte)_IsAutoBuy;
        GameNetSystem.Instance.SendInfo(_tagCA704);
    }
    #endregion