Propiedades
Nombre | Tipo | Descripción | Nombre del script |
---|---|---|---|
Invalid status | Bool | Solo lectura Whether the current game is in illegal state, when it is in illegal state, it means the game has lost the value of confrontation, so it is recommended to end the game directly. |
IsInvalid |
Game Time | Int | Solo lectura The length of the current game, in milliseconds. |
GameTimeCount |
Current Round Index | Int | Solo lectura Workflow Current round index, through this value you can get the current round entity. |
CurrentRoundIndex |
Current Phase Index | Int | Solo lectura Workflow Current phase index, by this value you can get the current phase entity. |
CurrentPhaseIndex |
Mode template ID | Int | Solo lectura Preset template ID for UGC mode. |
ModeTemplateID |
Enable Player Revive | Bool | Solo lectura Player Disable player resurrection if off |
EnablePlayerRevive |
Enable Bot Revive | Bool | Solo lectura Player Disable Bot resurrection if off |
EnableBotRevive |
Revival CD | Int | Solo lectura Player Resurrection time in seconds |
ReviveCD |
Team Count | Int | Solo lectura Team Total number of teams in the game |
TeamNum |
Team Member Count | Int | Solo lectura Team Number of members in each team |
TeamMemberNum |
Equipment reset each round | Bool | Solo lectura Items Whether or not to reset equipment every round |
ResetEquipment |
Enable out-of-zone damage | Bool | Solo lectura Safe Zone Whether or not to enable out-of-zone mechanic |
SafeZoneEnabled |
Zone size | Float | Solo lectura Safe Zone Safe Zone Size |
SafeZoneSize |
Zone shrink start time | Float | Solo lectura Safe Zone Shrinking Start Time |
SafeZoneStartTime |
Zone shrink duration | Float | Solo lectura Safe Zone Shrinking Duration |
SafeZoneShrinkTime |
Out-of-zone damage | Float | Solo lectura Safe Zone Out-of-Zone Damage |
SafeZoneDamage |
Target score | Int | Solo lectura Game Results (Deprecated, please do not use) |
TargetScore |
Elimination score | Int | Solo lectura Game Results (Deprecated, please do not use) |
KillingScore |
Revival type | Int | Solo lectura Player Revival Type |
ReviveType |
Round score ranking criteria (player) | Int List | Game Results (Deprecated, please do not use) |
PlayerRoundScoreType |
Criteria importance (player) | Int List | Game Results (Deprecated, please do not use) |
PlayerRoundSortType |
Round score ranking criteria (team) | Int List | Game Results (Deprecated, please do not use) |
TeamRoundScoreType |
Criteria importance (team) | Int List | Game Results (Deprecated, please do not use) |
TeamRoundSortType |
Score ranking criteria (MVP) | Int List | Game Results (Deprecated, please do not use) |
MVPScoreType |
Criteria importance (MVP) | Int List | Game Results (Deprecated, please do not use) |
MVPScoreWeight |
Round ranking score | Int List | Game Results (Deprecated, please do not use) |
RoundScore |
Show criteria on results page | Int List | Game Results (Deprecated, please do not use) |
ShowScoreTypeResult |
Total Round Count | Int | Solo lectura Workflow Total Round Count |
TotalRoundCount |
Total Score | Int | Game Results (Deprecated, please do not use) |
TeamScoreType |
Team Rank | Int | Game Results (Deprecated, please do not use) |
TeamScoreOrder |
Individual Score | Int | Game Results (Deprecated, please do not use) |
PlayerScoreType |
Player Rank | Int | Game Results (Deprecated, please do not use) |
PlayerScoreOrder |
Get coins when match begins | Int | Economy Number of coins gained at the start of the round |
EcoCoinRoundBegin |
Get coins for eliminating | Int | Economy Number of coins at kill |
EcoCoinKill |
Get coins for victory | Int | Economy Number of coins when you win |
EcoCoinWin |
Display coin amount or not | Bool | Economy Whether to show wallet UI |
IsShowCoin |
Skybox | Skybox | Scene Skybox Entity |
SkyboxEnv |
Frame Count | Int | Solo lectura Cumulative running frames since game start |
GameFrameCount |
Enable Move | Bool | Solo lectura Player Enable Move |
IsMoveable |
Custom Game Result | Bool | STD Library Whether to customize the settlement |
CustomGameResult |
Allow joining midway | Bool | Solo lectura Whether to allow joining in the middle of the game |
EnableJoin |
Enable low-graphics mode | Bool | Solo lectura Enable low frame rate mode, the game will run at 15FPS, otherwise 30FPS |
EnableLowFrame |
Delta Time | Int | Solo lectura Logical frame update interval between two game server updates |
DeltaTime |
Fixed Delta Time | Int | Solo lectura Fixed frame update interval in milliseconds |
FixedDeltaTime |
Event
Nombre | Descripción |
---|---|
On Game Start | Triggered when the game starts, the server will be ready some time earlier than the client |
On Game End | Triggered at the end of the game. This event is triggered before the game ends on the server. |
On Round Start | Triggered at the start of each round |
On Round End | Triggered at the end of each round |
On Phase Start | Triggered at the beginning of each phase |
On Phase End | Triggered at the end of each phase |
On Player Quit | Triggered when a player quits |
On Player Score Change[Obsoleto] | Triggered when the player’s score changes |
On Team Score Change[Obsoleto] | Triggered when the team score changes |
On Player Be Eliminated | Triggered when a player dies |
On Player Assist | Triggered when a player assists |
On Player Deal Damage | Triggered when a player deals damage |
On Player Eliminate | Triggered when a player causes a kill |
On Player Join | Triggered when a player joins the game |
On Player Revived | Triggered when a player is respwaned |
On Team Remove | Triggered when a team is removed |
On Team Add | Triggered when a team is added |
On Team Ace | Triggered when a team is aced |
On Scene Load | Triggered when a scene is loaded successfully |
On Scene Switch | Triggered when the scene switches successfully |
On Camera Raycast | This event is triggered when the camera ray detection is triggered by a client click event |
On Game Pause | Fired after calling the pause game API |
On Game Resume | Triggered after calling the resume game API |