private void OnClientReceive(T message) { if (message.FromId == PlayerRegistry.LocalPlayerId || PlayerRegistry.IsBelongingToLocalPlayer(message.AboutId)) { OnReceiveLocal(message); return; } OnReceiveRemote(message); }