mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
add is_default script function
This commit is contained in:
+3
-1
@@ -255,7 +255,9 @@ public:
|
||||
virtual ValueP clone() const = 0;
|
||||
|
||||
/// Convert this value to a string for use in tables
|
||||
virtual String toString() const = 0;
|
||||
virtual String toString() const = 0;
|
||||
/// Check if this value is in the default state
|
||||
virtual bool isDefault();
|
||||
/// Apply scripts to this value, return true if the value has changed
|
||||
virtual bool update(Context& ctx);
|
||||
/// This value has been updated by an action
|
||||
|
||||
Reference in New Issue
Block a user