Gamesparks: Remove player from pending match
up vote
0
down vote
favorite
I'm using gamesparks and I need to disconnect player from pendingMatch, if the player is waiting for another player to connect very long time. Found this: match.removePlayersById(playerIdsToRemove)
but I need to have matchID
, to get match
. but don't know how.
Please help me to remove player from match.
thank, you
unity3d gamesparks
add a comment |
up vote
0
down vote
favorite
I'm using gamesparks and I need to disconnect player from pendingMatch, if the player is waiting for another player to connect very long time. Found this: match.removePlayersById(playerIdsToRemove)
but I need to have matchID
, to get match
. but don't know how.
Please help me to remove player from match.
thank, you
unity3d gamesparks
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm using gamesparks and I need to disconnect player from pendingMatch, if the player is waiting for another player to connect very long time. Found this: match.removePlayersById(playerIdsToRemove)
but I need to have matchID
, to get match
. but don't know how.
Please help me to remove player from match.
thank, you
unity3d gamesparks
I'm using gamesparks and I need to disconnect player from pendingMatch, if the player is waiting for another player to connect very long time. Found this: match.removePlayersById(playerIdsToRemove)
but I need to have matchID
, to get match
. but don't know how.
Please help me to remove player from match.
thank, you
unity3d gamesparks
unity3d gamesparks
asked Nov 7 at 12:18
Tatev
264
264
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Use Spark.getMultiplayer().cancelMatchmaking(player, matchShortCode, matchGroup);
matchShortCode
you can get from SparkData and in case you don't have matchGroup
use empty string.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Use Spark.getMultiplayer().cancelMatchmaking(player, matchShortCode, matchGroup);
matchShortCode
you can get from SparkData and in case you don't have matchGroup
use empty string.
add a comment |
up vote
0
down vote
Use Spark.getMultiplayer().cancelMatchmaking(player, matchShortCode, matchGroup);
matchShortCode
you can get from SparkData and in case you don't have matchGroup
use empty string.
add a comment |
up vote
0
down vote
up vote
0
down vote
Use Spark.getMultiplayer().cancelMatchmaking(player, matchShortCode, matchGroup);
matchShortCode
you can get from SparkData and in case you don't have matchGroup
use empty string.
Use Spark.getMultiplayer().cancelMatchmaking(player, matchShortCode, matchGroup);
matchShortCode
you can get from SparkData and in case you don't have matchGroup
use empty string.
answered Nov 8 at 7:48
Tatev
264
264
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53189333%2fgamesparks-remove-player-from-pending-match%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown