diff --git a/src/as/com/threerings/ezgame/EZGameControl.as b/src/as/com/threerings/ezgame/EZGameControl.as index a3cc9ead..d1c44d89 100644 --- a/src/as/com/threerings/ezgame/EZGameControl.as +++ b/src/as/com/threerings/ezgame/EZGameControl.as @@ -265,6 +265,18 @@ public class EZGameControl extends BaseControl callEZCode("testAndSetProperty_v1", propName, newValue, testValue, index); } + /** + * Get the names of all currently-set properties. + */ + public function getProperyNames () :Array + { + var props :Array = []; + for (var s :String in _gameData) { + props.push(s); + } + return props; + } + /** * Register an object to receive whatever events it should receive, based on which event * listeners it implements.