public MapInfo(ByteReader reader) { MapName = reader.String(12, '\0'); MapName = MapName.ToLowerInvariant(); Xs = reader.UInt16(); Ys = reader.UInt16(); int len = reader.Int32(); Data = reader.Bytes(len); }
public MapInfo(ByteReader reader) { MapName = reader.String(12, '\0'); MapName = MapName.ToLowerInvariant(); Xs = reader.UInt16(); Ys = reader.UInt16(); int len = reader.Int32(); Data = reader.Bytes(len); }