コード例 #1
0
 public AIData(string Tag = null)
     : base(Tag)
 {
     Aggression          = new AggressionType();
     Confidence          = new ConfidenceType();
     EnergyLevel         = new Byte();
     Responsibility      = new Byte();
     Mood                = new MoodType();
     Unused              = new byte[3];
     Services            = new ServicesFlag();
     Teaches             = new Skills();
     MaxTrainingLevel    = new Byte();
     Assistance          = new AssistanceType();
     AggroRadiusBehavior = new AggroRadiusBehaviorFlags();
     AggroRadius         = new Int32();
 }
コード例 #2
0
 public AIData(AggressionType Aggression, ConfidenceType Confidence, Byte EnergyLevel, Byte Responsibility, MoodType Mood, Byte[] Unused, ServicesFlag Services, Skills Teaches, Byte MaxTrainingLevel, AssistanceType Assistance, AggroRadiusBehaviorFlags AggroRadiusBehavior, Int32 AggroRadius)
 {
     this.Aggression          = Aggression;
     this.Confidence          = Confidence;
     this.EnergyLevel         = EnergyLevel;
     this.Responsibility      = Responsibility;
     this.Mood                = Mood;
     this.Unused              = Unused;
     this.Services            = Services;
     this.Teaches             = Teaches;
     this.MaxTrainingLevel    = MaxTrainingLevel;
     this.Assistance          = Assistance;
     this.AggroRadiusBehavior = AggroRadiusBehavior;
     this.AggroRadius         = AggroRadius;
 }