示例#1
0
        // 等10分钟再获取一次
        public static async ETTask WaitTenMinGetAllRouter(this RouterAddressComponent self)
        {
            await TimerComponent.Instance.WaitAsync(5 * 60 * 1000);

            if (self.IsDisposed)
            {
                return;
            }
            await self.GetAllRouter();
        }
示例#2
0
 public static async ETTask Init(this RouterAddressComponent self)
 {
     self.RouterManagerIPAddress = NetworkHelper.GetHostAddress(self.RouterManagerHost);
     await self.GetAllRouter();
 }