ManiaScript Reference  2019-05
CSmPlayer Struct Reference
Inheritance diagram for CSmPlayer:
CPlayer CEntity CNod

Public Types

enum  ESpawnStatus { NotSpawned, Spawning, Spawned }
 

Public Attributes

const CSmScore Score
 
const ESpawnStatus SpawnStatus
 
const Integer StartTime
 
Integer EndTime
 
Real AmmoGain
 
Real AmmoPower
 
const Boolean AutoSwitchWeapon
 
const Integer CurWeapon
 
const Integer CurAmmo
 
const Integer CurAmmoMax
 
const Integer CurAmmoUnit
 
Integer Armor
 
Integer ArmorMax
 
Integer ArmorGain
 
Integer ArmorReplenishGain
 
Real ArmorPower
 
Integer Stamina
 
const Integer StaminaMaxValue
 
Real StaminaMax
 
Real StaminaGain
 
Real StaminaPower
 
Real SpeedPower
 
Real JumpPower
 
Boolean AllowWallJump
 
Boolean AllowProgressiveJump
 
Boolean UseAlternateWeaponVisual
 
Boolean IsHighlighted
 
Real EnergyLevel
 
Vec3 ForceColor
 
const Real GetLinearHue
 
Real ForceLinearHue
 
Ident ForceModelId
 
Boolean HasShield
 
const Boolean IsInVehicle
 
Real ThrowSpeed
 
const Integer CurrentClan
 
const Integer IdleDuration
 
const Vec3 Position
 
const Real AimYaw
 
const Real AimPitch
 
const Vec3 AimDirection
 
const Vec3 Velocity
 
const Real Speed
 
const Boolean IsUnderground
 
const Boolean IsTouchingGround
 
const Boolean IsInAir
 
const Boolean IsInWater
 
const Boolean IsInOffZone
 
const Boolean IsOnTech
 
const Boolean IsOnTechGround
 
const Boolean IsOnTechLaser
 
const Boolean IsOnTechArrow
 
const Boolean IsOnTechNucleus
 
const Boolean IsOnTechArmor
 
const Boolean IsOnTechSafeZone
 
const Boolean IsOnTechTeleport
 
const Boolean IsOnTechNoWeapon
 
const Boolean IsPowerJumpActivable
 
const Boolean IsTeleportActivable
 
const Boolean IsAttractorActivable
 
const Integer NbActiveAttractors
 
const Boolean IsCapturing
 
const CSmMapLandmark CapturedLandmark
 
const CSmObject [] Objects
 
const CModeVehicle Vehicle
 
const Boolean IsFakePlayer
 
const Boolean IsBot
 
const CSmPlayerDriver Driver
 
- Public Attributes inherited from CPlayer
const CUser User
 
const Integer RequestedClan
 
const Boolean RequestsSpectate
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Supported declare modes : Local NetworkRead NetworkWrite A Shootmania player.

Member Enumeration Documentation

◆ ESpawnStatus

Enumerator
NotSpawned 
Spawning 
Spawned 

Member Data Documentation

◆ AimDirection

const Vec3 CSmPlayer::AimDirection

◆ AimPitch

const Real CSmPlayer::AimPitch

◆ AimYaw

const Real CSmPlayer::AimYaw

◆ AllowProgressiveJump

Boolean CSmPlayer::AllowProgressiveJump

◆ AllowWallJump

Boolean CSmPlayer::AllowWallJump

◆ AmmoGain

Real CSmPlayer::AmmoGain

Values in range (0.000000-10.000000)

◆ AmmoPower

Real CSmPlayer::AmmoPower

Values in range (0.100000-10.000000)

◆ Armor

Integer CSmPlayer::Armor

◆ ArmorGain

Integer CSmPlayer::ArmorGain

◆ ArmorMax

Integer CSmPlayer::ArmorMax

◆ ArmorPower

Real CSmPlayer::ArmorPower

Values in range (0.100000-10.000000)

◆ ArmorReplenishGain

Integer CSmPlayer::ArmorReplenishGain

◆ AutoSwitchWeapon

const Boolean CSmPlayer::AutoSwitchWeapon

◆ CapturedLandmark

const CSmMapLandmark CSmPlayer::CapturedLandmark

◆ CurAmmo

const Integer CSmPlayer::CurAmmo

◆ CurAmmoMax

const Integer CSmPlayer::CurAmmoMax

◆ CurAmmoUnit

const Integer CSmPlayer::CurAmmoUnit

◆ CurrentClan

const Integer CSmPlayer::CurrentClan

◆ CurWeapon

const Integer CSmPlayer::CurWeapon

◆ Driver

const CSmPlayerDriver CSmPlayer::Driver

◆ EndTime

Integer CSmPlayer::EndTime

◆ EnergyLevel

Real CSmPlayer::EnergyLevel

Values in range (0.000000-1.000000)

◆ ForceColor

Vec3 CSmPlayer::ForceColor

◆ ForceLinearHue

Real CSmPlayer::ForceLinearHue

◆ ForceModelId

Ident CSmPlayer::ForceModelId

◆ GetLinearHue

const Real CSmPlayer::GetLinearHue

Values in range (0.000000-1.000000)

◆ HasShield

Boolean CSmPlayer::HasShield

◆ IdleDuration

const Integer CSmPlayer::IdleDuration

◆ IsAttractorActivable

const Boolean CSmPlayer::IsAttractorActivable

◆ IsBot

const Boolean CSmPlayer::IsBot

◆ IsCapturing

const Boolean CSmPlayer::IsCapturing

◆ IsFakePlayer

const Boolean CSmPlayer::IsFakePlayer

◆ IsHighlighted

Boolean CSmPlayer::IsHighlighted

◆ IsInAir

const Boolean CSmPlayer::IsInAir

◆ IsInOffZone

const Boolean CSmPlayer::IsInOffZone

◆ IsInVehicle

const Boolean CSmPlayer::IsInVehicle

◆ IsInWater

const Boolean CSmPlayer::IsInWater

◆ IsOnTech

const Boolean CSmPlayer::IsOnTech

◆ IsOnTechArmor

const Boolean CSmPlayer::IsOnTechArmor

◆ IsOnTechArrow

const Boolean CSmPlayer::IsOnTechArrow

◆ IsOnTechGround

const Boolean CSmPlayer::IsOnTechGround

◆ IsOnTechLaser

const Boolean CSmPlayer::IsOnTechLaser

◆ IsOnTechNoWeapon

const Boolean CSmPlayer::IsOnTechNoWeapon

◆ IsOnTechNucleus

const Boolean CSmPlayer::IsOnTechNucleus

◆ IsOnTechSafeZone

const Boolean CSmPlayer::IsOnTechSafeZone

◆ IsOnTechTeleport

const Boolean CSmPlayer::IsOnTechTeleport

◆ IsPowerJumpActivable

const Boolean CSmPlayer::IsPowerJumpActivable

◆ IsTeleportActivable

const Boolean CSmPlayer::IsTeleportActivable

◆ IsTouchingGround

const Boolean CSmPlayer::IsTouchingGround

◆ IsUnderground

const Boolean CSmPlayer::IsUnderground

◆ JumpPower

Real CSmPlayer::JumpPower

Values in range (0.100000-1.000000)

◆ NbActiveAttractors

const Integer CSmPlayer::NbActiveAttractors

◆ Objects

const CSmObject [] CSmPlayer::Objects

◆ Position

const Vec3 CSmPlayer::Position

◆ Score

const CSmScore CSmPlayer::Score

◆ SpawnStatus

const ESpawnStatus CSmPlayer::SpawnStatus

◆ Speed

const Real CSmPlayer::Speed

◆ SpeedPower

Real CSmPlayer::SpeedPower

Values in range (0.100000-1.000000)

◆ Stamina

Integer CSmPlayer::Stamina

◆ StaminaGain

Real CSmPlayer::StaminaGain

Values in range (0.000000-1.000000)

◆ StaminaMax

Real CSmPlayer::StaminaMax

Values in range (0.100000-3.000000)

◆ StaminaMaxValue

const Integer CSmPlayer::StaminaMaxValue

◆ StaminaPower

Real CSmPlayer::StaminaPower

Values in range (0.100000-1.000000)

◆ StartTime

const Integer CSmPlayer::StartTime

◆ ThrowSpeed

Real CSmPlayer::ThrowSpeed

Values in range (0.000000-500.000000)

◆ UseAlternateWeaponVisual

Boolean CSmPlayer::UseAlternateWeaponVisual

◆ Vehicle

const CModeVehicle CSmPlayer::Vehicle

◆ Velocity

const Vec3 CSmPlayer::Velocity