summaryrefslogtreecommitdiffstats
path: root/pokemod/Store.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-08-05 06:10:55 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-08-05 06:10:55 +0000
commitcf49a16b29ac412cfea125f7216a0e51e79aa4de (patch)
treefc3eb0271f3de0d7900c2a33ab5eafa259d8d250 /pokemod/Store.cpp
parent56b91df6010a9f3d304438cf95816399a6e46622 (diff)
downloadsigen-cf49a16b29ac412cfea125f7216a0e51e79aa4de.tar.gz
sigen-cf49a16b29ac412cfea125f7216a0e51e79aa4de.tar.xz
sigen-cf49a16b29ac412cfea125f7216a0e51e79aa4de.zip
[FIX] List members of pokemod classes now can be returned in their entirety
[FIX] Reworked pokescripting for ease of use [FIX] Now (selected) pokemod values can be overridden in pokescripting git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@237 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Store.cpp')
-rw-r--r--pokemod/Store.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/pokemod/Store.cpp b/pokemod/Store.cpp
index 0a873125..40c33c76 100644
--- a/pokemod/Store.cpp
+++ b/pokemod/Store.cpp
@@ -103,6 +103,11 @@ bool Pokemod::Store::item(const int item) const
return m_item.contains(item);
}
+QList<int> Pokemod::Store::items() const
+{
+ return m_item;
+}
+
Pokemod::Store& Pokemod::Store::operator=(const Store& rhs)
{
if (this == &rhs)