public void SendLogEntry(String logName, LogItem logData) { if (networkView != null && Network.peerType != NetworkPeerType.Disconnected) { networkView.RPC("ReceiveLog", RPCMode.Server, localPlayer.player, logName, logData.XMLString()); networkView.RPC("PutMessage", RPCMode.Server, localPlayer.player, logData.XMLString()); } }