top | up | prev | next

Alias Class

Definition at line 846 of Unicode.hpp

Constructors

Alias()
Alias(AliasTypeId typeId_, const std::string& name_)

Member Functions

const std::string& Name() const
void Read(BinaryReader& reader)
AliasTypeId TypeId() const
void Write(BinaryWriter& writer)

Member Variables

std::string name
AliasTypeId typeId

Constructor Details

Alias Constructor

soulng::unicode::Alias::Alias()

Definition at line 1790 of Unicode.cpp :
1790 : typeId(AliasTypeId::none)name()
1791 {
1792 }


Declaration at line 849 of Unicode.hpp


Alias Constructor

soulng::unicode::Alias::Alias(AliasTypeId typeId_, const std::string& name_)

Definition at line 1794 of Unicode.cpp :
1794 : typeId(typeId_)name(name_)
1795 {
1796 }


Declaration at line 850 of Unicode.hpp


Member Function Details

Name Member Function

const std::string& soulng::unicode::Alias::Name() const

Definition at line 852 of Unicode.hpp :
 852 { return name; }


Read Member Function

void soulng::unicode::Alias::Read(BinaryReader& reader)

Definition at line 1804 of Unicode.cpp :
1805 {
1806     typeId = static_cast<AliasTypeId>(reader.ReadByte());
1807     name = reader.ReadUtf8String();
1808 }


Called by: soulng::unicode::ExtendedCharacterInfo::Read


TypeId Member Function

AliasTypeId soulng::unicode::Alias::TypeId() const

Definition at line 851 of Unicode.hpp :
 851 { return typeId; }


Write Member Function

void soulng::unicode::Alias::Write(BinaryWriter& writer)

Definition at line 1798 of Unicode.cpp :
1799 {
1800     writer.Write(static_cast<uint8_t>(typeId));
1801     writer.Write(name);
1802 }


Calls: soulng::unicode::Alias::Write

Called by: soulng::unicode::Alias::Write


top | up | prev | next