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>
80 lines
1.2 KiB
C++
80 lines
1.2 KiB
C++
// UserInfoDoc.cpp : 구현 파일입니다.
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "AdminToolClient.h"
|
|
#include "UserInfoDoc.h"
|
|
#include "UserCharTreeView.h"
|
|
|
|
|
|
// CUserInfoDoc
|
|
|
|
IMPLEMENT_DYNCREATE(CUserInfoDoc, CDocument)
|
|
|
|
CUserInfoDoc::CUserInfoDoc() : m_lpUserInfo( NULL )
|
|
{
|
|
}
|
|
|
|
BOOL CUserInfoDoc::OnNewDocument()
|
|
{
|
|
if (!CDocument::OnNewDocument())
|
|
return FALSE;
|
|
return TRUE;
|
|
}
|
|
|
|
CUserInfoDoc::~CUserInfoDoc()
|
|
{
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CUserInfoDoc, CDocument)
|
|
END_MESSAGE_MAP()
|
|
|
|
|
|
// CUserInfoDoc 진단입니다.
|
|
|
|
#ifdef _DEBUG
|
|
void CUserInfoDoc::AssertValid() const
|
|
{
|
|
CDocument::AssertValid();
|
|
}
|
|
|
|
void CUserInfoDoc::Dump(CDumpContext& dc) const
|
|
{
|
|
CDocument::Dump(dc);
|
|
}
|
|
#endif //_DEBUG
|
|
|
|
|
|
// CUserInfoDoc serialization입니다.
|
|
|
|
void CUserInfoDoc::Serialize(CArchive& ar)
|
|
{
|
|
if (ar.IsStoring())
|
|
{
|
|
// TODO: 여기에 저장 코드를 추가합니다.
|
|
}
|
|
else
|
|
{
|
|
// TODO: 여기에 로딩 코드를 추가합니다.
|
|
}
|
|
}
|
|
|
|
|
|
// CUserInfoDoc 명령입니다.
|
|
|
|
void CUserInfoDoc::SetUserInfo(CCharacterDoc::CharDocInfo* Doc)
|
|
{
|
|
m_lpUserInfo = Doc;
|
|
m_lpUserInfo->m_ModifyDocument = this;
|
|
|
|
CUserCharTreeView *pView;
|
|
POSITION pos;
|
|
|
|
pos = GetFirstViewPosition();
|
|
pView = static_cast<CUserCharTreeView*>(GetNextView(pos));
|
|
|
|
pView->UserCharTreeSet(); // 트리 아이템 셋팅
|
|
|
|
pView->Invalidate(FALSE);
|
|
} |