private void HandleServerEventRemovePeerComponent(RemovePeerComponent message) { NetworkCommunicator peer = message.Peer; peer.RemoveComponent(peer.GetComponent(message.ComponentId)); }
protected override void HandlePlayerDisconnect(NetworkCommunicator networkPeer) => networkPeer.RemoveComponent <MissionPeer>();