private void RequestGameListResponse(byte[] bytes, IPEndPoint refEp) { RequestGameListConv conv = ConversationFactory.Instance .CreateFromMessage <RequestGameListConv>(bytes, refEp, null, null, null); conv._LobbyGameList = GamesOnLobby.gameList; conv.Start(); }
private void RefreshButton_Click(object sender, EventArgs e) { RequestGameListConv conv = ConversationFactory .Instance.CreateFromConversationType <RequestGameListConv> (server, null, RefreshPostExecute, null); Thread convThread = new Thread(conv.Execute); convThread.Start(); }