Badminton-Scoreboard/Libraries/libil2cpp/include/os/Messages.h
2023-10-08 10:24:48 +08:00

33 lines
451 B
C++

#pragma once
#include "il2cpp-config.h"
#include <stdint.h>
#include <string>
#include "os/ErrorCodes.h"
namespace il2cpp
{
namespace os
{
struct ErrorDesc
{
ErrorCode code;
const char *message;
};
extern ErrorDesc common_messages[];
#ifndef IL2CPP_DISABLE_FULL_MESSAGES
extern ErrorDesc messages[];
#endif
class Messages
{
public:
static std::string FromCode(ErrorCode code);
};
}
}