SimpleRanking

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

Import Statement: import VPlay 2.0
Inherits:

Item

Properties

Methods

Detailed Description

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

See also VPlayMultiplayer::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.


Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support