# SScoreRank

**Members** 5

|          |                                             |                                               |
| -------- | ------------------------------------------- | --------------------------------------------- |
| Property | [Level](#level)                             | The level of current activity.                |
| Property | [AllTimeLeaderboard](#alltimeleaderboard)   | The AllTimeLeaderboard of current activity.   |
| Property | [DailyLeaderboard](#dailyleaderboard)       | The daily Leaderboard of current activity.    |
| Property | [AllTimePlayerRecord](#alltimeplayerrecord) | The AllTimePlayerRecord of current activity.  |
| Property | [DailyPlayerRecord](#dailyplayerrecord)     | The daily player records of current activity. |

## Properties

### Level

int Level {get; }

The level of current activity.

Example

**Lua**

```lua
Space.Activity.FinishActivity(99956,100,0,function (rank)
    Space.Log(rank.Level)
end)

```

### AllTimeLeaderboard

SScore\[] AllTimeLeaderboard {get; }

The AllTimeLeaderboard of current activity.

Example

**Lua**

```lua
Space.Activity.FinishActivity(99956,100,0,function (rank)
    local leaderBoard=rank.AllTimeLeaderboard
    for i=1,#leaderBoard do
    Space.Log(leaderBoard[i].Rank)
    Space.Log(leaderBoard[i].Score)
    Space.Log(leaderBoard[i].Username)
    end
end)

```

### DailyLeaderboard

SScore\[] DailyLeaderboard {get; }

The daily Leaderboard of current activity.

Example

**Lua**

```lua
Space.Activity.FinishActivity(99956,100,0,function (rank)
    local leaderBoard=rank.DailyLeaderboard
    for i=1,#leaderBoard do
    Space.Log(leaderBoard[i].Rank)
    Space.Log(leaderBoard[i].Score)
    Space.Log(leaderBoard[i].Username)
    end
end)

```

### AllTimePlayerRecord

SScore AllTimePlayerRecord {get; }

The AllTimePlayerRecord of current activity.

Example

**Lua**

```lua
Space.Activity.FinishActivity(99956,100,0,function (rank)
    local record=rank.AllTimePlayerRecord
    Space.Log(record.Rank)
    Space.Log(record.Score)
    Space.Log(record.Username)
end)

```

### DailyPlayerRecord

SScore DailyPlayerRecord {get; }

The daily player records of current activity.

Example

**Lua**

```lua
Space.Activity.FinishActivity(99956,100,0,function (rank)
    local record=rank.DailyPlayerRecord
    Space.Log(record.Rank)
    Space.Log(record.Score)
    Space.Log(record.Username)
end)

```
