private void HandlePlayerPacket(ExtendedPlayerPacket packet, IConnectedPlayer player)
        {
            Plugin.Log?.Info($"Received 'ExtendedPlayerPacket' from '{player.userId}' with '{packet.platformID}'");
            var extendedPlayer = _players[player.userId];

            extendedPlayer.platformID = packet.platformID;
        }
 private void SendLocalPlayerPacket()
 {
     if (localPlatformID != null)
     {
         ExtendedPlayerPacket localPlayerPacket = new ExtendedPlayerPacket().Init(localPlatformID);
         Plugin.Log?.Info($"Sending 'ExtendedPlayerPacket' with {localPlatformID}");
         _sessionManager.Send(localPlayerPacket);
     }
 }
        private void OnPlayerConnected(IConnectedPlayer player)
        {
            Plugin.Log?.Info($"Player '{player.userId}' joined");
            var extendedPlayer = new ExtendedPlayer(player);

            _players[player.userId] = extendedPlayer;

            if (localPlatformID != null)
            {
                ExtendedPlayerPacket localPlayerPacket = new ExtendedPlayerPacket().Init(localPlatformID);
                _packetManager.Send(localPlayerPacket);
            }
        }