32 return info ? info->
enumName :
"None";
36 #ifdef __cpp_lib_format
37 template <
class CharT>
38 struct std::formatter<
RE::
ActorValue, CharT> : formatter<std::string_view, CharT>
40 template <
class FormatContext>
41 auto format(
RE::ActorValue a_actorValue, FormatContext& a_ctx)
const
44 return formatter<std::string_view, CharT>::format(info ? info->enumName :
"None", a_ctx);
53 template <
class ParseContext>
54 constexpr
auto parse(ParseContext& a_ctx)
59 template <
class FormatContext>
60 auto format(
const RE::ActorValue& a_actorValue, FormatContext& a_ctx)
63 return fmt::format_to(a_ctx.out(),
"{}", info ? info->enumName :
"None");
#define RELOCATION_ID(a_se, a_ae)
Definition: PCH.h:724
Definition: Relocation.h:204
Definition: ActorValueInfo.h:19
const char * enumName
Definition: ActorValueInfo.h:54
Definition: ActorValueList.h:9
ActorValue LookupActorValueByName(std::string_view a_enumName) const
std::uint32_t unk00
Definition: ActorValueList.h:21
ActorValueInfo * GetActorValue(ActorValue a_actorValue) const
static ActorValueList * GetSingleton()
Definition: ActorValueList.h:11
ActorValueInfo * actorValues[std::to_underlying(ActorValue::kTotal)]
Definition: ActorValueList.h:23
std::uint32_t pad04
Definition: ActorValueList.h:22
Definition: AbsorbEffect.h:6
ActorValue
Definition: ActorValues.h:6
string(const CharT(&)[N]) -> string< CharT, N - 1 >
Definition: ActorValueList.h:28
std::string to_string(RE::ActorValue a_actorValue)
Definition: ActorValueList.h:29