BallisticNG
 All Classes Namespaces Functions Variables Enumerations Properties
Public Member Functions | Static Public Member Functions | Static Public Attributes
BallisticEvents.Race Struct Reference

Race events. More...

List of all members.

Public Member Functions

delegate void TriggerStartLineDelegate (ShipRefs ship)
delegate void TriggerMidLineDelegate (ShipRefs ship)
delegate void TriggerMidLineResetDelegate (ShipRefs ship)
delegate void TriggerCountdown (int stage)
delegate void TriggerCountdownStart ()
delegate void TriggerCountdownEnd ()
delegate void ShipSpawnDelegate (ShipRefs ship)
delegate void AllShipsSpawned ()
delegate void ShipExplodeDelegate (ShipRefs ship)
delegate void ShipFinishedDelegate (ShipRefs ship)
delegate void ShipLapUpdateDelegate (ShipRefs ship)
delegate void ShipDropDelegate (ShipRefs ship)
delegate void ShipAbsorbDelgate (ShipRefs ship, float shieldRestored)
delegate void ShipPickupDelegate (ShipRefs ship)
delegate void ShipUseDelegate (ShipRefs r, PickupBase pickup)
delegate void ShipHitWeaponTile (ShipRefs ship, WeaponPad pad)
delegate void ShipHitWeaponPad (ShipRefs ship, BallisticUnityTools.TrackTools.TrackPad pad)
delegate void ShipHitSpeedTile (ShipRefs ship, Tile pad)
delegate void ShipHitSpeedPad (ShipRefs ship, BallisticUnityTools.TrackTools.TrackPad pad)
delegate void ShipRespawn (ShipRefs ship)
delegate void ShipScoreChanged (ShipRefs ship, float oldScore, float newScore)
delegate void ShipHitWeapon (ShipRefs ship, CollidableWeapon weapon)
delegate void ShipTeleportDelegate (Vector3 oldPosition, Quaternion oldRotation, ShipRefs ship)
delegate void ShipBarrelRolled (ShipRefs ship, bool success)
delegate void EventCompleteDelegate ()
delegate void EventExitDelgate ()
delegate void CameraShakeDelegate (float strength, float time, bool additive, Vector3 position, float range)

Static Public Member Functions

static void CallOnStartLineTriggered (ShipRefs ship)
 Calls the OnStartLineTriggered delegate with a null check.
static void CallOnMidLineTriggered (ShipRefs ship)
 Calls the OnMidLineTriggered delegate with a null check.
static void CallOnMidLineResetTriggered (ShipRefs ship)
 Calls the OnMidLineResetTriggered delegate with a null check.
static void CallOnCountdownTriggered (int stage)
 Calls the OnCountdownTriggered delegate with a null check.
static void CallOnCountdownStart ()
 Calls the OnCountdownStart delegate with a null check.
static void CallOnCountdownEnd ()
 Calls the OnCountdownEnd delegate with a null check.
static void CallOnShipSpawned (ShipRefs ship)
 Calls the OnShipSpawned delegate with a null check.
static void CallOnAllShipsSpawned ()
 Calls the OnAllShipsSpawned delegate with a null check.
static void CallOnShipExploded (ShipRefs ship)
 Calls the OnShipExploded delegate with a null check.
static void CallOnShipFinished (ShipRefs ship)
 Calls the OnShipFinished delegate with a null check.
static void CallOnShipLapUpdate (ShipRefs ship)
 Calls the OnShipLapUpdate delegate with a null check.
static void CallOnShipDrop (ShipRefs ship)
 Calls the OnShipDrop delegate with a null check.
static void CallOnShipAbsorb (ShipRefs ship, float shieldRestored)
 Calls the OnShipAbsorb delegate with a null check.
static void CallOnShipPickup (ShipRefs ship)
 Calls the OnShipPickup delegate with a null check.
static void CallOnShipUse (ShipRefs ship, PickupBase pickup)
 Calls the OnShipuse delegate with a null check.
static void CallOnShipHitWeaponTile (ShipRefs ship, WeaponPad pad)
 Calls the ShipHitWeaponTile delegate with a null check.
static void CallOnShipHitWeaponPad (ShipRefs ship, BallisticUnityTools.TrackTools.TrackPad pad)
 Calls the ShipHitWeaponPad delegate with a null check.
static void CallOnShipHitSpeedTile (ShipRefs ship, Tile tile)
 Calls the ShipHitSpeedTile delegate with a null check.
static void CallOnShipHitSpeedPad (ShipRefs ship, BallisticUnityTools.TrackTools.TrackPad pad)
 Calls the ShipHitSpeedPad delegate with a null check.
static void CallOnShipRespawn (ShipRefs ship)
 Calls the OnShipRespawn delegate with a null check.
static void CallOnShipScoreChanged (ShipRefs ship, float oldScore, float newScore)
 Calls the OnShipScoreChanged delegate with a null check.
static void CallOnShipHitWeapon (ShipRefs ship, CollidableWeapon weapon)
 Calls the OnShipHitWeapon delegate with a null check.
static void CallOnShipTeleported (Vector3 oldPosition, Quaternion oldRotation, ShipRefs ship)
 Calls the OnShipTeleported delegate with a null check.
static void CallOnEventComplete ()
 Calls the OnEventComplete delegate with a null check.
static void CallOnEventExit ()
 Calls the OnEventExit delegate with a null check.
static void CallOnCameraShakeDelegate (float strength, float time, bool additive, Vector3 position, float range)
 Calls the OnCameraShake delegate with a null check.

Static Public Attributes

static TriggerStartLineDelegate OnStartLineTriggered
 Called when a ship triggers the start line.
static TriggerMidLineDelegate OnMidLineTriggered
 Called when a ship triggers the mid line.
static TriggerMidLineResetDelegate OnMidLineResetTriggered
 Called when a ship triggers the mid line reset.
static TriggerCountdown OnCountdownTriggered
 Called when the countdown is triggered.
static TriggerCountdownStart OnCountdownStart
 Called when the countdown begins.
static TriggerCountdownEnd OnCountdownEnd
 Called when the countdown ends.
static ShipSpawnDelegate OnShipSpawned
 Called when a ship is spawned.
static AllShipsSpawned OnAllShipsSpawned
 Called once all ships have been spawned.
static ShipExplodeDelegate OnShipExploded
 Called when a ship explodes.
static ShipFinishedDelegate OnShipFinished
 Called when a ship finishes a race.
static ShipLapUpdateDelegate OnShipLapUpdate
 Called when a ships lap is updated.
static ShipDropDelegate OnShipDrop
 Called when a ship drops a pickup.
static ShipAbsorbDelgate OnShipAbsorb
 Called when a ship absorbs a pickup.
static ShipPickupDelegate OnShipPickup
 Called when a ship pickups a pickup.
static ShipUseDelegate OnShipUse
 Called when a ship uses a pickup.
static ShipHitWeaponTile OnShipHitWeaponTile
 Called when a ship flies over a weapon tile.
static ShipHitWeaponPad OnShipHitWeaponPad
 Called when a ship flies over a weapon pad.
static ShipHitSpeedTile OnShipHitSpeedTile
 Called when a ship flies over a speed tile.
static ShipHitSpeedPad OnShipHitSpeedPad
 Called when a ship flies over a speed pad.
static ShipRespawn OnShipRespawn
 Called when a ship respawns.
static ShipScoreChanged OnShipScoreChanged
 Called when a ships score changes.
static ShipHitWeapon OnShipHitWeapon
 Called when a ship hits a weapon.
static ShipTeleportDelegate OnShipTeleported
 Called when a ship is teleported.
static ShipBarrelRolled OnShipBarrelRolled
 Called when a ship lands a barrel roll.
static EventCompleteDelegate OnEventComplete
 Called when the event has been finished.
static EventExitDelgate OnEventExit
 Called when the player leaves from a race.
static CameraShakeDelegate OnCameraShake
 Called when.

Detailed Description

Race events.


Member Function Documentation

static void BallisticEvents.Race.CallOnAllShipsSpawned ( ) [inline, static]

Calls the OnAllShipsSpawned delegate with a null check.

static void BallisticEvents.Race.CallOnCameraShakeDelegate ( float  strength,
float  time,
bool  additive,
Vector3  position,
float  range 
) [inline, static]

Calls the OnCameraShake delegate with a null check.

Parameters:
strengthThe maximum distance that the shake can offset the camera by.
speedThe maximum speed that the shake can reach.
timeHow long the shake should last.
additiveAdds to the shake instead of setting it
positionWhere the origin of what should cause the camera to shake originates from.
rangeHow far away from position the camera can be to cause shake.
static void BallisticEvents.Race.CallOnCountdownEnd ( ) [inline, static]

Calls the OnCountdownEnd delegate with a null check.

static void BallisticEvents.Race.CallOnCountdownStart ( ) [inline, static]

Calls the OnCountdownStart delegate with a null check.

static void BallisticEvents.Race.CallOnCountdownTriggered ( int  stage) [inline, static]

Calls the OnCountdownTriggered delegate with a null check.

static void BallisticEvents.Race.CallOnEventComplete ( ) [inline, static]

Calls the OnEventComplete delegate with a null check.

static void BallisticEvents.Race.CallOnEventExit ( ) [inline, static]

Calls the OnEventExit delegate with a null check.

static void BallisticEvents.Race.CallOnMidLineResetTriggered ( ShipRefs  ship) [inline, static]

Calls the OnMidLineResetTriggered delegate with a null check.

static void BallisticEvents.Race.CallOnMidLineTriggered ( ShipRefs  ship) [inline, static]

Calls the OnMidLineTriggered delegate with a null check.

static void BallisticEvents.Race.CallOnShipAbsorb ( ShipRefs  ship,
float  shieldRestored 
) [inline, static]

Calls the OnShipAbsorb delegate with a null check.

Parameters:
ship
shieldRestored
static void BallisticEvents.Race.CallOnShipDrop ( ShipRefs  ship) [inline, static]

Calls the OnShipDrop delegate with a null check.

Parameters:
ship
static void BallisticEvents.Race.CallOnShipExploded ( ShipRefs  ship) [inline, static]

Calls the OnShipExploded delegate with a null check.

static void BallisticEvents.Race.CallOnShipFinished ( ShipRefs  ship) [inline, static]

Calls the OnShipFinished delegate with a null check.

Calls the ShipHitSpeedPad delegate with a null check.

Parameters:
ship
pad
static void BallisticEvents.Race.CallOnShipHitSpeedTile ( ShipRefs  ship,
Tile  tile 
) [inline, static]

Calls the ShipHitSpeedTile delegate with a null check.

Parameters:
ship
tile
static void BallisticEvents.Race.CallOnShipHitWeapon ( ShipRefs  ship,
CollidableWeapon  weapon 
) [inline, static]

Calls the OnShipHitWeapon delegate with a null check.

Calls the ShipHitWeaponPad delegate with a null check.

Parameters:
ship
pad
static void BallisticEvents.Race.CallOnShipHitWeaponTile ( ShipRefs  ship,
WeaponPad  pad 
) [inline, static]

Calls the ShipHitWeaponTile delegate with a null check.

Parameters:
ship
pad
static void BallisticEvents.Race.CallOnShipLapUpdate ( ShipRefs  ship) [inline, static]

Calls the OnShipLapUpdate delegate with a null check.

Parameters:
ship
static void BallisticEvents.Race.CallOnShipPickup ( ShipRefs  ship) [inline, static]

Calls the OnShipPickup delegate with a null check.

Parameters:
ship
static void BallisticEvents.Race.CallOnShipRespawn ( ShipRefs  ship) [inline, static]

Calls the OnShipRespawn delegate with a null check.

static void BallisticEvents.Race.CallOnShipScoreChanged ( ShipRefs  ship,
float  oldScore,
float  newScore 
) [inline, static]

Calls the OnShipScoreChanged delegate with a null check.

Parameters:
ship
static void BallisticEvents.Race.CallOnShipSpawned ( ShipRefs  ship) [inline, static]

Calls the OnShipSpawned delegate with a null check.

static void BallisticEvents.Race.CallOnShipTeleported ( Vector3  oldPosition,
Quaternion  oldRotation,
ShipRefs  ship 
) [inline, static]

Calls the OnShipTeleported delegate with a null check.

static void BallisticEvents.Race.CallOnShipUse ( ShipRefs  ship,
PickupBase  pickup 
) [inline, static]

Calls the OnShipuse delegate with a null check.

Parameters:
ship
pickup
static void BallisticEvents.Race.CallOnStartLineTriggered ( ShipRefs  ship) [inline, static]

Calls the OnStartLineTriggered delegate with a null check.


Member Data Documentation

AllShipsSpawned BallisticEvents.Race.OnAllShipsSpawned [static]

Called once all ships have been spawned.

CameraShakeDelegate BallisticEvents.Race.OnCameraShake [static]

Called when.

TriggerCountdownEnd BallisticEvents.Race.OnCountdownEnd [static]

Called when the countdown ends.

TriggerCountdownStart BallisticEvents.Race.OnCountdownStart [static]

Called when the countdown begins.

TriggerCountdown BallisticEvents.Race.OnCountdownTriggered [static]

Called when the countdown is triggered.

EventCompleteDelegate BallisticEvents.Race.OnEventComplete [static]

Called when the event has been finished.

EventExitDelgate BallisticEvents.Race.OnEventExit [static]

Called when the player leaves from a race.

TriggerMidLineResetDelegate BallisticEvents.Race.OnMidLineResetTriggered [static]

Called when a ship triggers the mid line reset.

TriggerMidLineDelegate BallisticEvents.Race.OnMidLineTriggered [static]

Called when a ship triggers the mid line.

ShipAbsorbDelgate BallisticEvents.Race.OnShipAbsorb [static]

Called when a ship absorbs a pickup.

ShipBarrelRolled BallisticEvents.Race.OnShipBarrelRolled [static]

Called when a ship lands a barrel roll.

ShipDropDelegate BallisticEvents.Race.OnShipDrop [static]

Called when a ship drops a pickup.

ShipExplodeDelegate BallisticEvents.Race.OnShipExploded [static]

Called when a ship explodes.

ShipFinishedDelegate BallisticEvents.Race.OnShipFinished [static]

Called when a ship finishes a race.

ShipHitSpeedPad BallisticEvents.Race.OnShipHitSpeedPad [static]

Called when a ship flies over a speed pad.

ShipHitSpeedTile BallisticEvents.Race.OnShipHitSpeedTile [static]

Called when a ship flies over a speed tile.

ShipHitWeapon BallisticEvents.Race.OnShipHitWeapon [static]

Called when a ship hits a weapon.

ShipHitWeaponPad BallisticEvents.Race.OnShipHitWeaponPad [static]

Called when a ship flies over a weapon pad.

ShipHitWeaponTile BallisticEvents.Race.OnShipHitWeaponTile [static]

Called when a ship flies over a weapon tile.

ShipLapUpdateDelegate BallisticEvents.Race.OnShipLapUpdate [static]

Called when a ships lap is updated.

ShipPickupDelegate BallisticEvents.Race.OnShipPickup [static]

Called when a ship pickups a pickup.

ShipRespawn BallisticEvents.Race.OnShipRespawn [static]

Called when a ship respawns.

ShipScoreChanged BallisticEvents.Race.OnShipScoreChanged [static]

Called when a ships score changes.

ShipSpawnDelegate BallisticEvents.Race.OnShipSpawned [static]

Called when a ship is spawned.

ShipTeleportDelegate BallisticEvents.Race.OnShipTeleported [static]

Called when a ship is teleported.

ShipUseDelegate BallisticEvents.Race.OnShipUse [static]

Called when a ship uses a pickup.

TriggerStartLineDelegate BallisticEvents.Race.OnStartLineTriggered [static]

Called when a ship triggers the start line.


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