Exemplo n.º 1
0
        public HlapiServer(HlapiCommsNetwork network)
        {
            _network = network;

            _sendWriter    = new NetworkWriter(new byte[1024]);
            _trackerPrefab = Resources.Load <GameObject>("HlapiPlayerTracker");
        }
Exemplo n.º 2
0
        public HlapiClient(HlapiCommsNetwork network)
            : base(network)
        {
            _network = network;

            _sendWriter = new NetworkWriter(new byte[1024]);
        }
Exemplo n.º 3
0
 public HlapiServer([NotNull] HlapiCommsNetwork network)
 {
     if (network == null)
     {
         throw new ArgumentNullException("network");
     }
     this._network = network;
 }
Exemplo n.º 4
0
 public HlapiClient([NotNull] HlapiCommsNetwork network) : base(network)
 {
     if (network == null)
     {
         throw new ArgumentNullException("network");
     }
     this._network    = network;
     this._sendWriter = new NetworkWriter(new byte[1024]);
 }