Class StringOffset
Encapsulates string reference fields to contain both its relative offset and actual string without needing to manage 2 objects inside a structure
Inheritance
System.Object
StringOffset
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lumina.Data.Parsing
Assembly: Lumina.dll
Syntax
public class StringOffset
Constructors
| Improve this Doc View SourceStringOffset()
Declaration
public StringOffset()
StringOffset(BinaryReader, Int64)
Declaration
public StringOffset(BinaryReader br, long start)
Parameters
Type | Name | Description |
---|---|---|
System.IO.BinaryReader | br | |
System.Int64 | start |
Properties
| Improve this Doc View SourceData
Declaration
public string Data { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Offset
Declaration
public uint Offset { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Methods
| Improve this Doc View SourceRead(BinaryReader, Int64, UInt32)
Declaration
public void Read(BinaryReader br, long start, uint offset)
Parameters
Type | Name | Description |
---|---|---|
System.IO.BinaryReader | br | |
System.Int64 | start | |
System.UInt32 | offset |
Operators
| Improve this Doc View SourceImplicit(StringOffset to String)
Declaration
public static implicit operator string (StringOffset obj)
Parameters
Type | Name | Description |
---|---|---|
StringOffset | obj |
Returns
Type | Description |
---|---|
System.String |