Beispiel #1
0
        /// <summary>
        /// Cập nhật danh sách tổ đội.
        /// </summary>
        private async Task RefreshTeamsAsync()
        {
            if (isRefreshing)
            {
                return;
            }
            isRefreshing = true;

            try {
                var packet = await packetWriter.RefreshWeaveAsync();

                if (packet == null)
                {
                    return;
                }

                Parse45200(packet);
                await TryAutoCreateAsync();
            } finally {
                isRefreshing = false;
            }
        }