openmw-tes3coop/apps/openmw-mp/Script/Functions/World.hpp

23 lines
542 B
C++
Raw Normal View History

2016-08-30 05:24:31 +00:00
//
// Created by koncord on 30.08.16.
//
#ifndef OPENMW_WORLD_HPP
#define OPENMW_WORLD_HPP
#define WORLDFUNCTIONS \
{"setHour", WorldFunctions::setHour},\
{"setMonth", WorldFunctions::setMonth},\
{"setDay", WorldFunctions::setDay}
2016-08-30 05:24:31 +00:00
class WorldFunctions
{
public:
static void setHour(unsigned short pid, double hour) noexcept;
static void setMonth(unsigned short pid, int month) noexcept;
static void setDay(unsigned short pid, int day) noexcept;
2016-08-30 05:24:31 +00:00
};
#endif //OPENMW_WORLD_HPP