RemoveData||doc136346

September 20, 2022

Format

RankDataStore:RemoveData(key)

Describe

Remove the value on the key corresponding to the leaderboard data.

parameter

Variable name Type Describe
key string key

Code example

Remove the combat effectiveness data of a player from the "player combat effectiveness" leaderboard data.

local playerPowerData = Engine.DataService:GetRankDataStore("PlayerPower")
playerPowerData:RemoveData("Player_A")