public void KillPlayer(int sessionId) { PlayerPawn pawn = null; m_players.TryGetValue(sessionId, out pawn); if (pawn != null) { pawn.Die(); } }