public void WriteEntry(CsvWriter writer) { writer.String(Comment); writer.Int32(Id); writer.ByteOrMinusOne(PhisicalDefence); writer.ByteOrMinusOne(PhisicalEvade); writer.ByteOrMinusOne(MagicalDefence); writer.ByteOrMinusOne(MagicalEvade); }
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); }
public void WriteEntry(CsvWriter sw) { sw.String(Comment); sw.Int32(Id); foreach (Byte itemId in ItemIds) { sw.ByteOrMinusOne(itemId); } sw.ByteOrMinusOne(Byte.MaxValue); }
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); }