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>
161 lines
6.7 KiB
C++
161 lines
6.7 KiB
C++
#ifndef _PRINT_LOG_H_
|
|
#define _PRINT_LOG_H_
|
|
|
|
#include <RylGameLibrary/Utility/TypeArray.h>
|
|
#include <RylGameLibrary/Item/Item.h>
|
|
#include <RylGameLibrary/Item/ItemStructure.h>
|
|
|
|
|
|
namespace GAMELOG
|
|
{
|
|
// 전방 참조
|
|
struct sLogBase;
|
|
struct sMinItemInfo;
|
|
|
|
enum
|
|
{
|
|
MIN_BUFFER = 64,
|
|
MAX_BUFFER = 512
|
|
};
|
|
|
|
enum
|
|
{
|
|
TIME = 1 << 0,
|
|
UID = 1 << 1,
|
|
CID = 1 << 2,
|
|
POS = 1 << 3,
|
|
};
|
|
|
|
|
|
const char* GuildLogType(const char cType);
|
|
const char* GuildTitle(unsigned long dwTitle);
|
|
|
|
namespace SimpleInfo
|
|
{
|
|
bool InitPositionData();
|
|
int PositionToString(char* lpBuffer_Out, const int nBufferSize, const Item::ItemPos itemPos);
|
|
const char* GetPositionName(unsigned char cPos);
|
|
const char* GetExtraPosString(unsigned char cIndex);
|
|
|
|
|
|
void BaseLog(CString& Result, const sLogBase* lpLogBase, const DWORD dwLogType);
|
|
|
|
void CharLogin(CString& Result, const sLogBase* lpLogBase);
|
|
void CharLogout(CString& Result, const sLogBase* lpLogBase);
|
|
void CharCreate(CString& Result, const sLogBase* lpLogBase);
|
|
void CharDelete(CString& Result, const sLogBase* lpLogBase);
|
|
void CharDBUpdate(CString& Result, const sLogBase* lpLogBase);
|
|
|
|
void CharLevelUp(CString& Result, const sLogBase* lpLogBase);
|
|
void CharBindPos(CString& Result, const sLogBase* lpLogBase);
|
|
void CharDead(CString& Result, const sLogBase* lpLogBase);
|
|
void CharRespawn(CString& Result, const sLogBase* lpLogBase);
|
|
|
|
// 아이템 관련
|
|
void MoveItem(CString& Result, const sLogBase* lpLogBase);
|
|
void SwapItem(CString& Result, const sLogBase* lpLogBase);
|
|
void UseItem(CString& Result, const sLogBase* lpLogBase);
|
|
void SplitItem(CString& Result, const sLogBase* lpLogBase);
|
|
|
|
void UseLottery(CString& Result, const sLogBase* lpLogBase);
|
|
|
|
|
|
void PickupItem(CString& Result, const sLogBase* lpLogBase);
|
|
void DropItem(CString& Result, const sLogBase* lpLogBase);
|
|
void SellItem(CString& Result, const sLogBase* lpLogBase);
|
|
void BuyItem(CString& Result, const sLogBase* lpLogBase);
|
|
void BeforeExchange(CString& Result, const sLogBase* lpLogBase);
|
|
void AfterExchange(CString& Result, const sLogBase* lpLogBase);
|
|
|
|
void InstallSocketItem(CString& Result, const sLogBase* lpLogBase);
|
|
|
|
void RepairItem(CString& Result, const sLogBase* lpLogBase);
|
|
void ChangeWeapon(CString& Result, const sLogBase* lpLogBase);
|
|
void ChangeRide(CString& Result, const sLogBase* lpLogBase);
|
|
void IllegalItem(CString& Result, const sLogBase* lpLogBase);
|
|
void IllegalWarpPos(CString& Result, const sLogBase* lpLogBase);
|
|
void HackDoubt(CString& Result, const sLogBase* lpLogBase);
|
|
|
|
void TakeGold(CString& Result, const sLogBase* lpLogBase);
|
|
void TakeGoldV2(CString& Result, const sLogBase* lpLogBase);
|
|
void UpgradeItem(CString& Result, const sLogBase* lpLogBase);
|
|
|
|
// 노점상 관련
|
|
void StallOpenClose(CString& Result, const sLogBase* lpLogBase);
|
|
void StallEnterLeave(CString& Result, const sLogBase* lpLogBase);
|
|
void StallRegisterRemoveItem(CString& Result, const sLogBase* lpLogBase);
|
|
|
|
// 메달 상점 관련
|
|
void MedalItemBuy(CString& Result, const sLogBase* lpLogBase);
|
|
|
|
// 길드 관련 로그들.
|
|
void GuildCreate(CString& Result, const sLogBase* lpLogBase); // 길드 생성
|
|
void GuildJoin(CString& Result, const sLogBase* lpLogBase); // 길드 가입
|
|
void GuildLeave(CString& Result, const sLogBase* lpLogBase); // 길드 탈퇴
|
|
void GuildMemberLevelAdjust(CString& Result, const sLogBase* lpLogBase); // 길드원 등급 변경
|
|
void GuildRightsLevelChange(CString& Result, const sLogBase* lpLogBase); // 길드원 권한 설정
|
|
void GuildLevelChange(CString& Result, const sLogBase* lpLogBase); // 길드 레벨 변경
|
|
void GuildMarkChange(CString& Result, const sLogBase* lpLogBase); // 길드마크 등록/변경
|
|
void GuildStoreGoldChange(CString& Result, const sLogBase* lpLogBase); // 길드 금고 변경
|
|
void GuildDispose(CString& Result, const sLogBase* lpLogBase); // 길드 소멸됨
|
|
|
|
// 존 이동 로그.
|
|
void ZoneMoveLog(CString& Result, const sLogBase* lpLogBase); // 캐릭터 존 이동
|
|
|
|
void ItemAttachOption(CString& Result, const sLogBase* lpLogBase); // 아이템 옵션 이식
|
|
void ItemCompensation(CString& Result, const sLogBase* lpLogBase); // 아이템 보상
|
|
|
|
void TicketBuySkillBook(CString& Result, const sLogBase* lpLogBase); // 교환권으로 스킬북 사기
|
|
void UpgradeItemV2(CString& Result, const sLogBase* lpLogBase); // 아이템 업그레이드 로그
|
|
void MonsterDead(CString& Result, const sLogBase* lpLogBase); // 몬스터 사망 로그
|
|
|
|
void FameGetBattle(CString& Result, const sLogBase* lpLogBase); // 전투로 얻은 명성
|
|
void FameLoseBattle(CString& Result, const sLogBase* lpLogBase); // 전투로 잃은 명성
|
|
void FameGetCamp(CString& Result, const sLogBase* lpLogBase); // 요새로 얻은 명성
|
|
void FameLoseCamp(CString& Result, const sLogBase* lpLogBase); // 요새로 잃은 명성
|
|
|
|
void QuestGetReward(CString& Result, const sLogBase* lpLogBase); // 퀘스트 수행으로 얻은 보상
|
|
};
|
|
|
|
namespace DetailInfo
|
|
{
|
|
void ShowCharacterInfo(const sLogBase* lpLogBase);
|
|
void ShowItemInfo(CString& Title, const Item::CItem* lpItem);
|
|
void GetMinItemInfo(CString& Result, const GAMELOG::sMinItemInfo& minItemInfo);
|
|
CString GetDetailItemInfo(const Item::CItem* lpItem);
|
|
|
|
void CharCreate(const sLogBase* lpLogBase);
|
|
void CharDelete(const sLogBase* lpLogBase);
|
|
|
|
void CharLevelUp(const sLogBase* lpLogBase);
|
|
void CharBindPos(const sLogBase* lpLogBase);
|
|
void CharDead(const sLogBase* lpLogBase);
|
|
void CharRespawn(const sLogBase* lpLogBase);
|
|
|
|
void MoveItem(const sLogBase* lpLogBase);
|
|
void SwapItem(const sLogBase* lpLogBase);
|
|
void UseItem(const sLogBase* lpLogBase);
|
|
void SplitItem(const sLogBase* lpLogBase);
|
|
|
|
void UseLottery(const sLogBase* lpLogBase);
|
|
|
|
void PickupItem(CString& Title, const sLogBase* lpLogBase);
|
|
void DropItem(CString& Title, const sLogBase* lpLogBase);
|
|
void TradeItem(CString& Title, const sLogBase* lpLogBase);
|
|
void HackDoubtItem(CString& Title, const sLogBase* lpLogBase);
|
|
void ExchangeItem(const sLogBase* lpLogBase);
|
|
|
|
void InstallSocketItem(const sLogBase* lpLogBase);
|
|
void UpgradeItem(const sLogBase* lpLogBase);
|
|
|
|
void GuildRightsChange(const sLogBase* lpLogBase); // 길드원 권한 설정
|
|
|
|
void ItemAttachOption(const sLogBase* lpLogBase);
|
|
void ItemCompensation(const sLogBase* lpLogBase);
|
|
void UpgradeItemV2(const sLogBase* lpLogBase);
|
|
void MonsterDead(const sLogBase* lpLogBase); // 몬스터 사망 로그
|
|
};
|
|
|
|
};
|
|
|
|
#endif |