internal TextBase() : base() { BlendMode = BlendingMode.Alpha; TextType = TxtType.FMG; TextID = -1; Unknown = new UnknownA(); }
internal Dialog(BinaryReaderEx br, DRBVersion version) : base(br, version) { DlgIndex = br.ReadInt16(); Unk02 = br.ReadByte(); Unk03 = br.ReadByte(); PaletteColor = br.ReadInt32(); CustomColor = ReadColor(br); bool unk0C = br.ReadBoolean(); br.AssertByte(0); br.AssertByte(0); br.AssertByte(0); if (unk0C) { Unknown = new UnknownA(br); } }
internal TextBase(BinaryReaderEx br, DRBVersion version, Dictionary <int, string> strings) : base(br, version) { BlendMode = br.ReadEnum8 <BlendingMode>(); bool unk01 = br.ReadBoolean(); LineSpacing = br.ReadInt16(); PaletteColor = br.ReadInt32(); CustomColor = ReadColor(br); FontSize = br.ReadInt16(); Alignment = (AlignFlags)br.ReadByte(); TextType = br.ReadEnum8 <TxtType>(); br.AssertInt32(0x1C); // Local offset to variable data below if (TextType == TxtType.Literal) { int textOffset = br.ReadInt32(); TextLiteral = strings[textOffset]; CharLength = -1; TextID = -1; } else if (TextType == TxtType.FMG) { CharLength = br.ReadInt32(); TextID = br.ReadInt32(); TextLiteral = null; } else if (TextType == TxtType.Dynamic) { CharLength = br.ReadInt32(); TextLiteral = null; TextID = -1; } ReadSubtype(br); if (unk01) { Unknown = new UnknownA(br); } }
public MultipleConstructorExample(UnknownA a, UnknownB b) { CalledBy = CalledBy.TwoParametersTwoUnknown; }
public MultipleConstructorExample(UnknownA a, KnownC c) { CalledBy = CalledBy.TwoParametersOneUnknown; }
public MultipleConstructorExample(UnknownA a) { CalledBy = CalledBy.OneUnknown; }
public UserDefinedConstructorExample(UnknownA a, UnknownB b) { CalledBy = CalledBy.TwoParametersTwoUnknown; }
public ExplicitlySetConstructorExample(UnknownA a, KnownC c) { CalledBy = CalledBy.TwoParametersOneUnknown; }
public MultipleConstructorExample (UnknownA a, KnownC c) { CalledBy = CalledBy.TwoParametersOneUnknown; }
public ExplicitlySetConstructorExample (UnknownA a, UnknownB b) { CalledBy = CalledBy.TwoParametersTwoUnknown; }
public UserDefinedConstructorExample (UnknownA a, KnownC c) { CalledBy = CalledBy.TwoParametersOneUnknown; }
public UserDefinedConstructorExample (UnknownA a) { CalledBy = CalledBy.OneUnknown; }
public ExplicitlySetConstructorExample(UnknownA a, UnknownB b) { CalledBy = CalledBy.TwoParametersTwoUnknown; }
public ExplicitlySetConstructorExample (UnknownA a) { CalledBy = CalledBy.OneUnknown; }
public UserDefinedConstructorExample (UnknownA a, UnknownB b) { CalledBy = CalledBy.TwoParametersTwoUnknown; }
public ExplicitlySetConstructorExample (UnknownA a, KnownC c) { CalledBy = CalledBy.TwoParametersOneUnknown; }
public UserDefinedConstructorExample(UnknownA a) { CalledBy = CalledBy.OneUnknown; }
public MultipleConstructorExample (UnknownA a) { CalledBy = CalledBy.OneUnknown; }
public UserDefinedConstructorExample(UnknownA a, KnownC c) { CalledBy = CalledBy.TwoParametersOneUnknown; }
public MultipleConstructorExample (UnknownA a, UnknownB b) { CalledBy = CalledBy.TwoParametersTwoUnknown; }
public ExplicitlySetConstructorExample(UnknownA a) { CalledBy = CalledBy.OneUnknown; }