feat: implement 64-bit gold system across server, DB, exchange, safebox, and guild (Stage 7)

This commit is contained in:
shen
2026-10-20 05:57:25 -07:00
parent a7152750fb
commit c979b53762
25 changed files with 432 additions and 94 deletions
+8
View File
@@ -79,6 +79,14 @@ inline bool str_to_number (long long& out, const char *in)
return true;
}
inline bool str_to_number (unsigned long long& out, const char *in)
{
if (0==in || 0==in[0]) return false;
out = (unsigned long long) strtoull(in, NULL, 10);
return true;
}
inline bool str_to_number (float& out, const char *in)
{
if (0==in || 0==in[0]) return false;