mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
34 lines
902 B
C#
34 lines
902 B
C#
using ACE.DatLoader.FileTypes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace ACE.DatLoader.Entity
|
|
{
|
|
public class StringInfo : IUnpackable
|
|
{
|
|
public byte m_strToken;
|
|
|
|
// This is the Hashed string value, the key in the TableId
|
|
public uint StringId;
|
|
// The StringTable (0x23) to lookup the StringId in.
|
|
public uint TableId;
|
|
public byte m_Override;
|
|
public byte unknown1;
|
|
public byte unknown2;
|
|
|
|
public List<string> Strings;
|
|
|
|
public void Unpack(BinaryReader reader)
|
|
{
|
|
m_strToken = reader.ReadByte();
|
|
StringId = reader.ReadUInt32();
|
|
TableId = reader.ReadUInt32();
|
|
m_Override = reader.ReadByte();
|
|
unknown1 = reader.ReadByte();
|
|
unknown2 = reader.ReadByte();
|
|
}
|
|
}
|
|
}
|