Ejemplo n.º 1
0
        public void Load_3_9_5(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);
            AltDiapStartValues.Clear();
            AltDiapStartValues.Add(value, value);
        }
Ejemplo n.º 2
0
 public void Clear()
 {
     vf = 0;
     vd.Clear();
     vtype = QuestTCPVType.vtExt;
 }