Exemple #1
0
 internal StaticSpawnZoneDataStructBlockBase(BinaryReader binaryReader)
 {
     this.name          = binaryReader.ReadStringID();
     this.relevantTeam  = (RelevantTeam)binaryReader.ReadInt32();
     this.relevantGames = (RelevantGames)binaryReader.ReadInt32();
     this.flags         = (Flags)binaryReader.ReadInt32();
 }
 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.ReadStringID();
     this.StaticSpawnZoneDataStructRelevantTeam  = ((RelevantTeam)(binaryReader.ReadInt32()));
     this.StaticSpawnZoneDataStructRelevantGames = ((RelevantGames)(binaryReader.ReadInt32()));
     this.StaticSpawnZoneDataStructFlags         = ((Flags)(binaryReader.ReadInt32()));
     return(pointerQueue);
 }
 public StaticSpawnZoneDataStruct(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadStringID();
     this.relevantTeam = (RelevantTeam)binaryReader.ReadInt32();
     this.relevantGames = (RelevantGames)binaryReader.ReadInt32();
     this.flags = (Flags)binaryReader.ReadInt32();
 }