yyl
3 天以前 5a4e34c8a85737c0fa5b5775122da31155cbaef3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
 
// 跨服公会
using System;
using System.Collections.Generic;
 
public partial class GuildManager : GameSystemManager<GuildManager>
{
    public int zoneID;
    public List<int> crossServerIDList = new List<int>();
    public event Action OnRefreshCrossServerInfoEvent;
 
    public void OnRefreshCrossServerInfo(HA505_tagSCFamilyCrossInfo vNetData)
    {
        zoneID = vNetData.ZoneID;
        crossServerIDList.Clear();
        for (int i = 0; i < vNetData.ServerCnt; i++)
        {
            crossServerIDList.Add((int)vNetData.ServerIDList[i]);
        }
        crossServerIDList.Sort();
        OnRefreshCrossServerInfoEvent?.Invoke();
    }
 
   
 
}