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>
36 lines
993 B
C++
36 lines
993 B
C++
// CommandProperty.h: interface for the CCommandProperty class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_COMMANDPROPERTY_H__6ADC7B7E_1AE5_4E63_8A97_715D12DA3D16__INCLUDED_)
|
|
#define AFX_COMMANDPROPERTY_H__6ADC7B7E_1AE5_4E63_8A97_715D12DA3D16__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
template <typename ExecuteData>
|
|
class CCommandProperty
|
|
{
|
|
protected:
|
|
unsigned long m_dwKind;
|
|
unsigned long m_dwCommand;
|
|
ExecuteData m_Data;
|
|
|
|
public:
|
|
CCommandProperty() { };
|
|
virtual ~CCommandProperty() { };
|
|
|
|
void SetCommand(unsigned long dwKind, unsigned long dwCommand, ExecuteData Data)
|
|
{
|
|
m_dwKind = dwKind;
|
|
m_dwCommand = dwCommand;
|
|
m_Data = Data;
|
|
}
|
|
unsigned long GetKind(void) { return m_dwKind; }
|
|
unsigned long GetCommand(void) { return m_dwCommand; }
|
|
ExecuteData GetData(void) { return m_Data; }
|
|
};
|
|
|
|
#endif // !defined(AFX_COMMANDPROPERTY_H__6ADC7B7E_1AE5_4E63_8A97_715D12DA3D16__INCLUDED_)
|