Cube-World-Commands-Mod/cwmods/cube/Game.cpp

12 lines
219 B
C++
Raw Normal View History

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-24 07:10:20 +08:00
return *(cube::Game**)(CWBase() + 0x54EA80);
2019-09-23 07:50:21 +08:00
}