Exemple #1
0
 public RoomReference(RoomCacheBase roomCache, Room room, PeerBase ownerPeer)
 {
     _roomCache = roomCache;
     Id         = Guid.NewGuid();
     Room       = room;
     OwnerPeer  = ownerPeer;
 }
Exemple #2
0
 public RoomInstance(RoomCacheBase roomFactory, Room room)
 {
     this._roomFactory = roomFactory;
     Room        = room;
     _references = new Dictionary <Guid, RoomReference>();
     _logQueue   = new LogQueue("RoomInstance " + room.Name, LogQueue.DefaultCapacity);
 }