diff options
Diffstat (limited to 'Sluift/ElementConvertors/PubSubEventCollectionConvertor.cpp')
-rw-r--r-- | Sluift/ElementConvertors/PubSubEventCollectionConvertor.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Sluift/ElementConvertors/PubSubEventCollectionConvertor.cpp b/Sluift/ElementConvertors/PubSubEventCollectionConvertor.cpp index d05b479..fbaa05c 100644 --- a/Sluift/ElementConvertors/PubSubEventCollectionConvertor.cpp +++ b/Sluift/ElementConvertors/PubSubEventCollectionConvertor.cpp @@ -61,3 +61,13 @@ void PubSubEventCollectionConvertor::doConvertToLua(lua_State* L, boost::shared_ lua_setfield(L, -2, "associate"); } } + +boost::optional<LuaElementConvertor::Documentation> PubSubEventCollectionConvertor::getDocumentation() const { + return Documentation( + "PubSubEventCollection", + "This table has the following fields:\n\n" + "- `node`: string (Optional)\n" + "- `disassociate`: @{PubSubEventDisassociate}\n" + "- `associate`: @{PubSubEventAssociate}\n" + ); +} |