Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

SimpleRanking

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

Import Statement: import Felgo 3.0
Inherits:

Item

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.


Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded