dfhack/library/include/dfhack/modules/World.h

34 lines
640 B
C++

#ifndef CL_MOD_WORLD
#define CL_MOD_WORLD
/*
* World: all kind of stuff related to the current world state
*/
#include "dfhack/DFExport.h"
#include "dfhack/DFModule.h"
namespace DFHack
{
class DFContextShared;
class DFHACK_EXPORT World : public Module
{
public:
World(DFHack::DFContextShared * d);
~World();
bool Start();
bool Finish();
uint32_t ReadCurrentTick();
uint32_t ReadCurrentYear();
uint32_t ReadCurrentMonth();
uint32_t ReadCurrentDay();
private:
struct Private;
Private *d;
};
}
#endif