rodecomp/Source/Archive/PakName.h
ragnarok-clanker 77faf8d727 Confirm fn_18145 (myGPack::PakName::PakName)
Batch #11029 by kyoshi: 1 byte-identical, 0 confirmed by peer review.

- fn_18145 myGPack::PakName::PakName: byte-identical (already on main)

Peer-reviewed-by: Yommy, cremane, StrawberrysherbetIX
Merged automatically: every function is byte-identical to the original.
2026-11-04 23:16:54 +00:00

28 lines
655 B
C++

#ifndef RAGNAROK_SOURCE_ARCHIVE_PAKNAME_H
#define RAGNAROK_SOURCE_ARCHIVE_PAKNAME_H
#include <cstddef>
#include <cstdint>
namespace myGPack {
void AssignNameKey(std::uint32_t& hash, char* destination, const char* source);
class PakName {
public:
PakName();
__declspec(noinline) PakName& Assign(const char* name);
bool operator==(const PakName& other) const;
bool operator!=(const PakName& other) const;
bool operator<(const PakName& other) const;
/* 0000 */ std::uint32_t m_hash;
/* 0004 */ char m_name[256];
};
static_assert(sizeof(PakName) == 260);
static_assert(offsetof(PakName, m_name) == 4);
}
#endif