Beispiel #1
0
            public StringBinding(BinaryReader br)
            {
                TowerID = (TowerProtocol)br.ReadUInt16();
                char   character;
                string networkAddress = "";

                while ((character = br.ReadChar()) != 0)
                {
                    networkAddress += character;
                }

                br.ReadChar();
                NetworkAddress = networkAddress;
            }
Beispiel #2
0
 public StringBinding(TowerProtocol towerID, string networkAddress)
 {
     TowerID        = towerID;
     NetworkAddress = networkAddress;
 }
Beispiel #3
0
 public StorageTrigger(IStorage storage, string binding, TowerProtocol towerProtocol)
 {
     this.storage       = storage;
     this.binding       = binding;
     this.towerProtocol = towerProtocol;
 }