public StringList(IPointerTable pointerTable, IStringConverter stringConverter, int maxSize, int capacity) : base(capacity) { _pointerTable = pointerTable; _maxSize = maxSize; _stringConverter = stringConverter; var stringTableStart = pointerTable.Min(p => p.Offset); _currentSize = _pointerTable.Max(p => _stringConverter.GetLength(p) + p.Offset - stringTableStart); }
/// <summary> /// Initialize a list of lists of columns. /// </summary> public UnderworldColumnLibraryList(IPointerTable pointerTable) { _pointerTable = pointerTable; }
public CharacterText(IPointerTable pointerTable, IStringFormatter stringFormatter, IStringConverter stringConverter, int maxLength, int count) : base(pointerTable, stringConverter, maxLength, count) { _stringFormatter = stringFormatter; }