Пример #1
0
        private void CbInitRoleEquipData(UnityGMClient.EGetEquipItemResult retCode, UnityGMClient.CEquipData equipData)
        {
            string lg = "[CbInitRoleEquipData][retCode=" + retCode.ToString() + "][EquipCount=" + equipData.EquipCount + "]\r\n";

            Log(lg);
            if (retCode != UnityGMClient.EGetEquipItemResult.EGETEQUIPITEM_RESUlT_SUCCESS)
            {
                lg = "[CbInitRoleEquipData][retCode=" + retCode.ToString() + "]\r\n";
                Log(lg);
                return;
            }
            setEquip(equipData);
        }
Пример #2
0
        private void CbGetEquipItem(UnityGMClient.EGetEquipItemResult retCode, UnityGMClient.CEquipItem equipItem)
        {
            string lg = "[CbGetEquipItem][retCode=" + retCode.ToString() + "]";

            Log(lg);
            if (retCode != UnityGMClient.EGetEquipItemResult.EGETEQUIPITEM_RESUlT_SUCCESS)
            {
                return;
            }

            string logs = equipItem.getLogString();

            Log(logs);
        }