示例#1
0
    public void CreateNewPet()
    {
        string sendStr = "";
        sendStr += GS.playerID.ToString() + '_';
        sendStr += curPetDetails[selectingPet].typeName + '_';
        sendStr += curPetDetails[selectingPet].id.ToString() + '_';
        sendStr += "1" + '_';
        sendStr += "1" + '_';
        sendStr += "200" + '_';
        sendStr += "200" + '_';
        sendStr += "400" + '_';
        sendStr += "400" + '_';
        sendStr += "10" + '_';
        sendStr += "0" + '_';

        Service1 ser = new Service1();
        ser.CreateNewPet(sendStr);

        GS.GetPetData();
    }