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

#include <big.h>

Inheritance diagram for CSmMode:
CMode CNod

Public Types

enum  EWeapon { Laser, Rocket, Nucleus }
- Public Types inherited from CMode
enum  EMedal {
  None, Finished, Bronze, Silver,
  Gold, Author
}

Public Member Functions

Void PassOn (CSmModeEvent Event)
Void Discard (CSmModeEvent Event)
Void SpawnPlayer (CSmPlayer Player, Integer ClanNum, Integer Armor, CSmBlockSpawn BlockSpawn, Integer ActivationDate)
Void UnspawnPlayer (CSmPlayer Player)
Void SetPlayerClan (CSmPlayer Player, Integer ClanNum)
Void SetPlayerWeapon (CSmPlayer Player, EWeapon DefaultWeapon, Boolean AutoSwitchWeapon)
Void SetPlayerAmmo (CSmPlayer Player, EWeapon Weapon, Integer Count)
Void SetPlayerAmmoMax (CSmPlayer Player, EWeapon Weapon, Integer Count)
Integer GetWeaponIndex (EWeapon Weapon)
Void SetNbFakePlayers (Integer NbClan1, Integer NbClan2)
Void ResetTriggersForPlayers (CSmPlayer Player)
Void ComputeTriggeredSpawnsForPlayer (CSmPlayer Player)
- Public Member Functions inherited from CMode
Void RequestLoadMap ()
Void RequestUnloadMap ()
Void Ladder_OpenMatch_BeginRequest ()
Void Ladder_OpenMatch_AddPlayer (CScore PlayerScore)
Void Ladder_OpenMatch_EndRequest ()
Void Ladder_CloseMatchRequest ()
Void Ladder_CancelMatchRequest ()
Void AutoTeamBalance ()
Void Solo_SetNewRecord (CScore PlayerScore, EMedal Medal)
Integer Synchro_AddBarrier ()
Boolean Synchro_BarrierReached (Integer Barrier)

Public Attributes

Integer StartTime
Integer EndTime
Boolean UseClans
Boolean UseForcedClans
Boolean UsePvPCollisions
Boolean UsePvPWeapons
Real OffZoneRadius
Real OffZoneRadiusSpeed
Ident OffZoneCenterBlockId
const Integer PlayersNbTotal
const Integer PlayersNbAlive
const Integer PlayersNbDead
const Integer ClansNbTotal
const Integer ClansNbAlive
const Integer ClansNbDead
const Integer[] ClansNbPlayers
const Integer[] ClansNbPlayersAlive
const CSmPlayer[] Players
const CSmPlayer[] Spectators
const CSmModeEvent[] PendingEvents
const CSmBase[] Bases
const CSmBlock[] Blocks
const CSmBlockSpawn[] BlockSpawns
const CSmBlockPole[] BlockPoles
const CSmScore[] Scores
Integer Clan1Score
Integer Clan2Score
Integer[] ClanScores
const Integer[] TriggeredSpawns
- Public Attributes inherited from CMode
const Text MapName
const CMap Map
const CUser[] Users
const CTeam[] Teams
const Integer Now
const Integer Period
Boolean MatchEndRequested
const Boolean ServerShutdownRequested
const Boolean MapLoaded
const CMapInfo[] MapList
Integer NextMapIndex
const CUIConfigMgr UIManager
const Boolean Ladder_RequestInProgress
const CXmlRpc XmlRpc
- Public Attributes inherited from CNod
const Ident Id

Member Enumeration Documentation

Enumerator:
Laser 
Rocket 
Nucleus 

Member Function Documentation

Void CSmMode::ComputeTriggeredSpawnsForPlayer ( CSmPlayer  Player)
Void CSmMode::Discard ( CSmModeEvent  Event)
Integer CSmMode::GetWeaponIndex ( EWeapon  Weapon)
Void CSmMode::PassOn ( CSmModeEvent  Event)
Void CSmMode::ResetTriggersForPlayers ( CSmPlayer  Player)
Void CSmMode::SetNbFakePlayers ( Integer  NbClan1,
Integer  NbClan2 
)
Void CSmMode::SetPlayerAmmo ( CSmPlayer  Player,
EWeapon  Weapon,
Integer  Count 
)
Void CSmMode::SetPlayerAmmoMax ( CSmPlayer  Player,
EWeapon  Weapon,
Integer  Count 
)
Void CSmMode::SetPlayerClan ( CSmPlayer  Player,
Integer  ClanNum 
)
Void CSmMode::SetPlayerWeapon ( CSmPlayer  Player,
EWeapon  DefaultWeapon,
Boolean  AutoSwitchWeapon 
)
Void CSmMode::SpawnPlayer ( CSmPlayer  Player,
Integer  ClanNum,
Integer  Armor,
CSmBlockSpawn  BlockSpawn,
Integer  ActivationDate 
)
Void CSmMode::UnspawnPlayer ( CSmPlayer  Player)

Member Data Documentation

const CSmBase [] CSmMode::Bases
const CSmBlockPole [] CSmMode::BlockPoles
const CSmBlock [] CSmMode::Blocks
const CSmBlockSpawn [] CSmMode::BlockSpawns
Integer CSmMode::Clan1Score
Integer CSmMode::Clan2Score
Integer [] CSmMode::ClanScores
const Integer CSmMode::ClansNbAlive
const Integer CSmMode::ClansNbDead
const Integer [] CSmMode::ClansNbPlayers
const Integer [] CSmMode::ClansNbPlayersAlive
const Integer CSmMode::ClansNbTotal
Integer CSmMode::EndTime
Ident CSmMode::OffZoneCenterBlockId
Real CSmMode::OffZoneRadius
Real CSmMode::OffZoneRadiusSpeed
const CSmModeEvent [] CSmMode::PendingEvents
const CSmPlayer [] CSmMode::Players
const Integer CSmMode::PlayersNbAlive
const Integer CSmMode::PlayersNbDead
const Integer CSmMode::PlayersNbTotal
const CSmScore [] CSmMode::Scores
const CSmPlayer [] CSmMode::Spectators
Integer CSmMode::StartTime
const Integer [] CSmMode::TriggeredSpawns
Boolean CSmMode::UseClans
Boolean CSmMode::UseForcedClans
Boolean CSmMode::UsePvPCollisions
Boolean CSmMode::UsePvPWeapons

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