C++ ScoreController::EasyGetScore()

From J2Play

Jump to: navigation, search

Contents

Description

Get the topmost score value of current user.

Syntax

long long ScoreController::EasyGetScore();

Parameters

N/A

Return Value

@return the value of topmost score

Examples

Here is the example to restore the topmost game score

 __int64 toprecord;
 ScoreController* score = CGDKInstnace::GetInstance()->GetScoreController();
 if (score)
 {
   toprecord = score->EasyGetScore();
 }
Personal tools