Trackmania ManiaScript Reference 2025.6.19.2137
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CMlEntry Class Reference

Manialink entry. More...

#include <doc.h>

Inheritance diagram for CMlEntry:
[legend]

Public Types

enum  ETextFormat { Basic , Script , Password , Newpassword }
 
enum  ValueType {
  Ml_Unknown , Ml_Natural , Ml_Integer , Ml_Real ,
  Ml_String , Ml_TimeMmSsCc , Ml_TimeHhMmSs , Ml_RealFormated ,
  Ml_TimeMmSs , Ml_Ascii7bit , Ml_Real3Decimals , Ml_TimeHhMmSs_24 ,
  Ml_TimeHhMm , Ml_Percent , Ml_Hexa , Ml_TimeHhMmSsOrMmSs ,
  Ml_TimeHhMmFromSeconds , Ml_TimeHhMmSsMil
}
 
- Public Types inherited from CMlControl
enum  AlignHorizontal { Left , HCenter , Right , None }
 
enum  AlignVertical {
  Top , VCenter , Bottom , None ,
  VCenter2
}
 

Public Member Functions

Void StartEdition ()
 
Void SetText (Text NewText, Boolean SendSubmitEvent)
 
CMlEntry::ValueType GetValueType ()
 
Void SetValueType (CMlEntry::ValueType ValueType)
 
- Public Member Functions inherited from CMlControl
Boolean HasClass (Text Class)
 
Boolean DataAttributeExists (Text DataName)
 
Text DataAttributeGet (Text DataName)
 
Void DataAttributeSet (Text DataName, Text DataValue)
 
Void Show ()
 
Void Hide ()
 
Void Focus ()
 
Void ScriptEvents_Disable ()
 
Void ScriptEvents_Restore ()
 

Public Attributes

Text Value
 
CMlEntry::ETextFormat TextFormat
 
Real Opacity
 
Vec3 TextColor
 
Real TextSizeReal
 
Integer MaxLength
 
- Public Attributes inherited from CMlControl
CMlFrame *const Parent
 
Text const ControlId
 
Vec2 Size
 
CMlControl::AlignHorizontal HorizontalAlign
 
CMlControl::AlignVertical VerticalAlign
 
Boolean Visible
 
Vec2 RelativePosition_V3
 
Real ZIndex
 
Real RelativeScale
 
Real RelativeRotation
 
Vec2 const AbsolutePosition_V3
 
Real const AbsoluteScale
 
Real const AbsoluteRotation
 
Text ToolTip
 
Boolean const IsFocused
 
- Public Attributes inherited from CNod
Ident const Id
 

Detailed Description

Manialink entry.

Supported declare modes :

  • Local

Member Enumeration Documentation

◆ ETextFormat

Enumerator
Basic 
Script 
Password 
Newpassword 

◆ ValueType

Enumerator
Ml_Unknown 
Ml_Natural 
Ml_Integer 
Ml_Real 
Ml_String 
Ml_TimeMmSsCc 
Ml_TimeHhMmSs 
Ml_RealFormated 
Ml_TimeMmSs 
Ml_Ascii7bit 
Ml_Real3Decimals 
Ml_TimeHhMmSs_24 
Ml_TimeHhMm 
Ml_Percent 
Ml_Hexa 
Ml_TimeHhMmSsOrMmSs 
Ml_TimeHhMmFromSeconds 
Ml_TimeHhMmSsMil 

Member Function Documentation

◆ GetValueType()

CMlEntry::ValueType CMlEntry::GetValueType ( )

◆ SetText()

Void CMlEntry::SetText ( Text NewText,
Boolean SendSubmitEvent )

◆ SetValueType()

Void CMlEntry::SetValueType ( CMlEntry::ValueType ValueType)

◆ StartEdition()

Void CMlEntry::StartEdition ( )

Member Data Documentation

◆ MaxLength

Integer CMlEntry::MaxLength

◆ Opacity

Real CMlEntry::Opacity

◆ TextColor

Vec3 CMlEntry::TextColor

◆ TextFormat

CMlEntry::ETextFormat CMlEntry::TextFormat

◆ TextSizeReal

Real CMlEntry::TextSizeReal

◆ Value

Text CMlEntry::Value

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