Skip to content

Commit 51902db

Browse files
committed
msg_macros: Added explanation of function use
1 parent 0e2a3c7 commit 51902db

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

_common/qt-modules/msg_box_preview/msg_macros.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
extern bool msgMacroParseTokens(const std::string &line, std::vector<std::string> &tokens);
3131
#endif
3232

33+
/**
34+
* @brief Pre-Process the message (apply conditions, or place player names where is possible)
35+
* @param in Input text to pre-process
36+
* @param out Output text of pre-processing result
37+
* @param macro_player ID of playable character to match the condition
38+
* @param macro_state ID of character state to match the condition
39+
*/
3340
extern void msgMacroProcess(const std::string &in, std::string &out, int macro_player, int macro_state);
3441

3542
#endif // MSGMACROS_H

0 commit comments

Comments
 (0)