Beispiel #1
0
 public virtual RPCNetworkSceneTemplate ToRPC()
 {
     return(new RPCNetworkSceneTemplate()
     {
         buildIndex = _buildIndex,
         sceneName = _sceneName,
         sceneOffset = _sceneOffset,
         settings = ((_settings != null) ? _settings.ToRPC() : new RPCNetworkSceneManagerSetting())
     });
 }
Beispiel #2
0
        public virtual RPCNode ToRPC()
        {
            RPCNode networkSceneNodeRPC = new RPCNode();

            networkSceneNodeRPC.nodeId                   = _nodeId;
            networkSceneNodeRPC.nodeName                 = _nodeName;
            networkSceneNodeRPC.isMasterNode             = _isMasterNode;
            networkSceneNodeRPC.portRangeMin             = _dynamicPortMin;
            networkSceneNodeRPC.portRangeMax             = _dynamicPortMax;
            networkSceneNodeRPC.masterNodeSettingRPC     = _masterNodeSetting.ToRPC();
            networkSceneNodeRPC.networkSceneTemplatesRPC = ToNetworkSceneTemplatesRPC();
            return(networkSceneNodeRPC);
        }