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

#include <big.h>

Inheritance diagram for CUIConfig:
CNod

Public Types

enum  EUISequence {
  None, Playing, Intro, Outro,
  Podium, CustomMTClip, EndRound, PlayersPresentation
}
enum  EUIStatus {
  None, Normal, Warning, Error,
  Official
}
enum  EVisibility {
  None, Normal, Manual, ForcedHidden,
  ForcedVisible
}
enum  ELabelsVisibility {
  None, Never, Always, WhenInFrustum,
  WhenVisible, WhenInMiddleOfScreen
}
enum  EAvatarVariant { Default, Sad, Happy }
enum  EUISound {
  Default, Silence, StartMatch, EndMatch,
  StartRound, EndRound, PhaseChange, TieBreakPoint,
  TiePoint, VictoryPoint, Capture, TimeOut,
  Notice, Warning, PlayerEliminated, PlayerHit,
  Checkpoint, Finish, Custom1, Custom2,
  Custom3, Custom4
}
enum  ENoticeLevel {
  Default, PlayerInfo, PlayerWarning, MapInfo,
  MapWarning, MatchInfo, MatchWarning
}

Public Member Functions

Void SendChat (Text Text)
Void SendNotice (Text Text, ENoticeLevel Level, CUser Avatar, EAvatarVariant AvatarVariant, EUISound Sound, Integer SoundVariant)
Text GetLayerManialinkAction (CUILayer Layer)
Void ClearLayerManialinkAction (CUILayer Layer)

Public Attributes

EUISequence UISequence
const Boolean UISequenceIsCompleted
Text UISequence_CustomMTClip
Text ManialinkPage
Text BigMessage
Text BigMessageAvatarLogin
EAvatarVariant BigMessageAvatarVariant
EUISound BigMessageSound
Integer BigMessageSoundVariant
Text StatusMessage
Text GaugeMessage
Real GaugeRatio
Integer GaugeClan
Text Hud3dMarkers
const CUILayer[] UILayers
Boolean OverlayHideNotices
Boolean OverlayHideMapInfo
Boolean OverlayHideOpponentsInfo
Boolean OverlayHideChat
Boolean OverlayHideCheckPointList
Boolean OverlayHideRoundScores
Boolean OverlayHideAll
Boolean NoticesFilter_HidePlayerInfo
Boolean NoticesFilter_HidePlayerWarning
Boolean NoticesFilter_HidePlayerInfoIfNotMe
Boolean NoticesFilter_HidePlayerWarningIfNotMe
Boolean NoticesFilter_HideMapInfo
Boolean NoticesFilter_HideMapWarning
Boolean NoticesFilter_HideMatchInfo
Boolean NoticesFilter_HideMatchWarning
ENoticeLevel NoticesFilter_LevelToShowAsBigMessage
Text ScoreTable
EVisibility ScoreTableVisibility
Boolean ScoreTableOnlyManialink
Text SmallScoreTable
EVisibility SmallScoreTableVisibility
Boolean OverlayScoreSummary
Ident ScoreSummary_Player1
Integer ScoreSummary_Points1
Integer ScoreSummary_MatchPoints1
Real ScoreSummary_Gauge1
Ident ScoreSummary_Player2
Integer ScoreSummary_Points2
Integer ScoreSummary_MatchPoints2
Real ScoreSummary_Gauge2
Boolean ScreenIn3dHideScoreSummary
Boolean ScreenIn3dHideVersus
Integer CountdownEndTime
EUIStatus UIStatus
ELabelsVisibility AlliesLabelsVisibility
EVisibility AlliesLabelsShowGauges
ELabelsVisibility EnemiesLabelsVisibility
EVisibility EnemiesLabelsShowGauges
Boolean ForceSpectator
Integer SpectatorForceCameraType
Ident SpectatorAutoTarget
Ident SpectatorForcedTarget
Real SpectatorCamAutoLatitude
Real SpectatorCamAutoLongitude
Real SpectatorCamAutoRadius
- Public Attributes inherited from CNod
const Ident Id

Detailed Description

This object handles the interface.

Member Enumeration Documentation

Enumerator:
Default 
Sad 
Happy 
Enumerator:
None 
Never 
Always 
WhenInFrustum 
WhenVisible 
WhenInMiddleOfScreen 
Enumerator:
Default 
PlayerInfo 
PlayerWarning 
MapInfo 
MapWarning 
MatchInfo 
MatchWarning 
Enumerator:
None 
Playing 
Intro 
Outro 
Podium 
CustomMTClip 
EndRound 
PlayersPresentation 
Enumerator:
Default 
Silence 
StartMatch 
EndMatch 
StartRound 
EndRound 
PhaseChange 
TieBreakPoint 
TiePoint 
VictoryPoint 
Capture 
TimeOut 
Notice 
Warning 
PlayerEliminated 
PlayerHit 
Checkpoint 
Finish 
Custom1 
Custom2 
Custom3 
Custom4 
Enumerator:
None 
Normal 
Warning 
Error 
Official 
Enumerator:
None 
Normal 
Manual 
ForcedHidden 
ForcedVisible 

Member Function Documentation

Void CUIConfig::ClearLayerManialinkAction ( CUILayer  Layer)
Text CUIConfig::GetLayerManialinkAction ( CUILayer  Layer)
Void CUIConfig::SendChat ( Text  Text)
Void CUIConfig::SendNotice ( Text  Text,
ENoticeLevel  Level,
CUser  Avatar,
EAvatarVariant  AvatarVariant,
EUISound  Sound,
Integer  SoundVariant 
)

Member Data Documentation

EVisibility CUIConfig::AlliesLabelsShowGauges
ELabelsVisibility CUIConfig::AlliesLabelsVisibility
Text CUIConfig::BigMessage
Text CUIConfig::BigMessageAvatarLogin
EAvatarVariant CUIConfig::BigMessageAvatarVariant
EUISound CUIConfig::BigMessageSound
Integer CUIConfig::BigMessageSoundVariant
Integer CUIConfig::CountdownEndTime
EVisibility CUIConfig::EnemiesLabelsShowGauges
ELabelsVisibility CUIConfig::EnemiesLabelsVisibility
Boolean CUIConfig::ForceSpectator
Integer CUIConfig::GaugeClan
Text CUIConfig::GaugeMessage
Real CUIConfig::GaugeRatio
Text CUIConfig::Hud3dMarkers

An XML text describing the map tooltips appearing in the HUD.
It's a set of <marker/> elements which can have the following attributes :

  1. label : a text to display
  2. pos : a vector of 3 world coordinates desribing the position of the marker
  3. playerlogin : alternatively, instead of using pos, you can use a player login. The marker will smoothly follow the player
  4. box : a vector of 3 dimensions describing the size of the marked object (allows a better placement of the marker on the screen)
  5. gauge : a Real. If between 0. and 1. a gauge will be shown undeneath the text
Text CUIConfig::ManialinkPage
Boolean CUIConfig::NoticesFilter_HideMapInfo
Boolean CUIConfig::NoticesFilter_HideMapWarning
Boolean CUIConfig::NoticesFilter_HideMatchInfo
Boolean CUIConfig::NoticesFilter_HideMatchWarning
Boolean CUIConfig::NoticesFilter_HidePlayerInfo
Boolean CUIConfig::NoticesFilter_HidePlayerInfoIfNotMe
Boolean CUIConfig::NoticesFilter_HidePlayerWarning
Boolean CUIConfig::NoticesFilter_HidePlayerWarningIfNotMe
ENoticeLevel CUIConfig::NoticesFilter_LevelToShowAsBigMessage
Boolean CUIConfig::OverlayHideAll
Boolean CUIConfig::OverlayHideChat
Boolean CUIConfig::OverlayHideCheckPointList
Boolean CUIConfig::OverlayHideMapInfo
Boolean CUIConfig::OverlayHideNotices
Boolean CUIConfig::OverlayHideOpponentsInfo
Boolean CUIConfig::OverlayHideRoundScores
Boolean CUIConfig::OverlayScoreSummary
Real CUIConfig::ScoreSummary_Gauge1
Real CUIConfig::ScoreSummary_Gauge2
Integer CUIConfig::ScoreSummary_MatchPoints1
Integer CUIConfig::ScoreSummary_MatchPoints2
Ident CUIConfig::ScoreSummary_Player1
Ident CUIConfig::ScoreSummary_Player2
Integer CUIConfig::ScoreSummary_Points1
Integer CUIConfig::ScoreSummary_Points2
Text CUIConfig::ScoreTable
Boolean CUIConfig::ScoreTableOnlyManialink
EVisibility CUIConfig::ScoreTableVisibility
Boolean CUIConfig::ScreenIn3dHideScoreSummary
Boolean CUIConfig::ScreenIn3dHideVersus
Text CUIConfig::SmallScoreTable
EVisibility CUIConfig::SmallScoreTableVisibility
Ident CUIConfig::SpectatorAutoTarget
Real CUIConfig::SpectatorCamAutoLatitude
Real CUIConfig::SpectatorCamAutoLongitude
Real CUIConfig::SpectatorCamAutoRadius
Integer CUIConfig::SpectatorForceCameraType
Ident CUIConfig::SpectatorForcedTarget
Text CUIConfig::StatusMessage
const CUILayer [] CUIConfig::UILayers
EUISequence CUIConfig::UISequence
Text CUIConfig::UISequence_CustomMTClip
const Boolean CUIConfig::UISequenceIsCompleted
EUIStatus CUIConfig::UIStatus

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