Files
Client/GameTools/CaldronBase/BaseCacheMgr.cpp
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

30 lines
622 B
C++

/* *********************************************************************
* CBaseCacheMgr , CCacheObj
* 파일 : BaseCacheMgr.cpp
* 기능 : Caldron엔진 내부에서 사용되는 모든 CacheMgr들의 어미 class
* history :
2004.01.16 wizardbug
********************************************************************** */
#include "BaseCacheMgr.h"
namespace Caldron {namespace Base {
unsigned long CBaseCacheMgr::GetHashID(const char *strFileName)
{
unsigned long ulHashId = 0;
int iLength = (int)strlen(strFileName);
for(int i=0;i < iLength; i++) {
ulHashId += (( i + 1) * strFileName[i]);
}
return ulHashId;
}
}}