public override string ToString() { string content = $"Flags: {Flags.ToString().Replace(", ", "|")}(0x{(uint)Flags:x8}), Texture: {TextureIndex}, AutomapType: {AutomapType}, Overlays: {(Overlays == null ? 0 : Overlays.Length)}, ColorIndex {ColorIndex}"; if (Overlays != null && Overlays.Length != 0) { for (int o = 0; o < Overlays.Length; ++o) { var overlay = Overlays[o]; content += $"\n\t\tOverlay{o + 1} -> Texture: {overlay.TextureIndex} ({overlay.TextureWidth}x{overlay.TextureHeight}), Position: {overlay.PositionX}:{overlay.PositionY}, Blend {overlay.Blend}"; } } return(content); }
public override string ToString() { return(Value.ToString()); }