Example #1
0
        public void WriteEntry(CsvWriter writer)
        {
            writer.String(Comment);
            writer.Int32(Id);

            writer.ByteOrMinusOne(PhisicalDefence);
            writer.ByteOrMinusOne(PhisicalEvade);
            writer.ByteOrMinusOne(MagicalDefence);
            writer.ByteOrMinusOne(MagicalEvade);
        }
Example #2
0
        public void WriteEntry(CsvWriter writer)
        {
            writer.String(Comment);
            writer.Int32(Id);

            writer.ByteOrMinusOne(Weapon);
            writer.ByteOrMinusOne(Head);
            writer.ByteOrMinusOne(Wrist);
            writer.ByteOrMinusOne(Armor);
            writer.ByteOrMinusOne(Accessory);
        }
Example #3
0
        public void WriteEntry(CsvWriter sw)
        {
            sw.String(Comment);
            sw.Int32(Id);

            foreach (Byte itemId in ItemIds)
            {
                sw.ByteOrMinusOne(itemId);
            }

            sw.ByteOrMinusOne(Byte.MaxValue);
        }
Example #4
0
        public void WriteEntry(CsvWriter sw)
        {
            sw.String(Comment);
            sw.Int32(Id);

            BattleCommandInfo cmdInfo = ActionData.Info;
            BTL_REF           btlRef  = ActionData.Ref;

            sw.EnumValue(cmdInfo.DisplayStats);
            sw.EnumValue(cmdInfo.Target); // target
            sw.Boolean(cmdInfo.DefaultAlly);
            sw.Boolean(cmdInfo.ForDead);
            sw.Boolean(cmdInfo.DefaultOnDead);
            sw.Boolean(cmdInfo.DefaultCamera);
            sw.Int16(cmdInfo.VfxIndex);
            sw.UInt16(ActionData.Vfx2);
            sw.Byte(btlRef.ScriptId); // scriptId
            sw.Byte(btlRef.Power);
            sw.Byte(btlRef.Elements);
            sw.ByteOrMinusOne(btlRef.Rate);
            sw.Byte(ActionData.Category);
            sw.Byte(ActionData.AddNo);
            sw.Byte(ActionData.MP);
            sw.Byte(ActionData.Type);
        }