internal Magic(ParameterTable table, int index, AssetLoader loader, int next)
: base(table, index, loader)
{
BinaryReader reader = loader.Reader;
YesNoDialogMessageId = reader.ReadInt32();
LimitCancelSpEffectId = reader.ReadInt32();
SortId = reader.ReadInt16();
RefId = reader.ReadInt16();
Mp = reader.ReadInt16();
Stamina = reader.ReadInt16();
IconId = reader.ReadInt16();
BehaviorId = reader.ReadInt16();
MtrlItemId = reader.ReadInt16();
ReplaceMagicId = reader.ReadInt16();
MaxQuantity = reader.ReadInt16();
Humanity = reader.ReadByte();
OverDexterity = reader.ReadByte();
SfxVariationId = reader.ReadSByte();
SlotLength = reader.ReadByte();
RequirementIntellect = reader.ReadByte();
RequirementFaith = reader.ReadByte();
AnalogDexiterityMin = reader.ReadByte();
AnalogDexiterityMax = reader.ReadByte();
EzStateBehaviorType = (MagicCategory)reader.ReadByte();
RefCategory = (BehaviorRefType)reader.ReadByte();
SpEffectCategory = (BehaviorCategory)reader.ReadByte();
RefType = (MagicMotion)reader.ReadByte();
OpmeMenuType = (ItemUseMenu)reader.ReadByte();
HasSpEffectType = (SpecialEffectType)reader.ReadByte();
ReplaceCategory = (ReplacementCategory)reader.ReadByte();
UseLimitCategory = (SpecialEffectUseLimitCategory)reader.ReadByte();
BitFields = reader.ReadBytes(4);
Pad = reader.ReadBytes(2);
}