Show / Hide Table of Contents

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 Source

StringOffset()

Declaration
public StringOffset()
| Improve this Doc View Source

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 Source

Data

Declaration
public string Data { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Offset

Declaration
public uint Offset { get; set; }
Property Value
Type Description
System.UInt32

Methods

| Improve this Doc View Source

Read(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 Source

Implicit(StringOffset to String)

Declaration
public static implicit operator string (StringOffset obj)
Parameters
Type Name Description
StringOffset obj
Returns
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Generated by DocFX