MCPcopy Create free account
hub / github.com/Rat431/ColdAPI_Steam / FormatTheString

Function FormatTheString

src/ColdAPI_Steam/ColdManager.cpp:2732–2741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2730 return true;
2731 }
2732 const char* FormatTheString(const char* Format, const char* ValueS, uint64_t ValueU)
2733 {
2734 char TheString[300] = { 0 };
2735 if (std::strcmp(ValueS, EMPTY) == 0) {
2736 std::sprintf(TheString, Format, ValueU);
2737 return TheString;
2738 }
2739 std::sprintf(TheString, Format, ValueS);
2740 return TheString;
2741 }
2742}
2743namespace ColdAPI_InitAndShutDown
2744{

Callers 4

GetStorageDirectoryFunction · 0.85
GetUGCDirectoryFunction · 0.85
ReadIniFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected