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);
 }
 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.CombinationRule = ((CombinationRuleEnum)(binaryReader.ReadInt16()));
     this.DialogueType    = ((DialogueTypeEnum)(binaryReader.ReadInt16()));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8));
     return(pointerQueue);
 }
Ejemplo n.º 3
0
 public Dialogue(string Text, DialogueTypeEnum Type, string TriggerText, LanguageEnum Language, List <Dialogue> Dialogues, bool AlreadySpoken = false)
 {
     this.Text          = Text;
     this.Type          = Type;
     this.TriggerText   = TriggerText;
     this.Language      = Language;
     this.Dialogues     = Dialogues ?? new List <Dialogue>();
     this.AlreadySpoken = AlreadySpoken;
 }
 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.NextOrder       = binaryReader.ReadShortBlockIndex1();
     this.CombinationRule = ((CombinationRuleEnum)(binaryReader.ReadInt16()));
     this.DelayTime       = binaryReader.ReadSingle();
     this.DialogueType    = ((DialogueTypeEnum)(binaryReader.ReadInt16()));
     this.fieldpad        = binaryReader.ReadBytes(2);
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8));
     return(pointerQueue);
 }