コード例 #1
0
        public DirtyObjectQueueSingleClient( DirtyObjectController parent, IPEndPoint connection)
        {
            this.parent = parent;
            this.connection = connection;

            MarkAllDirty();
        }
コード例 #2
0
        public DirtyObjectQueueSingleClient(DirtyObjectController parent, IPEndPoint connection)
        {
            this.parent     = parent;
            this.connection = connection;

            MarkAllDirty();
        }
コード例 #3
0
        //static NetReplicationController instance = new NetReplicationController();
        //public static NetReplicationController GetInstance(){ return instance; }

        public NetReplicationController(RpcController rpc)
        {
            this.rpc            = rpc;
            referencecontroller = new NetObjectReferenceController();
            if (rpc.isserver)
            {
                dirtyobjectcontroller = new DirtyObjectController(this, rpc.network, rpc);
            }
        }
コード例 #4
0
 //static NetReplicationController instance = new NetReplicationController();
 //public static NetReplicationController GetInstance(){ return instance; }
 public NetReplicationController( RpcController rpc )
 {
     this.rpc = rpc;
     referencecontroller = new NetObjectReferenceController();
     if (rpc.isserver)
     {
         dirtyobjectcontroller = new DirtyObjectController( this, rpc.network, rpc );
     }
 }