public void Load_3_9_6(FileStream fs) { Money = false; min = QuestStreamReader.ReadInt(fs); max = QuestStreamReader.ReadInt(fs); value = QuestStreamReader.ReadInt(fs); ParType = QuestStreamReader.ReadInt(fs); Hidden = QuestStreamReader.ReadBool(fs); ShowIfZero = QuestStreamReader.ReadBool(fs); LoLimit = QuestStreamReader.ReadBool(fs); Enabled = QuestStreamReader.ReadBool(fs); ValueOfViewStrings = QuestStreamReader.ReadInt(fs); Money = QuestStreamReader.ReadBool(fs); Name = QuestStreamReader.ReadTextField(fs); ViewFormatStrings = new ParameterViewString[10]; for (var i = 0; i < ValueOfViewStrings; ++i) { ViewFormatStrings[i].Load(fs); } CriticalMessage = QuestStreamReader.ReadTextField(fs); AltStartValues.Load(fs); AltDiapStartValues.CopyDataFrom(AltStartValues); AltStartValues.Clear(); }
public void CopyDataFrom(QuestTCPVariant source) { vd.CopyDataFrom(source.vd); vf = source.vf; vtype = source.vtype; }