|
4 | 4 | * Parser for Team Shanghai Alice .msg dialogs.
|
5 | 5 | * Registers the following template hooks:
|
6 | 6 | *
|
7 |
| - * {{thcrap_msg}} |
8 |
| - * {{thcrap_msg_assist}} |
| 7 | + * {{thcrap_msg}} / {{dialogtable}} / {{dt}} |
| 8 | + * {{thcrap_msg_assist}} / {{msgassist}} |
| 9 | + * {{thcrap_msg/footer}} / {{dialogtable/footer}} / {{dt/footer}} |
| 10 | + * {{thcrap_msg_parse}} / {{msgparse}} |
9 | 11 | *
|
10 | 12 | * @file
|
11 | 13 | * @author Nmlgc
|
@@ -184,9 +186,11 @@ public static function onMsgParse( &$tpcState, &$title, &$temp ) {
|
184 | 186 | TouhouPatchCenter::registerHook( 'thcrap_msg', 'TPCFmtMsg::onMsg' );
|
185 | 187 | TouhouPatchCenter::registerHook( 'thcrap_msg_assist', 'TPCFmtMsg::onMsgAssist' );
|
186 | 188 | TouhouPatchCenter::registerHook( 'thcrap_msg/footer', 'TPCFmtMsg::onMsgFooter' );
|
| 189 | +TouhouPatchCenter::registerHook( 'thcrap_msg_parse', 'TPCFmtMsg::onMsgParse' ); |
187 | 190 | // Short versions
|
188 |
| -TouhouPatchCenter::registerHook( 'dt', 'TPCFmtMsg::onMsg' ); |
189 | 191 | TouhouPatchCenter::registerHook( 'dialogtable', 'TPCFmtMsg::onMsg' );
|
190 |
| -TouhouPatchCenter::registerHook( 'dt/footer', 'TPCFmtMsg::onMsgFooter' ); |
| 192 | +TouhouPatchCenter::registerHook( 'dt', 'TPCFmtMsg::onMsg' ); |
191 | 193 | TouhouPatchCenter::registerHook( 'msgassist', 'TPCFmtMsg::onMsgAssist' );
|
| 194 | +TouhouPatchCenter::registerHook( 'dialogtable/footer', 'TPCFmtMsg::onMsgFooter' ); |
| 195 | +TouhouPatchCenter::registerHook( 'dt/footer', 'TPCFmtMsg::onMsgFooter' ); |
192 | 196 | TouhouPatchCenter::registerHook( 'msgparse', 'TPCFmtMsg::onMsgParse' );
|
0 commit comments