HIVE SDK for C++

Static Public Member Functions | List of all members
MatchMaking Class Reference

Hive MatchMaking connects players for online matches and provides relevant data. More...

#include <HIVE_MatchMaking.h>

Static Public Member Functions

static void requestMatchMaking (int matchId, int point, const char *extraData, onMatchMakingData listener)
 Matching Request
More...
 
static void getRequestingStatus (int matchId, onMatchMakingData listener)
 Check Matching Status
More...
 
static void deleteRequesting (int matchId, onMatchMakingResult listener)
 Delete Matching Request
More...
 
static void createGroup (int matchId, int point, const char *extraData, onMatchMakingGroupData listener)
 Create a matching group
More...
 
static void joinGroup (int matchId, const char *groupCode, int point, const char *extraData, onMatchMakingGroupData listener)
 Join a matching group
More...
 
static void leaveGroup (int matchId, onMatchMakingResult listener)
 Leave a matching group
More...
 
static void kickGroupUser (int matchId, PlayerID targetPlayerId, onMatchMakingGroupData listener)
 Kick a group member
More...
 
static void getGroupInfoByUser (int matchId, onMatchMakingGroupData listener)
 Get group information (based on group users)
More...
 
static void getGroupInfoByGroupCode (const char *groupCode, onMatchMakingGroupData listener)
 Get group information (based on group code)
More...
 
static void updateGroupUser (int matchId, bool ready, int point, const char *extraData, onMatchMakingGroupData listener)
 Modify member information
More...
 
static void requestGroupMatching (int matchId, onMatchMakingGroupData listener)
 Request group matching
More...
 
static void deleteGroupMatching (int matchId, onMatchMakingGroupData listener)
 Cancel group matching request
More...
 

Detailed Description

Hive MatchMaking connects players for online matches and provides relevant data.


Hive MatchMaking feature makes it simple to get matches for your players without having to implement specific matchmaking logic in your game.
It provides a balanced gaming experience by matching players with opponents of similar skill level.

Since
4.24.5.0

Member Function Documentation

◆ createGroup()

static void MatchMaking::createGroup ( int  matchId,
int  point,
const char *  extraData,
onMatchMakingGroupData  listener 
)
static

Create a matching group

Create a matching group.

Since
4.25.0.0

◆ deleteGroupMatching()

static void MatchMaking::deleteGroupMatching ( int  matchId,
onMatchMakingGroupData  listener 
)
static

Cancel group matching request

Cancel group matching request.

Since
4.25.0.0

◆ deleteRequesting()

static void MatchMaking::deleteRequesting ( int  matchId,
onMatchMakingResult  listener 
)
static

Delete Matching Request

Deletes the requested match.

Since
4.24.5.0

◆ getGroupInfoByGroupCode()

static void MatchMaking::getGroupInfoByGroupCode ( const char *  groupCode,
onMatchMakingGroupData  listener 
)
static

Get group information (based on group code)

Get group information based on group code.

Since
4.25.0.0

◆ getGroupInfoByUser()

static void MatchMaking::getGroupInfoByUser ( int  matchId,
onMatchMakingGroupData  listener 
)
static

Get group information (based on group users)

Get group information based on user information.

Since
4.25.0.0

◆ getRequestingStatus()

static void MatchMaking::getRequestingStatus ( int  matchId,
onMatchMakingData  listener 
)
static

Check Matching Status

You can check the status of your requested matching.

Since
4.24.5.0

◆ joinGroup()

static void MatchMaking::joinGroup ( int  matchId,
const char *  groupCode,
int  point,
const char *  extraData,
onMatchMakingGroupData  listener 
)
static

Join a matching group

Join a matching group.

Since
4.25.0.0

◆ kickGroupUser()

static void MatchMaking::kickGroupUser ( int  matchId,
PlayerID  targetPlayerId,
onMatchMakingGroupData  listener 
)
static

Kick a group member

Kick a group member

Since
4.25.0.0

◆ leaveGroup()

static void MatchMaking::leaveGroup ( int  matchId,
onMatchMakingResult  listener 
)
static

Leave a matching group

Leave a matching group.

Since
4.25.0.0

◆ requestGroupMatching()

static void MatchMaking::requestGroupMatching ( int  matchId,
onMatchMakingGroupData  listener 
)
static

Request group matching

Request group matching.

Since
4.25.0.0

◆ requestMatchMaking()

static void MatchMaking::requestMatchMaking ( int  matchId,
int  point,
const char *  extraData,
onMatchMakingData  listener 
)
static

Matching Request

You can enter the score(point) to be used when requesting matching.
You can also enter additional information(nickname, level, country, etc.)(extraData) to be used for matching.
ExtraData is delivered as part of the matching results.

Since
4.24.5.0

◆ updateGroupUser()

static void MatchMaking::updateGroupUser ( int  matchId,
bool  ready,
int  point,
const char *  extraData,
onMatchMakingGroupData  listener 
)
static

Modify member information

Group members change their information.

Since
4.25.0.0

The documentation for this class was generated from the following file:
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy