Files
BeneficialCode-WinArk/WinArk/ObjectType.cpp
T
2021-05-26 21:47:17 +08:00

16 lines
293 B
C++

#include "stdafx.h"
#include "ObjectType.h"
ObjectType::~ObjectType() = default;
int ObjectType::GetTypeIndex() const {
return _index;
}
const CString & ObjectType::GetName() const {
return _name;
}
ObjectType::ObjectType(int typeIndex, PCWSTR name) : _index(typeIndex), _name(name) {
}