Game entity

Global

STD Library
कॉम्पोनेन्ट
कंबाइन:
entity

Global entity, unique for the entire game

प्रॉपर्टी

नाम टाइप विवरण स्क्रिप्ट का नाम
Invalid status Bool सिर्फ़ पढ़ सकते हैं
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 सिर्फ़ पढ़ सकते हैं
The length of the current game, in milliseconds.
GameTimeCount
Current Round Index Int सिर्फ़ पढ़ सकते हैं Workflow
Current round index, through this value you can get the current round entity.
CurrentRoundIndex
Current Phase Index Int सिर्फ़ पढ़ सकते हैं Workflow
Current phase index, by this value you can get the current phase entity.
CurrentPhaseIndex
Mode template ID Int सिर्फ़ पढ़ सकते हैं
Preset template ID for UGC mode.
ModeTemplateID
Enable Player Revive Bool सिर्फ़ पढ़ सकते हैं Player
Disable player resurrection if off
EnablePlayerRevive
Enable Bot Revive Bool सिर्फ़ पढ़ सकते हैं Player
Disable Bot resurrection if off
EnableBotRevive
Revival CD Int सिर्फ़ पढ़ सकते हैं Player
Resurrection time in seconds
ReviveCD
Team Count Int सिर्फ़ पढ़ सकते हैं Team
Total number of teams in the game
TeamNum
Team Member Count Int सिर्फ़ पढ़ सकते हैं Team
Number of members in each team
TeamMemberNum
Equipment reset each round Bool सिर्फ़ पढ़ सकते हैं Items
Whether or not to reset equipment every round
ResetEquipment
Enable out-of-zone damage Bool सिर्फ़ पढ़ सकते हैं Safe Zone
Whether or not to enable out-of-zone mechanic
SafeZoneEnabled
Zone size Float सिर्फ़ पढ़ सकते हैं Safe Zone
Safe Zone Size
SafeZoneSize
Zone shrink start time Float सिर्फ़ पढ़ सकते हैं Safe Zone
Shrinking Start Time
SafeZoneStartTime
Zone shrink duration Float सिर्फ़ पढ़ सकते हैं Safe Zone
Shrinking Duration
SafeZoneShrinkTime
Out-of-zone damage Float सिर्फ़ पढ़ सकते हैं Safe Zone
Out-of-Zone Damage
SafeZoneDamage
Target score Int सिर्फ़ पढ़ सकते हैं Game Results
(Deprecated, please do not use)
TargetScore
Elimination score Int सिर्फ़ पढ़ सकते हैं Game Results
(Deprecated, please do not use)
KillingScore
Revival type Int सिर्फ़ पढ़ सकते हैं 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 सिर्फ़ पढ़ सकते हैं 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 सिर्फ़ पढ़ सकते हैं
Cumulative running frames since game start
GameFrameCount
Enable Move Bool सिर्फ़ पढ़ सकते हैं Player
Enable Move
IsMoveable
Custom Game Result Bool STD Library
Whether to customize the settlement
CustomGameResult
Allow joining midway Bool सिर्फ़ पढ़ सकते हैं
Whether to allow joining in the middle of the game
EnableJoin
Enable low-graphics mode Bool सिर्फ़ पढ़ सकते हैं
Enable low frame rate mode, the game will run at 15FPS, otherwise 30FPS
EnableLowFrame
Delta Time Int सिर्फ़ पढ़ सकते हैं
Logical frame update interval between two game server updates
DeltaTime
Fixed Delta Time Int सिर्फ़ पढ़ सकते हैं
Fixed frame update interval in milliseconds
FixedDeltaTime

Event

नाम विवरण
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[अप्रचलित] Triggered when the player’s score changes
On Team Score Change[अप्रचलित] 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