| | |
| | |
|
| | | private void BuffUpdateEvent(int playerID)
|
| | | {
|
| | | |
| | | int opponentPlayerId = CrossServerLogin.Instance.oneVsOnePlayerData.opponentPlayerId;
|
| | | if (playerID == opponentPlayerId)
|
| | | {
|
| | |
| | |
|
| | | private void GetopponentBuff()//获取对手身上的Buff
|
| | | {
|
| | | List<int> buffIds = new List<int>();
|
| | | List<int> buffIds=new List<int>();
|
| | | _OpponentBuffSortList.Clear();
|
| | | StatusMgr.Instance.GetBuffIds((uint)CrossServerLogin.Instance.oneVsOnePlayerData.opponentPlayerId, ref buffIds);
|
| | | if (buffIds.Count > 0)
|
| | | {
|
| | | _OpponentBuffSortList.Clear();
|
| | | { |
| | | for (int i = 0; i < buffIds.Count; i++)
|
| | | {
|
| | | _OpponentBuffSortList.Add(buffIds[i]);
|