ManiaScript
Script language used in ManiaPlanet
Main Page
Classes
Files
File List
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
input
big.h
Go to the documentation of this file.
1
class
Void
{};
2
class
Integer
{};
3
class
Real
{};
4
class
Boolean
{};
5
class
Text
{};
6
class
Vec2
{};
7
class
Vec3
{};
8
class
Int3
{};
9
class
Ident
{};
10
11
struct
CMlScript
:
public
CNod
{
12
enum
LinkType
{
13
ExternalBrowser
,
14
ManialinkBrowser
,
15
Goto
,
16
ExternalFromId
,
17
ManialinkFromId
,
18
GotoFromId
,
19
};
23
const
CMlPage
Page
;
27
const
CUIConfig
UI
;
31
const
Integer
Now
;
35
const
Integer
CurrentTime
;
39
const
Text
CurrentTimeText
;
43
const
Text
CurrentLocalDateText
;
47
const
CMlEvent
[]
PendingEvents
;
51
const
Real
MouseX
;
55
const
Real
MouseY
;
59
const
Boolean
MouseLeftButton
;
63
const
Boolean
MouseRightButton
;
67
const
Boolean
MouseMiddleButton
;
71
const
Boolean
KeyUp
;
75
const
Boolean
KeyDown
;
79
const
Boolean
KeyLeft
;
83
const
Boolean
KeyRight
;
87
const
Boolean
KeyReturn
;
91
const
Boolean
KeySpace
;
95
const
Boolean
KeyDelete
;
99
Void
OpenLink
(
Text
Url,
LinkType
LinkType
);
100
};
101
102
struct
CMlEntry
:
public
CMlControl
{
106
Text
Value
;
107
};
108
109
struct
CMlFileEntry
:
public
CMlEntry
{
113
const
Text
FullFileName
;
114
};
115
116
struct
CMlLabel
:
public
CMlControl
{
120
Void
SetText
(
Text
newText);
124
Text
Value
;
125
};
126
127
struct
CMlMediaPlayer
:
public
CMlControl
{
128
};
129
130
struct
CMlQuad
:
public
CMlControl
{
134
Void
ChangeImageUrl
(
Text
fieldName);
138
Text
ImageUrl
;
142
const
Boolean
DownloadInProgress
;
143
};
144
145
struct
CTmMode
:
public
CMode
{
146
enum
ETmScoreSortOrder
{
147
TotalPoints
,
148
BestRace_Time
,
149
BestRace_Stunts
,
150
BestRace_NbRespawns
,
151
BestRace_CheckpointsProgress
,
152
PrevRace_Time
,
153
Name
,
154
LadderRankSortValue
,
155
};
156
enum
ETMRespawnBehaviour
{
157
Normal
,
158
DoNothing
,
159
GiveUpBeforeFirstCheckPoint
,
160
AlwaysGiveUp
,
161
};
162
enum
ETmRaceChronoBehaviour
{
163
Auto
,
164
Hidden
,
165
CountDown
,
166
Normal
,
167
};
171
const
CTmPlayer
[]
ConnectedPlayers
;
175
const
CTmPlayer
[]
Players
;
179
const
CTmPlayer
[]
PlayersRacing
;
183
const
CTmPlayer
[]
PlayersWaiting
;
187
const
CTmScore
[]
Scores
;
191
const
CTmModeEvent
[]
PendingEvents
;
195
Void
PassOn
(
CTmModeEvent
Event);
199
Void
Discard
(
CTmModeEvent
Event);
203
Void
FakePlayers_Add
(
Text
NickName);
207
Void
FakePlayers_Remove
(
CUser
User);
211
Void
FakePlayers_RemoveAll
();
215
Void
Scores_Sort
(
ETmScoreSortOrder
SortOrder);
219
Void
Scores_Clear
();
223
Void
Ladder_ComputeRank
(
ETmScoreSortOrder
SortOrder);
227
Integer
CutOffTimeLimit
;
231
Integer
NbLaps
;
235
Boolean
IndependantLaps
;
239
Boolean
UiRounds
;
243
Boolean
UiStuntsMode
;
247
Boolean
UiDisplayStuntsNames
;
251
Boolean
HideOpponents
;
255
Integer
ForceMaxOpponents
;
259
Integer
UiScoresPointsLimit
;
263
ETMRespawnBehaviour
RespawnBehaviour
;
267
ETmRaceChronoBehaviour
UiRaceChrono
;
268
};
269
270
struct
CSmMode
:
public
CMode
{
271
enum
EWeapon
{
272
Laser
,
273
Rocket
,
274
Nucleus
,
275
};
279
Integer
StartTime
;
283
Integer
EndTime
;
287
Boolean
UseClans
;
291
Boolean
UseForcedClans
;
295
Boolean
UsePvPCollisions
;
299
Boolean
UsePvPWeapons
;
303
Real
OffZoneRadius
;
307
Real
OffZoneRadiusSpeed
;
311
Ident
OffZoneCenterBlockId
;
315
const
Integer
PlayersNbTotal
;
319
const
Integer
PlayersNbAlive
;
323
const
Integer
PlayersNbDead
;
327
const
Integer
ClansNbTotal
;
331
const
Integer
ClansNbAlive
;
335
const
Integer
ClansNbDead
;
339
const
Integer
[]
ClansNbPlayers
;
343
const
Integer
[]
ClansNbPlayersAlive
;
347
const
CSmPlayer
[]
Players
;
351
const
CSmPlayer
[]
Spectators
;
355
const
CSmModeEvent
[]
PendingEvents
;
359
const
CSmBase
[]
Bases
;
363
const
CSmBlock
[]
Blocks
;
367
const
CSmBlockSpawn
[]
BlockSpawns
;
371
const
CSmBlockPole
[]
BlockPoles
;
375
const
CSmScore
[]
Scores
;
379
Integer
Clan1Score
;
383
Integer
Clan2Score
;
387
Integer
[]
ClanScores
;
391
Void
PassOn
(
CSmModeEvent
Event);
395
Void
Discard
(
CSmModeEvent
Event);
399
Void
SpawnPlayer
(
CSmPlayer
Player,
Integer
ClanNum,
Integer
Armor,
CSmBlockSpawn
BlockSpawn,
Integer
ActivationDate);
403
Void
UnspawnPlayer
(
CSmPlayer
Player);
407
Void
SetPlayerClan
(
CSmPlayer
Player,
Integer
ClanNum);
411
Void
SetPlayerWeapon
(
CSmPlayer
Player,
EWeapon
DefaultWeapon,
Boolean
AutoSwitchWeapon);
415
Void
SetPlayerAmmo
(
CSmPlayer
Player,
EWeapon
Weapon,
Integer
Count);
419
Void
SetPlayerAmmoMax
(
CSmPlayer
Player,
EWeapon
Weapon,
Integer
Count);
423
Integer
GetWeaponIndex
(
EWeapon
Weapon);
427
Void
SetNbFakePlayers
(
Integer
NbClan1,
Integer
NbClan2);
431
Void
ResetTriggersForPlayers
(
CSmPlayer
Player);
435
Void
ComputeTriggeredSpawnsForPlayer
(
CSmPlayer
Player);
439
const
Integer
[]
TriggeredSpawns
;
440
};
441
442
struct
CTmMlScriptIngame
:
public
CMlScriptIngame
{
446
const
CTmMlPlayer
InputPlayer
;
450
const
CTmMlPlayer
GUIPlayer
;
454
const
CTmMlPlayer
[]
Players
;
455
};
456
457
struct
CSmMlScriptIngame
:
public
CMlScriptIngame
{
461
const
Integer
ArenaNow
;
465
const
CSmPlayer
InputPlayer
;
469
const
CSmPlayer
GUIPlayer
;
473
const
CTeam
[]
Teams
;
477
const
CSmPlayer
[]
Players
;
478
};
479
480
struct
CPlugin
:
public
CNod
{
481
enum
CardinalDirections
{
482
North
,
483
East
,
484
South
,
485
West
,
486
};
487
enum
PlaceMode
{
488
Unknown
,
489
Terraform
,
490
Block
,
491
Macroblock
,
492
Skin
,
493
CopyPaste
,
494
Test
,
495
Plugin
,
496
CustomSelection
,
497
OffZone
,
498
BlockProperty
,
499
};
500
enum
EditMode
{
501
Unknown
,
502
Place
,
503
FreeLook
,
504
Erase
,
505
Pick
,
506
SelectionAdd
,
507
SelectionRemove
,
508
};
512
const
CMap
Map
;
516
Void
ComputeShadows
();
520
Void
Undo
();
524
Void
Redo
();
528
Void
Quit
();
532
Void
Help
();
536
Void
Validate
();
540
Void
AutoSave
();
544
Void
SaveMap
(
Text
FileName,
Text
Path);
548
PlaceMode
PlaceMode
;
552
EditMode
EditMode
;
556
Boolean
UndergroundMode
;
560
Boolean
BlockStockMode
;
564
const
Integer
Now
;
568
Int3
CursorCoord
;
572
CardinalDirections
CursorDir
;
576
CBlockModel
CursorBlockModel
;
580
CBlockModel
CursorTerrainBlockModel
;
584
CMacroblockModel
CursorMacroblockModel
;
588
Real
CameraVAngle
;
592
Real
CameraHAngle
;
596
Real
CameraToTargetDistance
;
600
Vec3
TargetedPosition
;
604
Void
RemoveAllBlocks
();
608
Void
RemoveAllBlocksAndTerrain
();
612
Void
ShowCustomSelection
();
616
Void
HideCustomSelection
();
620
Void
CopyPaste_Copy
();
624
Void
CopyPaste_Cut
();
628
Void
CopyPaste_SelectAll
();
632
Void
CopyPaste_ResetSelection
();
636
Void
OpenToolsMenu
();
640
Boolean
CanPlaceBlock
(
CBlockModel
BlockModel,
Int3
Coord,
CardinalDirections
Dir,
Boolean
OnGround,
Integer
VariantIndex);
644
Boolean
PlaceBlock
(
CBlockModel
BlockModel,
Int3
Coord,
CardinalDirections
Dir);
648
Boolean
CanPlaceBlock_NoDestruction
(
CBlockModel
BlockModel,
Int3
Coord,
CardinalDirections
Dir,
Boolean
OnGround,
Integer
VariantIndex);
652
Boolean
PlaceBlock_NoDestruction
(
CBlockModel
BlockModel,
Int3
Coord,
CardinalDirections
Dir);
656
Boolean
CanPlaceRoadBlocks
(
CBlockModel
BlockModel,
Int3
StartCoord,
Int3
EndCoord);
660
Boolean
PlaceRoadBlocks
(
CBlockModel
BlockModel,
Int3
StartCoord,
Int3
EndCoord);
664
Boolean
CanPlaceTerrainBlocks
(
CBlockModel
BlockModel,
Int3
StartCoord,
Int3
EndCoord);
668
Boolean
PlaceTerrainBlocks
(
CBlockModel
BlockModel,
Int3
StartCoord,
Int3
EndCoord);
672
Boolean
PlaceTerrainBlocks_NoDestruction
(
CBlockModel
BlockModel,
Int3
StartCoord,
Int3
EndCoord);
676
Boolean
CanPlaceMacroblock
(
CMacroblockModel
BlockModel,
Int3
Coord,
CardinalDirections
Dir);
680
Boolean
PlaceMacroblock
(
CMacroblockModel
BlockModel,
Int3
Coord,
CardinalDirections
Dir);
684
Boolean
CanPlaceMacroblock_NoDestruction
(
CMacroblockModel
BlockModel,
Int3
Coord,
CardinalDirections
Dir);
688
Boolean
PlaceMacroblock_NoDestruction
(
CMacroblockModel
BlockModel,
Int3
Coord,
CardinalDirections
Dir);
692
CBlock
GetBlock
(
Int3
Coord);
696
Boolean
RemoveBlock
(
Int3
Coord);
700
Boolean
RemoveTerrainBlocks
(
Int3
StartCoord,
Int3
EndCoord);
704
Integer
GetBlockGroundHeight
(
CBlockModel
BlockModel,
Integer
CoordX,
Integer
CoordZ,
CardinalDirections
Dir);
708
CBlock
GetStartLineBlock
();
712
Void
CopyPaste_AddOrSubSelection
(
Int3
StartCoord,
Int3
EndCoord);
716
Boolean
CopyPaste_Symmetrize
();
720
Void
SaveMacroblock
(
CMacroblockModel
MacroblockModel);
724
const
CBlock
[]
Blocks
;
728
const
CBlockModel
[]
BlockModels
;
732
const
CBlockModel
[]
TerrainBlockModels
;
736
const
CMacroblockModel
[]
MacroblockModels
;
740
const
CAnchorData
[]
AnchorData
;
744
const
CPluginEvent
[]
PendingEvents
;
748
Int3
[]
CustomSelectionCoords
;
752
Vec3
CustomSelectionRGB
;
756
Text
ManialinkText
;
760
const
CMlPage
ManialinkPage
;
761
};
762
763
struct
CSmMapType
:
public
CMapType
{
767
const
CSmMode
Mode
;
768
};
769
770
struct
CTmMapType
:
public
CMapType
{
774
const
CTmMode
Mode
;
775
};
776
777
struct
CNod
{
781
const
Ident
Id
;
782
};
783
784
struct
CMlPage
:
public
CNod
{
788
const
CMlFrame
MainFrame
;
792
CMlControl
GetFirstChild
(
Text
ControlId);
796
Boolean
LinksInhibited
;
797
};
798
802
struct
CUIConfig
:
public
CNod
{
803
enum
EUISequence
{
804
None
,
805
Playing
,
806
Intro
,
807
Outro
,
808
Podium
,
809
CustomMTClip
,
810
EndRound
,
811
PlayersPresentation
,
812
};
813
enum
EUIStatus
{
814
None
,
815
Normal
,
816
Warning
,
817
Error
,
818
Official
,
819
};
820
enum
EVisibility
{
821
None
,
822
Normal
,
823
Manual
,
824
ForcedHidden
,
825
ForcedVisible
,
826
};
827
enum
ELabelsVisibility
{
828
None
,
829
Never
,
830
Always
,
831
WhenInFrustum
,
832
WhenVisible
,
833
WhenInMiddleOfScreen
,
834
};
835
enum
EAvatarVariant
{
836
Default
,
837
Sad
,
838
Happy
,
839
};
840
enum
EUISound
{
841
Default
,
842
Silence
,
843
StartMatch
,
844
EndMatch
,
845
StartRound
,
846
EndRound
,
847
PhaseChange
,
848
TieBreakPoint
,
849
TiePoint
,
850
VictoryPoint
,
851
Capture
,
852
TimeOut
,
853
Notice
,
854
Warning
,
855
PlayerEliminated
,
856
PlayerHit
,
857
Checkpoint
,
858
Finish
,
859
Custom1
,
860
Custom2
,
861
Custom3
,
862
Custom4
,
863
};
864
enum
ENoticeLevel
{
865
Default
,
866
PlayerInfo
,
867
PlayerWarning
,
868
MapInfo
,
869
MapWarning
,
870
MatchInfo
,
871
MatchWarning
,
872
};
876
EUISequence
UISequence
;
880
const
Boolean
UISequenceIsCompleted
;
884
Text
UISequence_CustomMTClip
;
888
Text
ManialinkPage
;
892
Text
BigMessage
;
896
Text
BigMessageAvatarLogin
;
900
EAvatarVariant
BigMessageAvatarVariant
;
904
EUISound
BigMessageSound
;
908
Integer
BigMessageSoundVariant
;
912
Text
StatusMessage
;
916
Text
GaugeMessage
;
920
Real
GaugeRatio
;
924
Integer
GaugeClan
;
928
Text
Hud3dMarkers
;
932
const
CUILayer
[]
UILayers
;
936
Boolean
OverlayHideNotices
;
940
Boolean
OverlayHideMapInfo
;
944
Boolean
OverlayHideOpponentsInfo
;
948
Boolean
OverlayHideChat
;
952
Boolean
OverlayHideCheckPointList
;
956
Boolean
OverlayHideRoundScores
;
960
Boolean
OverlayHideAll
;
964
Boolean
NoticesFilter_HidePlayerInfo
;
968
Boolean
NoticesFilter_HidePlayerWarning
;
972
Boolean
NoticesFilter_HidePlayerInfoIfNotMe
;
976
Boolean
NoticesFilter_HidePlayerWarningIfNotMe
;
980
Boolean
NoticesFilter_HideMapInfo
;
984
Boolean
NoticesFilter_HideMapWarning
;
988
Boolean
NoticesFilter_HideMatchInfo
;
992
Boolean
NoticesFilter_HideMatchWarning
;
996
ENoticeLevel
NoticesFilter_LevelToShowAsBigMessage
;
1000
Text
ScoreTable
;
1004
EVisibility
ScoreTableVisibility
;
1008
Boolean
ScoreTableOnlyManialink
;
1012
Text
SmallScoreTable
;
1016
EVisibility
SmallScoreTableVisibility
;
1020
Boolean
OverlayScoreSummary
;
1024
Ident
ScoreSummary_Player1
;
1028
Integer
ScoreSummary_Points1
;
1032
Integer
ScoreSummary_MatchPoints1
;
1036
Real
ScoreSummary_Gauge1
;
1040
Ident
ScoreSummary_Player2
;
1044
Integer
ScoreSummary_Points2
;
1048
Integer
ScoreSummary_MatchPoints2
;
1052
Real
ScoreSummary_Gauge2
;
1056
Boolean
ScreenIn3dHideScoreSummary
;
1060
Boolean
ScreenIn3dHideVersus
;
1064
Integer
CountdownEndTime
;
1068
EUIStatus
UIStatus
;
1072
ELabelsVisibility
AlliesLabelsVisibility
;
1076
EVisibility
AlliesLabelsShowGauges
;
1080
ELabelsVisibility
EnemiesLabelsVisibility
;
1084
EVisibility
EnemiesLabelsShowGauges
;
1088
Boolean
ForceSpectator
;
1092
Integer
SpectatorForceCameraType
;
1096
Ident
SpectatorAutoTarget
;
1100
Ident
SpectatorForcedTarget
;
1104
Real
SpectatorCamAutoLatitude
;
1108
Real
SpectatorCamAutoLongitude
;
1112
Real
SpectatorCamAutoRadius
;
1116
Void
SendChat
(
Text
Text
);
1120
Void
SendNotice
(
Text
Text
,
ENoticeLevel
Level,
CUser
Avatar,
EAvatarVariant
AvatarVariant,
EUISound
Sound,
Integer
SoundVariant);
1124
Text
GetLayerManialinkAction
(
CUILayer
Layer);
1128
Void
ClearLayerManialinkAction
(
CUILayer
Layer);
1129
};
1130
1131
struct
CMlEvent
:
public
CNod
{
1132
enum
Type
{
1133
KeyPress
,
1134
MouseClick
,
1135
MouseOver
,
1136
MouseOut
,
1137
};
1141
const
Type
Type
;
1145
const
Text
CharPressed
;
1149
const
Text
ControlId
;
1150
};
1151
1152
struct
CMlControl
:
public
CNod
{
1153
enum
AlignHorizontal
{
1154
Left
,
1155
HCenter
,
1156
Right
,
1157
None
,
1158
};
1159
enum
AlignVertical
{
1160
Top
,
1161
VCenter
,
1162
Bottom
,
1163
None
,
1164
VCenter2
,
1165
};
1169
const
Text
ControlId
;
1173
Real
PosnX
;
1177
Real
PosnY
;
1181
Real
PosnZ
;
1185
Real
Scale
;
1189
Vec3
RelativePosition
;
1193
Real
RelativeScale
;
1197
const
Vec3
AbsolutePosition
;
1201
const
Real
AbsoluteScale
;
1205
AlignHorizontal
HorizontalAlign
;
1209
AlignVertical
VerticalAlign
;
1213
Void
Show
();
1217
Void
Hide
();
1221
Void
Unload
();
1222
};
1223
1224
struct
CMode
:
public
CNod
{
1225
enum
EMedal
{
1226
None
,
1227
Finished
,
1228
Bronze
,
1229
Silver
,
1230
Gold
,
1231
Author
,
1232
};
1236
const
Text
MapName
;
1240
const
CMap
Map
;
1244
const
CUser
[]
Users
;
1248
const
CTeam
[]
Teams
;
1252
const
Integer
Now
;
1256
const
Integer
Period
;
1260
Boolean
MatchEndRequested
;
1264
const
Boolean
ServerShutdownRequested
;
1268
const
Boolean
MapLoaded
;
1272
Void
RequestLoadMap
();
1276
Void
RequestUnloadMap
();
1280
const
CMapInfo
[]
MapList
;
1284
Integer
NextMapIndex
;
1288
const
CUIConfigMgr
UIManager
;
1292
Void
Ladder_OpenMatch_BeginRequest
();
1296
Void
Ladder_OpenMatch_AddPlayer
(
CScore
PlayerScore);
1300
Void
Ladder_OpenMatch_EndRequest
();
1304
Void
Ladder_CloseMatchRequest
();
1308
Void
Ladder_CancelMatchRequest
();
1312
const
Boolean
Ladder_RequestInProgress
;
1316
Void
AutoTeamBalance
();
1320
Void
Solo_SetNewRecord
(
CScore
PlayerScore,
EMedal
Medal);
1324
const
CXmlRpc
XmlRpc
;
1328
Integer
Synchro_AddBarrier
();
1332
Boolean
Synchro_BarrierReached
(
Integer
Barrier);
1333
};
1334
1335
struct
CTmPlayer
:
public
CPlayer
{
1339
const
CTmScore
Score
;
1343
Integer
RaceStartTime
;
1347
CTmResult
CurRace
;
1351
CTmResult
CurLap
;
1355
Integer
CurrentNbLaps
;
1359
const
Integer
CurTriggerIndex
;
1360
};
1361
1362
struct
CTmScore
:
public
CScore
{
1366
Integer
Points
;
1370
CTmResult
BestRace
;
1374
CTmResult
BestLap
;
1378
Integer
PrevRaceDeltaPoints
;
1382
CTmResult
PrevRace
;
1386
const
CGhost
BestRaceGhost
;
1390
CTmResult
TempResult
;
1394
Void
Clear
();
1395
};
1396
1397
struct
CTmModeEvent
:
public
CNod
{
1398
enum
EType
{
1399
Unknown
,
1400
StartLine
,
1401
WayPoint
,
1402
GiveUp
,
1403
Respawn
,
1404
Stunt
,
1405
};
1406
enum
EStuntFigure
{
1407
None
,
1408
StraightJump
,
1409
Flip
,
1410
BackFlip
,
1411
Spin
,
1412
Aerial
,
1413
AlleyOop
,
1414
Roll
,
1415
Corkscrew
,
1416
SpinOff
,
1417
Rodeo
,
1418
FlipFlap
,
1419
Twister
,
1420
FreeStyle
,
1421
SpinningMix
,
1422
FlippingChaos
,
1423
RollingMadness
,
1424
WreckNone
,
1425
WreckStraightJump
,
1426
WreckFlip
,
1427
WreckBackFlip
,
1428
WreckSpin
,
1429
WreckAerial
,
1430
WreckAlleyOop
,
1431
WreckRoll
,
1432
WreckCorkscrew
,
1433
WreckSpinOff
,
1434
WreckRodeo
,
1435
WreckFlipFlap
,
1436
WreckTwister
,
1437
WreckFreeStyle
,
1438
WreckSpinningMix
,
1439
WreckFlippingChaos
,
1440
WreckRollingMadness
,
1441
TimePenalty
,
1442
RespawnPenalty
,
1443
Grind
,
1444
Reset
,
1445
};
1449
const
EType
Type
;
1453
const
CTmPlayer
Player
;
1457
Integer
RaceTime
;
1461
const
Integer
CheckpointInRace
;
1465
const
Integer
CheckpointInLap
;
1469
const
Boolean
IsEndLap
;
1473
const
Boolean
IsEndRace
;
1477
Integer
LapTime
;
1481
Integer
StuntsScore
;
1485
Integer
NbRespawns
;
1489
const
Ident
BlockId
;
1493
Real
Speed
;
1497
Real
Distance
;
1501
Real
Damages
;
1505
const
EStuntFigure
StuntFigure
;
1509
const
Integer
Angle
;
1513
const
Integer
Points
;
1517
const
Integer
Combo
;
1521
const
Boolean
IsStraight
;
1525
const
Boolean
IsReverse
;
1529
const
Boolean
IsMasterJump
;
1533
const
Real
Factor
;
1534
};
1535
1536
struct
CSmPlayer
:
public
CPlayer
{
1537
enum
ESpawnStatus
{
1538
NotSpawned
,
1539
Spawning
,
1540
Spawned
,
1541
};
1545
const
Text
Name
;
1549
const
Text
Login
;
1553
const
Integer
RequestedClan
;
1557
const
Boolean
RequestsSpectate
;
1561
const
CSmScore
Score
;
1565
Integer
SoloTime
;
1569
Integer
SoloScore
;
1573
Real
BotAgressivity
;
1577
Integer
BotAgressivityDoublingTime
;
1581
Integer
BotPathOffset
;
1585
Real
BotPathSpeedCoef
;
1589
const
ESpawnStatus
SpawnStatus
;
1593
const
Boolean
IsFakePlayer
;
1597
const
Boolean
IsTouchingGround
;
1601
const
Integer
CurrentClan
;
1605
Real
AmmoGain
;
1609
Real
AmmoPower
;
1613
const
Boolean
AutoSwitchWeapon
;
1617
Integer
Armor
;
1621
Integer
ArmorMax
;
1625
Integer
ArmorGain
;
1629
Real
ArmorPower
;
1633
const
Integer
Stamina
;
1637
Real
StaminaMax
;
1641
Real
StaminaGain
;
1645
Real
StaminaPower
;
1649
const
Integer
StartTime
;
1653
Integer
EndTime
;
1657
Boolean
IsHighlighted
;
1661
const
Vec3
Position
;
1665
const
Real
AimYaw
;
1669
const
Real
AimPitch
;
1673
const
Vec3
AimDirection
;
1677
const
Boolean
IsUnderground
;
1681
const
Boolean
IsInOffZone
;
1685
const
Boolean
IsCapturing
;
1689
const
CSmBlockPole
BlockPole
;
1690
};
1691
1692
struct
CSmModeEvent
:
public
CNod
{
1693
enum
EType
{
1694
Unknown
,
1695
OnShoot
,
1696
OnHit
,
1697
OnArmorEmpty
,
1698
OnCapture
,
1699
OnPlayerRequestRespawn
,
1700
};
1704
const
EType
Type
;
1708
const
CSmPlayer
Player
;
1712
Integer
Damage
;
1716
Integer
ShooterPoints
;
1720
const
CSmPlayer
Shooter
;
1724
const
CSmPlayer
Victim
;
1728
const
Integer
WeaponNum
;
1732
const
CSmBlockPole
BlockPole
;
1733
};
1734
1735
struct
CSmBase
:
public
CNod
{
1739
Integer
Clan
;
1743
Boolean
IsActive
;
1744
};
1745
1746
struct
CSmBlock
:
public
CNod
{
1750
const
Text
Tag
;
1754
const
Integer
Order
;
1758
const
Vec3
Position
;
1762
const
Vec3
DirFront
;
1766
const
CSmBase
Base
;
1767
};
1768
1769
struct
CSmBlockSpawn
:
public
CSmBlock
{
1770
};
1771
1772
struct
CSmBlockPole
:
public
CSmBlock
{
1776
Boolean
Captured
;
1780
const
CSmSector
Sector
;
1784
const
CSmGauge
Gauge
;
1785
};
1786
1787
struct
CSmScore
:
public
CScore
{
1791
Integer
Points
;
1795
Integer
RoundPoints
;
1799
const
Integer
NbEliminationsInflicted
;
1803
const
Integer
NbEliminationsTaken
;
1807
const
Integer
NbRespawnsRequested
;
1811
const
Integer
DamageInflicted
;
1815
const
Integer
DamageTaken
;
1819
Void
Reset
();
1820
};
1821
1822
struct
CMlScriptIngame
:
public
CMlScript
{
1823
enum
LinkType
{
1824
ExternalBrowser
,
1825
ManialinkBrowser
,
1826
Goto
,
1827
ExternalFromId
,
1828
ManialinkFromId
,
1829
GotoFromId
,
1830
};
1834
const
Integer
GameTime
;
1838
const
CMap
Map
;
1842
Void
ShowCurChallengeCard
();
1846
const
CUser
LocalPlayerInfo
;
1850
Void
JoinTeam1
();
1854
Void
JoinTeam2
();
1855
};
1856
1857
struct
CTmMlPlayer
:
public
CPlayer
{
1858
enum
ERaceState
{
1859
BeforeStart
,
1860
Running
,
1861
Finished
,
1862
Eliminated
,
1863
};
1867
const
ERaceState
RaceState
;
1871
const
Integer
RaceStartTime
;
1875
const
Integer
LapStartTime
;
1879
CTmResult
CurRace
;
1883
CTmResult
CurLap
;
1887
const
Integer
CurrentNbLaps
;
1891
const
Integer
CurTriggerIndex
;
1895
const
Integer
CurCheckpointRaceTime
;
1899
const
Integer
CurCheckpointLapTime
;
1900
};
1901
1902
struct
CTeam
:
public
CNod
{
1906
Text
Name
;
1910
Text
ZonePath
;
1914
const
Text
ColorText
;
1918
const
Text
ColorizedName
;
1919
};
1920
1921
struct
CMap
:
public
CNod
{
1925
const
CMapInfo
MapInfo
;
1929
Text
MapName
;
1933
Text
Comments
;
1937
const
Text
AuthorZoneIconUrl
;
1941
const
Text
CollectionName
;
1945
const
Text
AuthorLogin
;
1949
const
Text
AuthorNickName
;
1953
const
Text
AuthorZonePath
;
1957
const
Text
MapType
;
1961
const
Text
MapStyle
;
1965
Integer
TMObjective_AuthorTime
;
1969
Integer
TMObjective_GoldTime
;
1973
Integer
TMObjective_SilverTime
;
1977
Integer
TMObjective_BronzeTime
;
1981
Text
ObjectiveTextAuthor
;
1985
Text
ObjectiveTextGold
;
1989
Text
ObjectiveTextSilver
;
1993
Text
ObjectiveTextBronze
;
1997
const
Integer
CopperPrice
;
2001
const
Int3
Size
;
2002
};
2003
2004
struct
CBlockModel
:
public
CCollector
{
2005
enum
EWayPointType
{
2006
Start
,
2007
Finish
,
2008
Checkpoint
,
2009
None
,
2010
StartFinish
,
2011
InsideToOutsideZ
,
2012
InsideToOutsideY
,
2013
};
2017
const
Text
Name
;
2021
const
Boolean
IsRoad
;
2025
const
Boolean
IsTerrain
;
2029
const
EWayPointType
WayPointType
;
2033
const
Boolean
NoRespawn
;
2037
const
CBlockModelVariantGround
VariantGround
;
2041
const
CBlockModelVariantAir
VariantAir
;
2042
};
2043
2044
struct
CMacroblockModel
:
public
CCollector
{
2048
const
Boolean
IsGround
;
2052
const
Boolean
HasStart
;
2056
const
Boolean
HasFinish
;
2060
const
Boolean
HasCheckpoint
;
2064
Boolean
IsPureTerrain
;
2068
const
CBlockModel
GeneratedBlockModel
;
2072
const
Text
Name
;
2073
};
2074
2075
struct
CBlock
:
public
CNod
{
2076
enum
CardinalDirections
{
2077
North
,
2078
East
,
2079
South
,
2080
West
,
2081
};
2085
const
Integer
BlockScriptId
;
2089
const
Boolean
CanHaveAnchor
;
2093
Void
UseDefaultAnchor
();
2097
Void
UseCustomAnchor
();
2101
const
Int3
Coord
;
2105
const
CardinalDirections
Direction
;
2109
const
CBlockUnit
[]
BlockUnits
;
2113
const
CBlockModel
BlockModel
;
2114
};
2115
2116
struct
CAnchorData
:
public
CNod
{
2120
const
Text
DefaultTag
;
2124
const
Integer
DefaultOrder
;
2128
Text
Tag
;
2132
Integer
Order
;
2133
};
2134
2135
struct
CPluginEvent
:
public
CNod
{
2136
enum
Type
{
2137
CursorSelectionBegin
,
2138
CursorSelectionEnd
,
2139
CursorChange
,
2140
MapModified
,
2141
EditAnchor
,
2142
EditObjectives
,
2143
StartValidation
,
2144
};
2148
const
Type
Type
;
2152
const
Ident
EditedAnchorDataId
;
2153
};
2154
2155
struct
CMapType
:
public
CPlugin
{
2156
enum
ValidationStatus
{
2157
NotValidable
,
2158
Validable
,
2159
Validated
,
2160
};
2164
Boolean
CustomEditAnchorData
;
2168
Void
ClearMapMetadata
();
2172
ValidationStatus
ValidationStatus
;
2176
Text
ValidabilityRequirementsMessage
;
2180
const
Boolean
ValidationEndRequested
;
2184
Void
RequestEnterPlayground
();
2188
Void
RequestLeavePlayground
();
2192
const
Boolean
IsSwitchedToPlayground
;
2193
};
2194
2195
struct
CMlFrame
:
public
CMlControl
{
2196
enum
EControlType
{
2197
Audio
,
2198
Entry
,
2199
FileEntry
,
2200
Frame
,
2201
Label
,
2202
Quad
,
2203
Video
,
2204
};
2208
const
CMlControl
[]
Controls
;
2212
CMlControl
GetFirstChild
(
Text
ControlId
);
2213
};
2214
2215
struct
CUILayer
:
public
CNod
{
2216
enum
EUILayerType
{
2217
Normal
,
2218
ScoresTable
,
2219
ScreenIn3d
,
2220
};
2224
Boolean
IsVisible
;
2228
EUILayerType
Type
;
2232
Text
ManialinkPage
;
2233
};
2234
2235
struct
CUser
:
public
CNod
{
2239
const
Text
ZonePath
;
2243
const
Text
Name
;
2247
const
Text
Login
;
2251
const
Text
Language
;
2252
};
2253
2254
struct
CMapInfo
:
public
CNod
{
2258
const
Text
Comments
;
2262
const
Integer
CopperPrice
;
2266
const
Text
CollectionName
;
2270
const
Text
AuthorLogin
;
2274
const
Text
AuthorNickName
;
2278
const
Text
AuthorZonePath
;
2282
const
Text
MapType
;
2286
const
Text
MapStyle
;
2290
const
Boolean
Unlocked
;
2294
const
Text
Name
;
2298
const
Text
Path
;
2299
};
2300
2301
struct
CUIConfigMgr
:
public
CNod
{
2305
Void
ResetAll
();
2309
const
CUIConfig
UIAll
;
2313
const
CUIConfig
[]
UI
;
2317
CUIConfig
GetUI
(
CPlayer
Player);
2321
const
CUILayer
[]
UILayers
;
2325
CUILayer
UILayerCreate
();
2329
Void
UILayerDestroy
(
CUILayer
Layer);
2333
Void
UILayerDestroyAll
();
2334
};
2335
2336
struct
CXmlRpc
:
public
CNod
{
2340
const
CXmlRpcEvent
[]
PendingEvents
;
2344
Void
SendCallback
(
Text
Param1,
Text
Param2);
2345
};
2346
2347
struct
CPlayer
:
public
CNod
{
2351
const
CUser
User
;
2355
const
Text
Login
;
2356
};
2357
2358
struct
CTmResult
:
public
CNod
{
2359
enum
ETmRaceResultCriteria
{
2360
Time
,
2361
Stunts
,
2362
NbRespawns
,
2363
CheckpointsProgress
,
2364
None
,
2365
};
2369
Integer
Time
;
2373
Integer
StuntsScore
;
2377
Integer
NbRespawns
;
2381
Integer
[]
Checkpoints
;
2385
Integer
Compare
(
CTmResult
Other,
ETmRaceResultCriteria
Criteria);
2386
};
2387
2388
struct
CScore
:
public
CNod
{
2392
const
CUser
User
;
2396
const
Boolean
IsRegisteredForLadderMatch
;
2400
const
Real
LadderScore
;
2404
Integer
LadderRankSortValue
;
2405
};
2406
2407
struct
CGhost
:
public
CNod
{
2408
};
2409
2410
struct
CSmSector
:
public
CNod
{
2414
const
Ident
[]
PlayersIds
;
2415
};
2416
2417
struct
CSmGauge
:
public
CNod
{
2421
Integer
Clan
;
2425
Real
ValueReal
;
2429
Integer
Value
;
2433
Integer
Max
;
2437
Integer
Speed
;
2438
};
2439
2440
struct
CCollector
:
public
CNod
{
2444
Text
PageName
;
2448
Integer
AmountAvailableCurrent
;
2452
Integer
AmountAvailableMax
;
2453
};
2454
2455
struct
CBlockModelVariantGround
:
public
CBlockModelVariant
{
2456
enum
EnumAutoTerrainPlaceType
{
2457
Auto
,
2458
Force
,
2459
DoNotPlace
,
2460
DoNotDestroy
,
2461
};
2462
};
2463
2464
struct
CBlockModelVariantAir
:
public
CBlockModelVariant
{
2465
};
2466
2467
struct
CBlockUnit
:
public
CNod
{
2471
const
Int3
Offset
;
2475
const
CBlockUnitModel
BlockUnitModel
;
2479
const
CBlock
Block
;
2480
};
2481
2482
struct
CXmlRpcEvent
:
public
CNod
{
2483
enum
EType
{
2484
Unknown
,
2485
Callback
,
2486
};
2490
const
EType
Type
;
2494
const
Text
Param1
;
2498
const
Text
Param2
;
2499
};
2500
2501
struct
CBlockModelVariant
:
public
CNod
{
2505
Text
Name
;
2509
const
Boolean
IsAllUnderground
;
2513
const
Boolean
IsPartUnderground
;
2517
const
Int3
Size
;
2521
const
Int3
OffsetBoundingBoxMin
;
2525
const
Int3
OffsetBoundingBoxMax
;
2529
CBlockUnitModel
[]
BlockUnitModels
;
2530
};
2531
2532
struct
CBlockUnitModel
:
public
CNod
{
2536
const
Int3
Offset
;
2540
const
CBlockModelClip
[]
Clips
;
2541
};
2542
2543
struct
CBlockModelClip
:
public
CBlockModel
{
2544
enum
EnumClipType
{
2545
ClassicClip
,
2546
FreeClipSide
,
2547
FreeClipTop
,
2548
FreeClipBottom
,
2549
};
2550
};
2551
Generated on Thu Jul 26 2012 01:21:00 for ManiaScript by
1.8.1.2