public void CancelGameObject(NetGameObject inGameObject)
        {
            int networkId = inGameObject.GetNetworkId();

            foreach (var pair in mAddressToClientMap)
            {
                if (pair.Value.IsStartedPlay && inGameObject.WorldId == pair.Value.GetWorldId())
                {
                    pair.Value.GetReplicationManagerServer().RemoveFromReplication(networkId);
                }
            }
        }
        public void UnregisterGameObject(NetGameObject inGameObject)
        {
            if (CheckWorldId(inGameObject.WorldId) == false)
            {
                Log.Error($"UnregisterGameObject error networID{inGameObject.GetNetworkId()}, worldId{inGameObject.WorldId}");
                return;
            }

            int networkId = inGameObject.GetNetworkId();

            mNetworkIdToGameObjectMap[inGameObject.WorldId].Remove(networkId);

            //Log.Information($"remove game object {networkId}");

            //tell all client proxies to STOP replicating!
            //tell all client proxies this is new...
            foreach (var pair in mAddressToClientMap)
            {
                if (pair.Value.IsStartedPlay && inGameObject.WorldId == pair.Value.GetWorldId())
                {
                    pair.Value.GetReplicationManagerServer().ReplicateDestroy(networkId);
                }
            }
        }
        public void UnregisterGameObject(NetGameObject inGameObject)
        {
            int networkId = inGameObject.GetNetworkId();

            mNetworkIdToGameObjectMap.Remove(networkId);

            Log.Information(string.Format("remove game object {0}", networkId));

            //tell all client proxies to STOP replicating!
            //tell all client proxies this is new...
            foreach (var pair in mAddressToClientMap)
            {
                if (inGameObject.WorldId == pair.Value.GetWorldId())
                {
                    pair.Value.GetReplicationManagerServer().ReplicateDestroy(networkId);
                }
            }
        }