public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader)
 {
     System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader));
     this.DialogueType              = ((DialogueTypeEnum)(binaryReader.ReadInt16()));
     this.VocalizationIndex         = binaryReader.ReadInt16();
     this.VocalizationName          = binaryReader.ReadStringID();
     this.SpeakerType               = ((SpeakerTypeEnum)(binaryReader.ReadInt16()));
     this.VocalizationPatternsFlags = ((Flags)(binaryReader.ReadInt16()));
     this.Listenertarget            = ((ListenertargetEnum)(binaryReader.ReadInt16()));
     this.fieldpad          = binaryReader.ReadBytes(2);
     this.fieldpad0         = binaryReader.ReadBytes(4);
     this.Hostility         = ((HostilityEnum)(binaryReader.ReadInt16()));
     this.DamageType        = ((DamageTypeEnum)(binaryReader.ReadInt16()));
     this.DangerLevel       = ((DangerLevelEnum)(binaryReader.ReadInt16()));
     this.Attitude          = ((AttitudeEnum)(binaryReader.ReadInt16()));
     this.fieldpad1         = binaryReader.ReadBytes(4);
     this.SubjectActorType  = ((SubjectActorTypeEnum)(binaryReader.ReadInt16()));
     this.CauseActorType    = ((CauseActorTypeEnum)(binaryReader.ReadInt16()));
     this.CauseType         = ((CauseTypeEnum)(binaryReader.ReadInt16()));
     this.SubjectType       = ((SubjectTypeEnum)(binaryReader.ReadInt16()));
     this.CauseAiTypeName   = binaryReader.ReadStringID();
     this.SpatialRelation   = ((SpatialRelationEnum)(binaryReader.ReadInt16()));
     this.fieldpad2         = binaryReader.ReadBytes(2);
     this.SubjectAiTypeName = binaryReader.ReadStringID();
     this.fieldpad3         = binaryReader.ReadBytes(8);
     this.VocalizationPatternsConditions = ((Conditions)(binaryReader.ReadInt32()));
     return(pointerQueue);
 }
Ejemplo n.º 2
0
 public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader)
 {
     System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader));
     this.Name = binaryReader.ReadString32();
     this.CombatStatusDecayOptions = ((CombatStatusDecayOptionsEnum)(binaryReader.ReadInt16()));
     this.fieldpad          = binaryReader.ReadBytes(2);
     this.Attitude          = ((AttitudeEnum)(binaryReader.ReadInt16()));
     this.fieldpad0         = binaryReader.ReadBytes(2);
     this.EngageAttitude    = ((EngageAttitudeEnum)(binaryReader.ReadByte()));
     this.EvasionAttitude   = ((EvasionAttitudeEnum)(binaryReader.ReadByte()));
     this.CoverAttitude     = ((CoverAttitudeEnum)(binaryReader.ReadByte()));
     this.SearchAttitude    = ((SearchAttitudeEnum)(binaryReader.ReadByte()));
     this.PresearchAttitude = ((PresearchAttitudeEnum)(binaryReader.ReadByte()));
     this.RetreatAttitude   = ((RetreatAttitudeEnum)(binaryReader.ReadByte()));
     this.ChargeAttitude    = ((ChargeAttitudeEnum)(binaryReader.ReadByte()));
     this.ReadyAttitude     = ((ReadyAttitudeEnum)(binaryReader.ReadByte()));
     this.IdleAttitude      = ((IdleAttitudeEnum)(binaryReader.ReadByte()));
     this.WeaponAttitude    = ((WeaponAttitudeEnum)(binaryReader.ReadByte()));
     this.SwarmAttitude     = ((SwarmAttitudeEnum)(binaryReader.ReadByte()));
     this.fieldpad1         = binaryReader.ReadBytes(1);
     this.StyleStyleControl = ((StyleControl)(binaryReader.ReadInt32()));
     this.StyleBehaviors1   = ((Behaviors1)(binaryReader.ReadInt32()));
     this.StyleBehaviors2   = ((Behaviors2)(binaryReader.ReadInt32()));
     this.StyleBehaviors3   = ((Behaviors3)(binaryReader.ReadInt32()));
     this.StyleBehaviors4   = ((Behaviors4)(binaryReader.ReadInt32()));
     this.StyleBehaviors5   = ((Behaviors5)(binaryReader.ReadInt32()));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(4));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(32));
     return(pointerQueue);
 }