Files
LGram16 dd97ddec92 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>
2025-11-29 20:17:20 +09:00

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); // ij¸¯ÅÍ Á¸ À̵¿
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