enhanced-field-mgmt -- Enhancements to dynamic field handling that allow for name filtering and replacement limiting

This commit is contained in:
Marc Chapman 2017-07-26 21:49:45 +01:00
parent 39b62b1461
commit 8436dff732
4 changed files with 92 additions and 1 deletions

View file

@ -20,6 +20,11 @@
// IN THE SOFTWARE.
//-----------------------------------------------------------------------------
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
// Copyright (C) 2015 Faust Logic, Inc.
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
#ifndef _SIMFIELDDICTIONARY_H_
#define _SIMFIELDDICTIONARY_H_
@ -90,6 +95,8 @@ public:
U32 getNumFields() const { return mNumFields; }
Entry *operator[](U32 index);
void setFieldValue(StringTableEntry slotName, const char *value, ConsoleBaseType *type, bool no_replace);
void assignFrom(SimFieldDictionary *dict, const char* filter, bool no_replace);
};
class SimFieldDictionaryIterator