1
0

Added HOOK_WEATHER_CHANGING.

http://www.mc-server.org/support/index.php?do=details&task_id=299

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1210 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com
2013-02-13 19:22:08 +00:00
parent 22b71d0410
commit 8b1a8bee34
13 changed files with 251 additions and 120 deletions

View File

@@ -4,6 +4,7 @@
#include "Plugin.h"
#include "Pawn.h"
#include "Player.h"
#include "World.h"
@@ -502,7 +503,7 @@ bool cPlugin::OnUpdatingSign(cWorld * a_World, int a_BlockX, int a_BlockY, int a
bool cPlugin::OnWeatherChanged(cWorld * a_World)
bool cPlugin::OnWeatherChanged(cWorld & a_World)
{
UNUSED(a_World);
return false;
@@ -512,6 +513,17 @@ bool cPlugin::OnWeatherChanged(cWorld * a_World)
bool cPlugin::OnWeatherChanging(cWorld & a_World, eWeather & a_Weather)
{
UNUSED(a_World);
UNUSED(a_Weather);
return false;
}
bool cPlugin::HandleCommand(const AStringVector & a_Split, cPlayer * a_Player)
{
UNUSED(a_Split);