summaryrefslogtreecommitdiffstats
path: root/pokescripting/CoinListWrapper.h
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 /pokescripting/CoinListWrapper.h
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 'pokescripting/CoinListWrapper.h')
-rw-r--r--pokescripting/CoinListWrapper.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/pokescripting/CoinListWrapper.h b/pokescripting/CoinListWrapper.h
index a224545a..9b9bc63e 100644
--- a/pokescripting/CoinListWrapper.h
+++ b/pokescripting/CoinListWrapper.h
@@ -40,6 +40,7 @@ class POKESCRIPTING_EXPORT CoinListWrapper : public ObjectWrapper
}
public slots:
QString name() const;
+ Pokemod::Script script() const;
CoinListObjectWrapper* object(const int index);
int objectCount() const;
@@ -49,28 +50,6 @@ class POKESCRIPTING_EXPORT CoinListWrapper : public ObjectWrapper
const Pokemod::CoinList* m_coinList;
};
-
-inline CoinListWrapper::CoinListWrapper(const Pokemod::CoinList* coinList, QObject* parent) :
- ObjectWrapper(coinList, parent),
- m_coinList(coinList)
-{
-}
-
-inline QString CoinListWrapper::name() const
-{
- return m_coinList->name();
-}
-
-inline CoinListObjectWrapper* CoinListWrapper::object(const int index)
-{
- return CoinListObjectWrapper::create(m_coinList->object(index), this);
-}
-
-inline int CoinListWrapper::objectCount() const
-{
- return m_coinList->objectCount();
-}
-
}
#endif