From 940e5d4b55bbd1261bf0ccb3a915b79cf2a240c8 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 26 Aug 2008 18:23:31 +0000 Subject: [FIX] Fixed some minor typos [FIX] Abstracted validation out to ValidationDialog [FIX] Added stat and Direction getters for Pokemod git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@244 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokescripting/PokemodWrapper.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pokescripting/PokemodWrapper.h') diff --git a/pokescripting/PokemodWrapper.h b/pokescripting/PokemodWrapper.h index f782fdb5..cf97c60c 100644 --- a/pokescripting/PokemodWrapper.h +++ b/pokescripting/PokemodWrapper.h @@ -85,6 +85,9 @@ class POKESCRIPTING_EXPORT PokemodWrapper : public ObjectWrapper TypeWrapper* type(const int id); WeatherWrapper* weather(const int id); + Q_SCRIPTABLE Pokemod::Stat stat(const QString& name) const; + Q_SCRIPTABLE Pokemod::Direction direction(const QString& direction) const; + Q_SCRIPTABLE QString title() const; Q_SCRIPTABLE QString version() const; Q_SCRIPTABLE QString description() const; -- cgit