2019-09-23 07:50:21 +08:00
|
|
|
#include "Game.h"
|
|
|
|
#include "../cwmods.h"
|
|
|
|
|
|
|
|
|
|
|
|
cube::Creature* cube::Game::GetPlayer(){
|
|
|
|
return this->world->local_creature;
|
|
|
|
}
|
|
|
|
|
|
|
|
cube::Game* cube::GetGame() {
|
2019-09-26 08:02:55 +08:00
|
|
|
return *(cube::Game**)(CWBase() + 0x551A80);
|
2019-09-23 07:50:21 +08:00
|
|
|
}
|
2019-10-06 04:08:12 +08:00
|
|
|
|
2019-10-10 20:18:02 +08:00
|
|
|
void cube::Game::PrintMessage(const wchar_t* message, FloatRGBA* color) {
|
2019-10-06 04:08:12 +08:00
|
|
|
this->gui.chat_widget->PrintMessage(message, color);
|
|
|
|
}
|
2019-10-10 20:18:02 +08:00
|
|
|
void cube::Game::PrintMessage(const wchar_t* message) {
|
2019-10-06 04:08:12 +08:00
|
|
|
this->gui.chat_widget->PrintMessage(message);
|
|
|
|
}
|
2019-10-10 20:18:02 +08:00
|
|
|
void cube::Game::PrintMessage(const wchar_t* message, char red, char green, char blue) {
|
2019-10-06 04:08:12 +08:00
|
|
|
this->gui.chat_widget->PrintMessage(message, red, green, blue);
|
|
|
|
}
|