From 31601349dff4b78a03bda0912d8d79b43eae42b0 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 26 Aug 2008 19:03:35 +0000 Subject: [FIX] Enumerations now have access from scripts (name->value) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@245 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokescripting/MapWarpWrapper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pokescripting/MapWarpWrapper.h') diff --git a/pokescripting/MapWarpWrapper.h b/pokescripting/MapWarpWrapper.h index e787d9f6..ac894b04 100644 --- a/pokescripting/MapWarpWrapper.h +++ b/pokescripting/MapWarpWrapper.h @@ -36,6 +36,8 @@ class POKESCRIPTING_EXPORT MapWarpWrapper : public ObjectWrapper public: static MapWarpWrapper* create(const Pokemod::MapWarp* warp, MapWrapper* parent); + Q_SCRIPTABLE Pokemod::MapWarp::Type type(const QString& name) const; + Q_SCRIPTABLE QString name() const; Q_SCRIPTABLE QPoint coordinate() const; Q_SCRIPTABLE Pokemod::MapWarp::Type type() const; -- cgit