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

12 lines
219 B
C++

#include "Game.h"
#include "../cwmods.h"
cube::Creature* cube::Game::GetPlayer(){
return this->world->local_creature;
}
cube::Game* cube::GetGame() {
return *(cube::Game**)(CWBase() + 0x551A80);
}