Public Member Functions | Static Public Member Functions | Private Attributes

ScriptEventVehicleLost Class Reference

Event Vehicle Lost, indicating a vehicle can't find its way to its destination. More...

#include <script_event_types.hpp>

Inheritance diagram for ScriptEventVehicleLost:
ScriptEvent ScriptObject SimpleCountedObject

Public Member Functions

 ScriptEventVehicleLost (VehicleID vehicle_id)
VehicleID GetVehicleID ()
 Get the VehicleID of the vehicle that is lost.

Static Public Member Functions

static ScriptEventVehicleLostConvert (ScriptEvent *instance)
 Convert an ScriptEvent to the real instance.

Private Attributes

VehicleID vehicle_id
 The vehicle that is lost.

Detailed Description

Event Vehicle Lost, indicating a vehicle can't find its way to its destination.

ai

Definition at line 484 of file script_event_types.hpp.


Constructor & Destructor Documentation

ScriptEventVehicleLost::ScriptEventVehicleLost ( VehicleID  vehicle_id  )  [inline]
Parameters:
vehicle_id The vehicle that is lost.

Definition at line 489 of file script_event_types.hpp.


Member Function Documentation

static ScriptEventVehicleLost* ScriptEventVehicleLost::Convert ( ScriptEvent instance  )  [inline, static]

Convert an ScriptEvent to the real instance.

Parameters:
instance The instance to convert.
Returns:
The converted instance.

Definition at line 499 of file script_event_types.hpp.

VehicleID ScriptEventVehicleLost::GetVehicleID (  )  [inline]

Get the VehicleID of the vehicle that is lost.

Returns:
The VehicleID of the vehicle that is lost.

Definition at line 505 of file script_event_types.hpp.

References vehicle_id.


The documentation for this class was generated from the following file: