ManiaScript
Script language used in ManiaPlanet
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
Public Types | Public Attributes | List of all members
CSmModeEvent Struct Reference

#include <big.h>

Inheritance diagram for CSmModeEvent:
CNod

Public Types

enum  EType {
  Unknown, OnShoot, OnHit, OnNearMiss,
  OnArmorEmpty, OnCapture, OnShotDeny, OnFallDamage,
  OnCommand, OnPlayerAdded, OnPlayerRemoved, OnPlayerRequestRespawn,
  OnActionCustomEvent, OnActionEvent, OnPlayerTouchesObject, OnPlayerThrowsObject,
  OnPlayerRequestActionChange
}
 
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
}
 
enum  EActionSlots {
  Weapon, Movement, Activable1, Activable2,
  Activable3, Activable4, None
}
 

Public Attributes

const EType Type
 
const CSmPlayer Player
 
Integer Damage
 
const CSmObject VictimObject
 
Integer ShooterPoints
 
const CSmPlayer Shooter
 
const CSmPlayer Victim
 
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 CSmBlockPole BlockPole
 
const CSmMapLandmark Landmark
 
const Ident PlayerId
 
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 CNod
const Ident Id
 

Detailed Description

Event recieved by ShootMania gamemodes.

Member Enumeration Documentation

Enumerator
Weapon 
Movement 
Activable1 
Activable2 
Activable3 
Activable4 
Consumable1 
Consumable2 
None 
Enumerator
Slot_A 
Slot_B 
Slot_C 
Slot_D 
Slot_E 
Slot_F 
Slot_G 
Slot_H 
Enumerator
Weapon 
Movement 
Activable1 
Activable2 
Activable3 
Activable4 
None 
Enumerator
Unknown 
OnShoot 
OnHit 
OnNearMiss 
OnArmorEmpty 
OnCapture 
OnShotDeny 
OnFallDamage 
OnCommand 
OnPlayerAdded 
OnPlayerRemoved 
OnPlayerRequestRespawn 
OnActionCustomEvent 
OnActionEvent 
OnPlayerTouchesObject 
OnPlayerThrowsObject 
OnPlayerRequestActionChange 

Member Data Documentation

const EActionSlot CSmModeEvent::Action_Slot
const Integer CSmModeEvent::ActionChange
const Text CSmModeEvent::ActionId
const EActionInput CSmModeEvent::ActionInput
const CSmBlockPole CSmModeEvent::BlockPole
const Text CSmModeEvent::CommandName
const Boolean CSmModeEvent::CommandValueBoolean
const Integer CSmModeEvent::CommandValueInteger
const Real CSmModeEvent::CommandValueReal
const Text CSmModeEvent::CommandValueText
Integer CSmModeEvent::Damage
const Boolean CSmModeEvent::GiveUp
const Real CSmModeEvent::Height
const CSmMapLandmark CSmModeEvent::Landmark
const Real CSmModeEvent::MissDist
const CSmObject CSmModeEvent::Object
const Text CSmModeEvent::Param1
const Text [] CSmModeEvent::Param2
const CSmPlayer CSmModeEvent::Player
const Ident CSmModeEvent::PlayerId
const Vec3 CSmModeEvent::PlayerLastAimDirection
const Vec3 CSmModeEvent::PlayerLastPosition
const Boolean CSmModeEvent::PlayerWasInLadderMatch
const Boolean CSmModeEvent::PlayerWasSpawned
const CSmPlayer CSmModeEvent::Shooter
const Text CSmModeEvent::ShooterActionId
const EActionSlot CSmModeEvent::ShooterActionSlot
Integer CSmModeEvent::ShooterPoints
const Boolean CSmModeEvent::ShooterUsedAction
const Integer CSmModeEvent::ShooterWeaponNum
const EType CSmModeEvent::Type
const CUser CSmModeEvent::User
const CSmPlayer CSmModeEvent::Victim
const Text CSmModeEvent::VictimActionId
const EActionSlot CSmModeEvent::VictimActionSlot
const CSmObject CSmModeEvent::VictimObject
const Boolean CSmModeEvent::VictimUsedAction
const Integer CSmModeEvent::VictimWeaponNum
const Integer CSmModeEvent::WeaponNum

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