Add the functions/properties SetPos, GetPos, col and key to DisplayString.

Add documentation too.
This commit is contained in:
hispidence 2021-08-29 20:28:40 +01:00
parent 861720dce0
commit 893eb4984f
2 changed files with 91 additions and 8 deletions

View file

@ -96,5 +96,5 @@ public:
s_getItemCallback = cbg;
}
static std::unique_ptr<GameScriptDisplayString> Create(std::string const& key, int x, int y, GameScriptColor col, int flags);
static std::unique_ptr<GameScriptDisplayString> Create(std::string const& key, int x, int y, GameScriptColor col, TypeOrNil<sol::table>, TypeOrNil<bool>);
};