Beispiel #1
0
        public void SendLobbyServerReadyNotification()
        {
            LobbyServerReadyNotification notification = new LobbyServerReadyNotification()
            {
                AccountData              = AccountManager.GetPersistedAccountData(this.AccountId),
                AlertMissionData         = new LobbyAlertMissionDataNotification(),
                CharacterDataList        = CharacterManager.GetCharacterDataList(this.AccountId),
                CommerceURL              = "http://127.0.0.1/AtlasCommerce",
                EnvironmentType          = EnvironmentType.External,
                FactionCompetitionStatus = new FactionCompetitionNotification(),
                FriendStatus             = FriendManager.GetFriendStatusNotification(this.AccountId),
                GroupInfo                = GroupManager.GetGroupInfo(this.AccountId),
                SeasonChapterQuests      = QuestManager.GetSeasonQuestDataNotification(),
                ServerQueueConfiguration = GetServerQueueConfigurationUpdateNotification(),
                Status = GetLobbyStatusNotification()
            };

            Send(notification);
        }
 private async Task Send_LobbyServerReadyNotification(LobbyServerConnection connection)
 {
     LobbyServerReadyNotification lobbyServerReady = LobbyServerReady(connection);
     await connection.SendMessage(lobbyServerReady);
 }