rodecomp/Source/Utility/Async/AsyncDiagnostic.h
ragnarok-clanker 74a57afe2f Decompile 3 functions in Source/Contents/Party/LoadPartyListAsyncWork.cpp, Source/Contents/Party/RegisterPartyAsyncWork.cpp, ...
Batch #13655 by eAthena: 3 byte-identical, 0 confirmed by peer review.

- fn_10244 CreateSignBoardMgr: byte-identical
- fn_10245 DestroySignBoardMgr: byte-identical (already on main)
- fn_10276 C3DCooRendering::SetBoard: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-11-06 21:08:20 +00:00

30 lines
980 B
C++

#ifndef RAGNAROK_SOURCE_UTILITY_ASYNC_ASYNCDIAGNOSTIC_H
#define RAGNAROK_SOURCE_UTILITY_ASYNC_ASYNCDIAGNOSTIC_H
#include <cstddef>
#include <cstdint>
#include <string>
struct AsyncDiagnostic {
AsyncDiagnostic(const bool* success, std::string* message, const char* file, const std::uint32_t* line);
// INLINED
__forceinline AsyncDiagnostic(const bool& success, std::string&& message, const char* file, const std::uint32_t& line)
: AsyncDiagnostic(&success, &message, file, &line) {
}
~AsyncDiagnostic();
AsyncDiagnostic& MoveFrom(AsyncDiagnostic& other);
/* 0000 */ std::uint32_t line;
/* 0004 */ std::string file;
/* 001C */ std::string message;
/* 0034 */ bool success;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(AsyncDiagnostic) == 56);
static_assert(offsetof(AsyncDiagnostic, file) == 4);
static_assert(offsetof(AsyncDiagnostic, message) == 0x001C);
static_assert(offsetof(AsyncDiagnostic, success) == 0x0034);
#endif
#endif