public static Battle_Animation_Attack_Type Read(BinaryReader input) { Battle_Animation_Attack_Type result = new Battle_Animation_Attack_Type(); result.AttackType = (AnimTypeKeys)input.ReadByte(); result.MinDistance = input.ReadInt32(); result.MaxDistance = input.ReadInt32(); return(result); }
public static Battle_Animation_Attack_Set Read(BinaryReader input) { Battle_Animation_Attack_Set result = new Battle_Animation_Attack_Set(); result.Type = Battle_Animation_Attack_Type.Read(input); result.Attack.read(input); result.Hold.read(input); result.Return.read(input); return(result); }
public Battle_Animation_Attack_Set(Battle_Animation_Attack_Set other) { Type = new Battle_Animation_Attack_Type(other.Type); Attack = other.Attack .Select(x => new Battle_Animation_Variable_Set(x)) .ToList(); Hold = other.Hold .Select(x => new Battle_Animation_Variable_Set(x)) .ToList(); Return = other.Return .Select(x => new Battle_Animation_Variable_Set(x)) .ToList(); }
public Battle_Animation_Attack_Set() { Type = new Battle_Animation_Attack_Type(); Attack = new List <Battle_Animation_Variable_Set> { new Battle_Animation_Variable_Set() }; Hold = new List <Battle_Animation_Variable_Set> { new Battle_Animation_Variable_Set() }; Return = new List <Battle_Animation_Variable_Set> { new Battle_Animation_Variable_Set() }; }
public Battle_Animation_Attack_Type(Battle_Animation_Attack_Type other) { AttackType = other.AttackType; MinDistance = other.MinDistance; MaxDistance = other.MaxDistance; }