void HandleJoinGameServerRes(SFMessage message) { var result = message.GetValue <Result>("Result"); if (result.IsFailed) { //PrintStatus("CreateParty has failed {0}", result); return; } var gameConn = m_OnlineClient.GetConnection(OnlineClient.ConnectionType.Game); if (gameConn == null) { return; } UpdateButtonState(); // access playerid var playerId = m_OnlineClient.GetPlayerId(); var gamePolicy = new SF.Net.SendMessageGame(gameConn); gamePolicy.GetCharacterListCmd(0); }