DragonNest/Common/EternityEngine/EtCustomParam.h
Cussrro 47f7895977 Revert "修复编码问题"
This reverts commit 9e69c01767.
2024-12-21 10:04:04 +08:00

18 lines
518 B
C++

#pragma once
class CEtCustomParam
{
public:
CEtCustomParam(void);
virtual ~CEtCustomParam(void);
protected:
EtSkinHandle m_hSkin;
std::vector< std::vector< SCustomParam > > m_vecCustomParams;
public:
void Initialize( EtSkinHandle hSkin );
int AddCustomParam( const char *pParamName, EffectParamType Type );
void SetCustomParam( int nParamIndex, EffectParamType Type, void *pValue, int nSubMeshIndex );
std::vector< SCustomParam > &GetCustomParamList( int nIndex ) { return m_vecCustomParams[ nIndex ]; }
};