MGL リーダーボードサーバ  
 [詳解]
#include <mgl_leaderboard_server.h>
◆ State
ステート 
| 列挙値 | 
|---|
| NotReady  | 準備できていない  
 | 
| Ready  | 準備完了  
 | 
| FetchEntryData  | エントリ取得中  
 | 
| ReportScore  | スコア送信中  
 | 
| UploadClipData  | クリップデータをアップロード中  
 | 
| DownloadClipData  | クリップデータをダウンロード中  
 | 
 
 
◆ DownloadClipData()
  
  
      
        
          | bool MGL::Leaderboard::Server::DownloadClipData  | 
          ( | 
          uint64_t |           clipID | ) | 
           | 
         
       
   | 
  
noexcept   | 
  
 
 
◆ FetchEntryData()
  
  
      
        
          | bool MGL::Leaderboard::Server::FetchEntryData  | 
          ( | 
          Identifier |           identifier,  | 
         
        
           | 
           | 
          uint32_t |           startRank,  | 
         
        
           | 
           | 
          uint32_t |           requestSize,  | 
         
        
           | 
           | 
          PlayerScope |           playerScope ) | 
         
       
   | 
  
noexcept   | 
  
 
エントリデータを取得 
- 引数
 - 
  
    | [in] | identifier | リーダーボードの識別子  | 
    | [in] | startRank | 取得する最初の順位  | 
    | [in] | requestSize | 取得するエントリ数  | 
    | [in] | playerScope | 取得するプレイヤーのスコープ  | 
  
   
- 戻り値
 - 
  
  
 
 
 
◆ FetchEntryDataAroundUser()
  
  
      
        
          | bool MGL::Leaderboard::Server::FetchEntryDataAroundUser  | 
          ( | 
          Identifier |           identifier,  | 
         
        
           | 
           | 
          uint32_t |           requestSize,  | 
         
        
           | 
           | 
          PlayerScope |           playerScope ) | 
         
       
   | 
  
noexcept   | 
  
 
プレイヤーの順位を中心にエントリデータを取得 
- 引数
 - 
  
    | [in] | identifier | リーダーボードの識別子  | 
    | [in] | requestSize | 取得するエントリ数  | 
    | [in] | playerScope | 取得するプレイヤーのスコープ  | 
  
   
- 戻り値
 - 
  
  
 
 
 
◆ GetClipData()
  
  
      
        
          | const ClipData & MGL::Leaderboard::Server::GetClipData  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenodiscardnoexcept   | 
  
 
ダウンロードしたクリップデータを取得 
- 戻り値
 - クリップデータ 
 
 
 
◆ GetClipDataUploadResults()
クリップデータのアップロード結果を取得 
- 戻り値
 - クリップデータのエラータイプ.成功している場合はErrorType::None 
 
 
 
◆ GetFetchedData()
  
  
      
        
          | const FetchResults & MGL::Leaderboard::Server::GetFetchedData  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenodiscardnoexcept   | 
  
 
 
◆ GetInstanceRef()
◆ GetReportResults()
  
  
      
        
          | const ReportResults & MGL::Leaderboard::Server::GetReportResults  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenodiscardnoexcept   | 
  
 
 
◆ GetState()
  
  
      
        
          | State MGL::Leaderboard::Server::GetState  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenodiscardconstexprnoexcept   | 
  
 
 
◆ Initialize()
◆ IsProcessing()
  
  
      
        
          | bool MGL::Leaderboard::Server::IsProcessing  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinenodiscardconstexprnoexcept   | 
  
 
 
◆ ReportScore()
  
  
      
        
          | bool MGL::Leaderboard::Server::ReportScore  | 
          ( | 
          Identifier |           identifier,  | 
         
        
           | 
           | 
          uint64_t |           score,  | 
         
        
           | 
           | 
          const OptionDataArray & |           options ) | 
         
       
   | 
  
noexcept   | 
  
 
スコアの送信 
- 引数
 - 
  
    | [in] | identifier | リーダーボードの識別子  | 
    | [in] | score | 送信するスコア  | 
    | [in] | options | 送信するオプションデータ  | 
  
   
- 戻り値
 - 
  
  
 
 
 
◆ UploadClipData()
  
  
      
        
          | bool MGL::Leaderboard::Server::UploadClipData  | 
          ( | 
          Identifier |           identifier,  | 
         
        
           | 
           | 
          const ClipData & |           clipData ) | 
         
       
   | 
  
noexcept   | 
  
 
クリップデータの送信 
- 引数
 - 
  
    | [in] | identifier | リーダーボードの識別子  | 
    | [in] | clipData | 送信するクリップデータ  | 
  
   
- 戻り値
 - 
  
  
 
 
 
このクラス詳解は次のファイルから抽出されました: