public StringBinding(BinaryReader br) { TowerID = (TowerProtocol)br.ReadUInt16(); char character; string networkAddress = ""; while ((character = br.ReadChar()) != 0) { networkAddress += character; } br.ReadChar(); NetworkAddress = networkAddress; }
public StringBinding(TowerProtocol towerID, string networkAddress) { TowerID = towerID; NetworkAddress = networkAddress; }
public StorageTrigger(IStorage storage, string binding, TowerProtocol towerProtocol) { this.storage = storage; this.binding = binding; this.towerProtocol = towerProtocol; }