Implementation of ScriptObject. More...
#include "../../stdafx.h"
#include "../../script/squirrel.hpp"
#include "../../command_func.h"
#include "../../company_func.h"
#include "../../network/network.h"
#include "../../tunnelbridge.h"
#include "../script_storage.hpp"
#include "../script_instance.hpp"
#include "../script_fatalerror.hpp"
#include "../script_suspend.hpp"
#include "script_error.hpp"
Go to the source code of this file.
Functions | |
static ScriptStorage * | GetStorage () |
Get the storage associated with the current ScriptInstance. |
Implementation of ScriptObject.
Definition in file script_object.cpp.
static ScriptStorage* GetStorage | ( | ) | [static] |
Get the storage associated with the current ScriptInstance.
Definition at line 29 of file script_object.cpp.
References ScriptObject::GetActiveInstance(), and ScriptInstance::GetStorage().
Referenced by ScriptObject::CanSuspend(), ScriptObject::GetAllowDoCommand(), ScriptObject::GetCallbackVariable(), ScriptObject::GetDoCommandCosts(), ScriptObject::GetDoCommandDelay(), ScriptObject::GetDoCommandMode(), ScriptObject::GetDoCommandModeInstance(), ScriptObject::GetEventPointer(), ScriptObject::GetLastCommandRes(), ScriptObject::GetLastCost(), ScriptObject::GetLastError(), ScriptObject::GetLogPointer(), ScriptObject::GetNewGroupID(), ScriptObject::GetNewSignID(), ScriptObject::GetNewTunnelEndtile(), ScriptObject::GetNewVehicleID(), ScriptObject::GetRailType(), ScriptObject::GetRoadType(), ScriptObject::IncreaseDoCommandCosts(), ScriptObject::SetAllowDoCommand(), ScriptObject::SetCallbackVariable(), ScriptObject::SetDoCommandCosts(), ScriptObject::SetDoCommandDelay(), ScriptObject::SetDoCommandMode(), ScriptObject::SetLastCommandRes(), ScriptObject::SetLastCost(), ScriptObject::SetLastError(), ScriptObject::SetNewGroupID(), ScriptObject::SetNewSignID(), ScriptObject::SetNewTunnelEndtile(), ScriptObject::SetNewVehicleID(), ScriptObject::SetRailType(), and ScriptObject::SetRoadType().