Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
564 B
C++
25 lines
564 B
C++
// stdafx.cpp : 표준 포함 파일을 포함하는 소스 파일입니다.
|
|
// GameLogAnalyzer.pch는 미리 컴파일된 헤더가 됩니다.
|
|
// stdafx.obj는 미리 컴파일된 형식 정보를 포함합니다.
|
|
|
|
#include "stdafx.h"
|
|
#include <BaseLibrary/Log/ServerLog.h>
|
|
|
|
std::string GetMoneyString(unsigned long dwMoney)
|
|
{
|
|
std::string strTemp;
|
|
char strBuff[128];
|
|
sprintf(strBuff, "%u", dwMoney);
|
|
strTemp = strBuff;
|
|
|
|
if( strTemp.length() > 3 )
|
|
{
|
|
for( int i = (int)strTemp.length() - 3 ; i > 0 ; i -= 3 )
|
|
{
|
|
strTemp.insert( i, "," );
|
|
}
|
|
}
|
|
|
|
return strTemp;
|
|
}
|