mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Type name of ScriptObjects is now reported as the actual object type (card/set/value/etc.);
Back trace is slightly smarter Removed move_cursor_with_sort git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@542 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -125,6 +125,9 @@ class Set : public Packaged {
|
||||
map<ScriptValueP,OrderCacheP> order_cache;
|
||||
};
|
||||
|
||||
inline String type_name(const Set&) {
|
||||
return _TYPE_("set");
|
||||
}
|
||||
inline int item_count(const Set& set) {
|
||||
return (int)set.cards.size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user