ManiaScript  2019-10-10
The script language used in ManiaPlanet gaming system
Public Types | Public Attributes | List of all members
CSmModeEvent Struct Reference

#include <big.h>

Inheritance diagram for CSmModeEvent:
CBaseEvent CBaseConstEvent CNod

Public Types

enum  EType {
  Unknown, OnShoot, OnHit, OnNearMiss,
  OnArmorEmpty, OnCapture, OnShotDeny, OnFallDamage,
  OnCommand, OnPlayerAdded, OnPlayerRemoved, OnPlayerRequestRespawn,
  OnActionCustomEvent, OnActionEvent, OnPlayerTouchesObject, OnPlayerThrowsObject,
  OnPlayerTriggersSector, OnPlayerTriggersWaypoint, OnPlayerRequestActionChange, OnVehicleArmorEmpty,
  OnVehicleCollision, OnVehicleVsVehicleCollision, OnVehicleLanding
}
 
enum  EActionSlot {
  Slot_A, Slot_B, Slot_C, Slot_D,
  Slot_E, Slot_F, Slot_G, Slot_H
}
 
enum  EActionInput {
  Weapon, Movement, Activable1, Activable2,
  Activable3, Activable4, Consumable1, Consumable2,
  None
}
 

Public Attributes

const EType Type
 
const CSmPlayer Player
 
Integer Damage
 
const Integer VictimShield
 
const CEntity VictimEntity
 
Integer ShooterPoints
 
const CEntity ShooterEntity
 
const Integer ShooterClan
 
const Real Height
 
const Real MissDist
 
const Integer WeaponNum
 
const Boolean ShooterUsedAction
 
const Integer ShooterWeaponNum
 
const EActionSlot ShooterActionSlot
 
const Text ShooterActionId
 
const Boolean VictimUsedAction
 
const Integer VictimWeaponNum
 
const EActionSlot VictimActionSlot
 
const Text VictimActionId
 
const EActionSlot Action_Slot
 
const EActionInput ActionInput
 
const Text ActionId
 
const Text Param1
 
const Text [] Param2
 
const CSmObject Object
 
const Integer WaypointTime
 
const CSmBlockPole BlockPole
 
const CSmMapLandmark Landmark
 
const CUser User
 
const Boolean PlayerWasSpawned
 
const Boolean PlayerWasInLadderMatch
 
const Vec3 PlayerLastPosition
 
const Vec3 PlayerLastAimDirection
 
const Boolean GiveUp
 
const Text CommandName
 
const Boolean CommandValueBoolean
 
const Integer CommandValueInteger
 
const Real CommandValueReal
 
const Text CommandValueText
 
const Integer ActionChange
 
- Public Attributes inherited from CBaseEvent
const Boolean HasBeenPassed
 
const Boolean HasBeenDiscarded
 
- Public Attributes inherited from CBaseConstEvent
Boolean HasBeenProcessed
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Supported declare modes : Local Event recieved by ShootMania gamemodes.

Member Enumeration Documentation

◆ EActionInput

Enumerator
Weapon 
Movement 
Activable1 
Activable2 
Activable3 
Activable4 
Consumable1 
Consumable2 
None 

◆ EActionSlot

Enumerator
Slot_A 
Slot_B 
Slot_C 
Slot_D 
Slot_E 
Slot_F 
Slot_G 
Slot_H 

◆ EType

Enumerator
Unknown 
OnShoot 
OnHit 
OnNearMiss 
OnArmorEmpty 
OnCapture 
OnShotDeny 
OnFallDamage 
OnCommand 
OnPlayerAdded 
OnPlayerRemoved 
OnPlayerRequestRespawn 
OnActionCustomEvent 
OnActionEvent 
OnPlayerTouchesObject 
OnPlayerThrowsObject 
OnPlayerTriggersSector 
OnPlayerTriggersWaypoint 
OnPlayerRequestActionChange 
OnVehicleArmorEmpty 
OnVehicleCollision 
OnVehicleVsVehicleCollision 
OnVehicleLanding 

Member Data Documentation

◆ Action_Slot

const EActionSlot CSmModeEvent::Action_Slot

◆ ActionChange

const Integer CSmModeEvent::ActionChange

◆ ActionId

const Text CSmModeEvent::ActionId

◆ ActionInput

const EActionInput CSmModeEvent::ActionInput

◆ BlockPole

const CSmBlockPole CSmModeEvent::BlockPole

◆ CommandName

const Text CSmModeEvent::CommandName

◆ CommandValueBoolean

const Boolean CSmModeEvent::CommandValueBoolean

◆ CommandValueInteger

const Integer CSmModeEvent::CommandValueInteger

◆ CommandValueReal

const Real CSmModeEvent::CommandValueReal

◆ CommandValueText

const Text CSmModeEvent::CommandValueText

◆ Damage

Integer CSmModeEvent::Damage

◆ GiveUp

const Boolean CSmModeEvent::GiveUp

◆ Height

const Real CSmModeEvent::Height

◆ Landmark

const CSmMapLandmark CSmModeEvent::Landmark

◆ MissDist

const Real CSmModeEvent::MissDist

◆ Object

const CSmObject CSmModeEvent::Object

◆ Param1

const Text CSmModeEvent::Param1

◆ Param2

const Text [] CSmModeEvent::Param2

◆ Player

const CSmPlayer CSmModeEvent::Player

◆ PlayerLastAimDirection

const Vec3 CSmModeEvent::PlayerLastAimDirection

◆ PlayerLastPosition

const Vec3 CSmModeEvent::PlayerLastPosition

◆ PlayerWasInLadderMatch

const Boolean CSmModeEvent::PlayerWasInLadderMatch

◆ PlayerWasSpawned

const Boolean CSmModeEvent::PlayerWasSpawned

◆ ShooterActionId

const Text CSmModeEvent::ShooterActionId

◆ ShooterActionSlot

const EActionSlot CSmModeEvent::ShooterActionSlot

◆ ShooterClan

const Integer CSmModeEvent::ShooterClan

◆ ShooterEntity

const CEntity CSmModeEvent::ShooterEntity

◆ ShooterPoints

Integer CSmModeEvent::ShooterPoints

◆ ShooterUsedAction

const Boolean CSmModeEvent::ShooterUsedAction

◆ ShooterWeaponNum

const Integer CSmModeEvent::ShooterWeaponNum

◆ Type

const EType CSmModeEvent::Type

◆ User

const CUser CSmModeEvent::User

◆ VictimActionId

const Text CSmModeEvent::VictimActionId

◆ VictimActionSlot

const EActionSlot CSmModeEvent::VictimActionSlot

◆ VictimEntity

const CEntity CSmModeEvent::VictimEntity

◆ VictimShield

const Integer CSmModeEvent::VictimShield

◆ VictimUsedAction

const Boolean CSmModeEvent::VictimUsedAction

◆ VictimWeaponNum

const Integer CSmModeEvent::VictimWeaponNum

◆ WaypointTime

const Integer CSmModeEvent::WaypointTime

◆ WeaponNum

const Integer CSmModeEvent::WeaponNum

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