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:
@@ -0,0 +1,34 @@
|
||||
#include "stdafx.h"
|
||||
#include "DBItemSerialMgr.h"
|
||||
|
||||
#include <DB/DBComponent.h>
|
||||
#include <DB/GameDBComponent.h>
|
||||
#include <Network/Packet/PacketStruct/ServerInfo.h>
|
||||
|
||||
#include <Log/ServerLog.h>
|
||||
|
||||
namespace DBAgent
|
||||
{
|
||||
namespace DataStorage
|
||||
{
|
||||
|
||||
|
||||
CDBAgentItemSerialMgr& CDBAgentItemSerialMgr::GetInstance()
|
||||
{
|
||||
static CDBAgentItemSerialMgr dbAgentItemSerialMgr;
|
||||
return dbAgentItemSerialMgr;
|
||||
}
|
||||
|
||||
|
||||
void CDBAgentItemSerialMgr::SaveChangedSerial(CDBComponent& DBComponent)
|
||||
{
|
||||
if(m_dwLastChangedItemSerial != GetItemSerial())
|
||||
{
|
||||
SaveItemSerial(DBComponent, GetServerID());
|
||||
m_dwLastChangedItemSerial = GetItemSerial();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user