HIVE SDK for Unity3D

Classes | Functions
MatchMaking

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

Classes

class  hive.MatchMaking
 Hive MatchMaking connects players for online matches and provides relevant data. More...
 
class  hive.MatchMaking.MatchMakingData
 Match information returned by the Hive match making server. More...
 
class  hive.MatchMaking.MatchMakingGroupData
 Group Match information returned by the Hive match making server. More...
 

Functions

delegate void hive.MatchMaking.onMatchMakingData (ResultAPI result, MatchMakingData matchMakingData)
 MatchMaking data result callback
More...
 
delegate void hive.MatchMaking.onMatchMakingResult (ResultAPI result)
 MatchMaking result callback
More...
 
delegate void hive.MatchMaking.onMatchMakingGroupData (ResultAPI result, MatchMakingGroupData matchMakingGroupData)
 MatchMaking group match data result callback
More...
 
static void hive.MatchMaking.requestMatchMaking (int matchId, int point, string extraData, onMatchMakingData listener)
 Matching Request
More...
 
static void hive.MatchMaking.getRequestingStatus (int matchId, onMatchMakingData listener)
 Check Matching Status
More...
 
static void hive.MatchMaking.deleteRequesting (int matchId, onMatchMakingResult listener)
 Delete Matching Request
More...
 
static void hive.MatchMaking.createGroup (int matchId, int point, string extraData, onMatchMakingGroupData listener)
 Create group
More...
 
static void hive.MatchMaking.joinGroup (int matchId, string groupCode, int point, string extraData, onMatchMakingGroupData listener)
 Join group
More...
 
static void hive.MatchMaking.leaveGroup (int matchId, onMatchMakingResult listener)
 Leave group
More...
 
static void hive.MatchMaking.kickGroupUser (int matchId, long targetPlayerId, onMatchMakingGroupData listener)
 Kick user from a group
More...
 
static void hive.MatchMaking.getGroupInfoByUser (int matchId, onMatchMakingGroupData listener)
 Search for group information based on users within the group. More...
 
static void hive.MatchMaking.getGroupInfoByGroupCode (string groupCode, onMatchMakingGroupData listener)
 Search for group information based on group code. More...
 
static void hive.MatchMaking.updateGroupUser (int matchId, bool ready, int point, string extraData, onMatchMakingGroupData listener)
 Update group user information. More...
 
static void hive.MatchMaking.requestGroupMatching (int matchId, onMatchMakingGroupData listener)
 Group Matching Request
More...
 
static void hive.MatchMaking.deleteGroupMatching (int matchId, onMatchMakingGroupData listener)
 Delete 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.

Function Documentation

◆ createGroup()

static void hive.MatchMaking.createGroup ( int  matchId,
int  point,
string  extraData,
onMatchMakingGroupData  listener 
)
static

Create group

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.25.0.0

◆ deleteGroupMatching()

static void hive.MatchMaking.deleteGroupMatching ( int  matchId,
onMatchMakingGroupData  listener 
)
static

Delete Group Matching Request

Since
4.25.0.0

◆ deleteRequesting()

static void hive.MatchMaking.deleteRequesting ( int  matchId,
onMatchMakingResult  listener 
)
static

Delete Matching Request

Deletes the requested match.

Since
4.24.5.0

◆ getGroupInfoByGroupCode()

static void hive.MatchMaking.getGroupInfoByGroupCode ( string  groupCode,
onMatchMakingGroupData  listener 
)
static

Search for group information based on group code.


Since
4.25.0.0

◆ getGroupInfoByUser()

static void hive.MatchMaking.getGroupInfoByUser ( int  matchId,
onMatchMakingGroupData  listener 
)
static

Search for group information based on users within the group.


Since
4.25.0.0

◆ getRequestingStatus()

static void hive.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 hive.MatchMaking.joinGroup ( int  matchId,
string  groupCode,
int  point,
string  extraData,
onMatchMakingGroupData  listener 
)
static

Join group

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.25.0.0

◆ kickGroupUser()

static void hive.MatchMaking.kickGroupUser ( int  matchId,
long  targetPlayerId,
onMatchMakingGroupData  listener 
)
static

Kick user from a group

Since
4.25.0.0

◆ leaveGroup()

static void hive.MatchMaking.leaveGroup ( int  matchId,
onMatchMakingResult  listener 
)
static

Leave group

Since
4.25.0.0

◆ onMatchMakingData()

delegate void hive.MatchMaking.onMatchMakingData ( ResultAPI  result,
MatchMakingData  matchMakingData 
)

MatchMaking data result callback

Parameters
resultResult of API call
matchMakingDataRequested match status and match information
See also
#requestMatchMaking(String, int, String, onMatchMakingData)

◆ onMatchMakingGroupData()

delegate void hive.MatchMaking.onMatchMakingGroupData ( ResultAPI  result,
MatchMakingGroupData  matchMakingGroupData 
)

MatchMaking group match data result callback

Parameters
resultResult of API call
matchMakingDataRequested group match status and group match information
See also
#requestGroupMatching(String, int, String, onMatchMakingData)

◆ onMatchMakingResult()

delegate void hive.MatchMaking.onMatchMakingResult ( ResultAPI  result)

MatchMaking result callback

Parameters
resultResult of API call
See also
#deleteRequesting(String, onMatchMakingData)

◆ requestGroupMatching()

static void hive.MatchMaking.requestGroupMatching ( int  matchId,
onMatchMakingGroupData  listener 
)
static

Group Matching Request

Since
4.25.0.0

◆ requestMatchMaking()

static void hive.MatchMaking.requestMatchMaking ( int  matchId,
int  point,
string  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 hive.MatchMaking.updateGroupUser ( int  matchId,
bool  ready,
int  point,
string  extraData,
onMatchMakingGroupData  listener 
)
static

Update group user information.


Since
4.25.0.0
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy