| | |
| | | bool isFriend = friendsModel.GetFirendInfo((uint)playerId,(byte)GroupType.Friend) != null;
|
| | | bool isAlly = fairyModel.InSameFairy(playerId);
|
| | |
|
| | | if (isFriend && isAlly) return RelatedToPlayer.FriendAndAlly;
|
| | | if (isFriend && isAlly) return RelatedToPlayer.Friend;
|
| | | if (isFriend) return RelatedToPlayer.Friend;
|
| | | if (isAlly) return RelatedToPlayer.Ally;
|
| | |
|
| | |
| | | assistResult.mapId = (int)msg.MapID;
|
| | | assistResult.funcLineId = msg.FuncLineID;
|
| | | assistResult.addXianyuanCoins = msg.XianyuanCoinAdd;
|
| | | assistResult.relatedToPlayer = (RelatedToPlayer)0;
|
| | | assistResult.vipLv = PlayerDatas.Instance.baseData.LV;
|
| | | assistResult.relatedToPlayer = GetRelatedToPlayer(assistResult.callPlayerId);
|
| | | assistResult.vipLv = PlayerDatas.Instance.baseData.VIPLv;
|
| | | assistResult.createTime = ToDisplay();
|
| | | assistResult.noGetReason = msg.Reason;
|
| | | assistResult.SetNotifyResult();
|