#include "stdAfx.h" #include ".\gmcmdstring.h" #include GMCmdString::GMCmdString(void) { ZeroMemory( m_szWorldNotice, MAX_GMCMD_STRING ); ZeroMemory( m_szChannelNotice, MAX_GMCMD_STRING ); ZeroMemory( m_szZoneNotice, MAX_GMCMD_STRING ); } GMCmdString::~GMCmdString(void) { } bool GMCmdString::Init() { if( _access(GMSTRING_FILE, 0) != -1 ) //ÆÄÀÏÀÌ Á¸ÀçÇϸé.. { //ÁÖ¸í·É¾î GetPrivateProfileString( "WORLD", "WORLD_NOTICE", "¿ùµå_°øÁö", m_szWorldNotice, MAX_GMCMD_STRING, GMSTRING_FILE ); GetPrivateProfileString( "WORLD", "CHANNEL_NOTICE", "ä³Î_°øÁö", m_szChannelNotice, MAX_GMCMD_STRING, GMSTRING_FILE ); GetPrivateProfileString( "WORLD", "ZONE_NOTICE", "Áö¿ª_°øÁö", m_szZoneNotice, MAX_GMCMD_STRING, GMSTRING_FILE ); } else return false; return true; }