Merge branch 'Dirtybit' of github.com:teamfisk/TacticalZ into Dirtybit

This commit is contained in:
2016-03-08 15:46:21 +01:00
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -107,6 +107,8 @@ struct ComponentWrapper
public:
// Return the integer value of an enum type key for this field
ComponentInfo::EnumType Enum(const char* enumKey) { return m_Component->Enum(m_PropertyName.c_str(), enumKey); }
bool Dirty(DirtySet set) { return true; }
void SetDirty(bool dirty = true) { }
template <typename T>
operator T&() { return m_Component->Field<T>(m_PropertyName); }