iFun Engine API  1.0.0-b5008
Great Technology for Great Games
Public Types | Static Public Member Functions | List of all members
fun::MatchmakingServer Class Reference

Public Types

typedef MatchmakingClient::CancelResult CancelResult
 
typedef function< MatchState(const Match &)> CompletionChecker
 
typedef function< void(const Player &, Match *)> JoinCallback
 
typedef function< void(const Player &, Match *)> LeaveCallback
 
typedef MatchmakingClient::Match Match
 
typedef function< bool(const Player &, const Match &)> MatchChecker
 
typedef MatchmakingClient::MatchId MatchId
 
typedef MatchmakingClient::MatchResult MatchResult
 
enum  MatchState { kMatchNeedMorePlayer = 0, kMatchComplete }
 
typedef MatchmakingClient::Player Player
 
typedef MatchmakingClient::Type Type
 

Static Public Member Functions

static void Start (const MatchChecker &match_checker, const CompletionChecker &completion_checker, const JoinCallback &join_cb, const LeaveCallback &leave_cb)