Restructure repository to include all source folders
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>
This commit is contained in:
18
Server/ManageTool/RylServerRunSetup/misc/GlobalFunc.cpp
Normal file
18
Server/ManageTool/RylServerRunSetup/misc/GlobalFunc.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "stdafx.h"
|
||||
#include "GlobalFunc.h"
|
||||
|
||||
|
||||
// 셋업 파일에서 Int형 value 얻어오기
|
||||
int GlobalFunc::GetSetupInt(const char* Filename, const CString& Section, const CString& key )
|
||||
{
|
||||
return GetPrivateProfileInt( Section, key, 0, Filename );
|
||||
}
|
||||
|
||||
// 셋업 파일에서 문자열 얻어오기
|
||||
CString GlobalFunc::GetSetupString(const char* Filename, const CString& Section, const CString& key)
|
||||
{
|
||||
char value[MAX_PATH];
|
||||
GetPrivateProfileString( Section, key, "default", value, MAX_PATH, Filename );
|
||||
|
||||
return value;
|
||||
}
|
||||
Reference in New Issue
Block a user