Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

SimpleRanking

SimpleRanking defines a simple multiplayer ranking strategy. It is the default FelgoMultiplayer::rankingStrategy. More...

Import Statement: import Felgo 3.0

Properties

Methods

Detailed Description

SimpleRanking defines a simple multiplayer ranking strategy. It is the default FelgoMultiplayer::rankingStrategy.

See also FelgoMultiplayer::rankingStrategy and NoRanking.

Property Documentation

level : string

This property contains the current level of the user.


levels : var

This property specifies the mapping of available ranking levels with their corresonding values.


userChangeable : bool

When this property is set the users can change their ranking themselves on the Profile Screen.


Method Documentation

getLevelFor( = ranking)

This method returns the corresponging level for a ranking.


getLevelIndexFor( = ranking2)

This method returns the corresponging level for a level index.


getRanking()

This method returns the corresponding ranking value for the level specified in the ranking property.


levelKeys()

This method returns a list of the available level keys.