0x004BF3DC
| 548 | |
| 549 | // 0x004BF3DC |
| 550 | static void sendMessage() |
| 551 | { |
| 552 | if (SceneManager::isEditorMode()) |
| 553 | { |
| 554 | return; |
| 555 | } |
| 556 | |
| 557 | if (!SceneManager::isNetworked()) |
| 558 | { |
| 559 | return; |
| 560 | } |
| 561 | |
| 562 | if (SceneManager::isTitleMode()) |
| 563 | { |
| 564 | auto* caller = WindowManager::find(WindowType::titleMenu); |
| 565 | if (caller == nullptr) |
| 566 | { |
| 567 | return; |
| 568 | } |
| 569 | |
| 570 | Windows::TitleMenu::beginSendChatMessage(*caller); |
| 571 | } |
| 572 | else |
| 573 | { |
| 574 | auto* caller = WindowManager::find(WindowType::timeToolbar); |
| 575 | if (caller == nullptr) |
| 576 | { |
| 577 | return; |
| 578 | } |
| 579 | |
| 580 | Windows::TimePanel::beginSendChatMessage(*caller); |
| 581 | } |
| 582 | } |
| 583 | |
| 584 | static void constructionPreviousTab() |
| 585 | { |
nothing calls this directly
no test coverage detected