ReadNameValue() public method

Read a Name reference from the BinaryReader, returning the Name's string value.
public ReadNameValue ( BinaryReader reader ) : string
reader System.IO.BinaryReader The to read from.
return string
Beispiel #1
0
 /// <summary></summary>
 public static InitialAllianceInfo Read(BinaryReader reader, Package package)
 {
     return(new InitialAllianceInfo()
     {
         AllianceName = package.ReadNameValue(reader), Level = reader.ReadSingle(), Permanent = reader.ReadByte() != 0
     });
 }
Beispiel #2
0
 internal void Load(BinaryReader reader)
 {
     ClassPackageName = Package.ReadNameValue(reader);
     ClassName        = Package.ReadNameValue(reader);
     PackageReference = Package.ResolveReference(reader.ReadInt32());
     Name             = Package.ReadNameValue(reader);
 }
Beispiel #3
0
 internal void Load(BinaryReader reader)
 {
     ObjectClassReference = Package.ReadReference(reader);
     SuperClassReference  = Package.ReadReference(reader);
     Group = reader.ReadInt32();
     Name  = Package.ReadNameValue(reader);
     Flags = (ExportFlag)reader.ReadUInt32();
     Size  = UIndex.Read(reader);
     if (Size != 0)
     {
         Offset = UIndex.Read(reader);
     }
 }
 public override object Read(object target, Package package, BinaryReader reader, long end)
 {
     return package.ReadNameValue(reader);
 }
 public override object Read(object target, Package package, BinaryReader reader, long end)
 {
     return reader.ReadIndexCountList(() => package.ReadNameValue(reader));
 }
Beispiel #6
0
 /// <summary></summary>
 public static InitialAllianceInfo Read(BinaryReader reader, Package package)
 {
     return new InitialAllianceInfo() { AllianceName = package.ReadNameValue(reader), Level = reader.ReadSingle(), Permanent = reader.ReadByte() != 0 };
 }
Beispiel #7
0
 public override object Read(object target, Package package, BinaryReader reader, long end)
 {
     return(reader.ReadIndexCountList(() => package.ReadNameValue(reader)));
 }
Beispiel #8
0
 public override object Read(object target, Package package, BinaryReader reader, long end)
 {
     return(package.ReadNameValue(reader));
 }