示例#1
0
文件: Quest.cs 项目: 0v3rfl0w/mooege
        private List<int> completedSteps = new List<int>();           // this list has to be saved if quest progress should be saved. It is required to keep track of questranges

        public Quest(Game game, int SNOQuest)
        {
            this.game = game;
            //SNOId = SNOQuest;
            SNOName = new SNOName() { SNOId = SNOQuest, Group = SNOGroup.Quest };
            asset = MPQStorage.Data.Assets[Common.Types.SNO.SNOGroup.Quest][SNOQuest].Data as Mooege.Common.MPQ.FileFormats.Quest;
            CurrentStep = new QuestStep(asset.QuestUnassignedStep, this);
        }
示例#2
0
文件: Quest.cs 项目: ncoop23/mooege
 public void Read(MpqFileStream stream)
 {
     ConditionType = (QuestStepFailureConditionType)stream.ReadValueS32();
     I2 = stream.ReadValueS32();
     I3 = stream.ReadValueS32();
     SNOName1 = new SNOName(stream);
     SNOName2 = new SNOName(stream);
     GBID1 = stream.ReadValueS32();
     GBID2 = stream.ReadValueS32();
     Unknown1 = stream.ReadString(256, true);
     Unknown2 = stream.ReadString(256, true);
 }
示例#3
0
文件: Common.cs 项目: ncoop23/mooege
        public int I15 { get; private set; } // DT_TIME

        public TriggerEvent(MpqFileStream stream)
        {
            I0 = stream.ReadValueS32();
            TriggerConditions = new TriggerConditions(stream);
            I1 = stream.ReadValueS32();
            SnoName = new SNOName(stream);
            I2 = stream.ReadValueS32();
            I3 = stream.ReadValueS32();
            RuneType = stream.ReadValueS32();
            UseRuneType = stream.ReadValueS32();
            HardPointLinks = new HardPointLink[2];
            HardPointLinks[0] = new HardPointLink(stream);
            HardPointLinks[1] = new HardPointLink(stream);
            this.LookLink = stream.ReadString(64, true);
            this.ConstraintLink = stream.ReadString(64, true);
            I4 = stream.ReadValueS32();
            F0 = stream.ReadValueF32();
            I5 = stream.ReadValueS32();
            I6 = stream.ReadValueS32();
            I7 = stream.ReadValueS32();
            I8 = stream.ReadValueS32();
            I9 = stream.ReadValueS32();
            F1 = stream.ReadValueF32();
            F2 = stream.ReadValueF32();
            I10 = stream.ReadValueS32();
            F3 = stream.ReadValueF32();
            I11 = stream.ReadValueS32();
            Velocity = stream.ReadValueF32();
            I12 = stream.ReadValueS32();
            Ticks1 = stream.ReadValueS32();
            Color1 = new RGBAColor(stream);
            I14 = stream.ReadValueS32();
            Color2 = new RGBAColor(stream);
            I15 = stream.ReadValueS32();
        }
示例#4
0
文件: Quest.cs 项目: ncoop23/mooege
 public void Read(MpqFileStream stream)
 {
     I0 = stream.ReadValueS32();
     ObjectiveType = (QuestStepObjectiveType)stream.ReadValueS32();
     I2 = stream.ReadValueS32();
     CounterTarget = stream.ReadValueS32();
     SNOName1 = new SNOName(stream);
     SNOName2 = new SNOName(stream);
     GBID1 = stream.ReadValueS32();
     GBID2 = stream.ReadValueS32();
     Unknown1 = stream.ReadString(256, true);
     Unknown2 = stream.ReadString(256, true);
     I4 = stream.ReadValueS32();
     I5 = stream.ReadValueS32();
     GBIDItemToShow = stream.ReadValueS32();
 }