mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Implemented the context management part of the ScriptManager
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@61 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+5
-1
@@ -55,9 +55,13 @@ class Set : public Packaged {
|
||||
/** Should only be used from the main thread! */
|
||||
Context& getContext();
|
||||
|
||||
/// A context for performing scripts on a particular card
|
||||
/** Should only be used from the main thread! */
|
||||
Context& getContext(const Card& card);
|
||||
|
||||
protected:
|
||||
virtual String typeName() const;
|
||||
virtual void validate();
|
||||
virtual void validate(Version);
|
||||
|
||||
DECLARE_REFLECTION();
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user