MCPcopy Create free account
hub / github.com/Norbyte/bg3se / OsiFunctionTypeToString

Function OsiFunctionTypeToString

BG3Extender/Osiris/Shared/CustomFunctions.cpp:82–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82char const* OsiFunctionTypeToString(EoCFunctionType type)
83{
84 switch (type) {
85 case EoCFunctionType::Call: return "call";
86 case EoCFunctionType::Query: return "query";
87 case EoCFunctionType::Event: return "event";
88 default: throw new std::runtime_error("EoC function type not supported");
89 }
90}
91
92void CustomFunction::GenerateHeader(std::stringstream & ss, std::unordered_map<ValueType, STDString>& typeMap) const
93{

Callers 1

GenerateHeaderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected