public class SteamMatchmaking extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SteamMatchmaking.ChatEntry |
static class |
SteamMatchmaking.ChatEntryType |
static class |
SteamMatchmaking.ChatMemberStateChange |
static class |
SteamMatchmaking.ChatRoomEnterResponse |
static class |
SteamMatchmaking.LobbyComparison |
static class |
SteamMatchmaking.LobbyDistanceFilter |
static class |
SteamMatchmaking.LobbyType |
| Modifier and Type | Field and Description |
|---|---|
protected long |
callback |
protected long |
pointer |
| Constructor and Description |
|---|
SteamMatchmaking(SteamMatchmakingCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
int |
addFavoriteGame(int appID,
int ip,
short connPort,
short queryPort,
int flags,
int lastPlayedOnServer) |
void |
addRequestLobbyListCompatibleMembersFilter(SteamID steamIDLobby) |
void |
addRequestLobbyListDistanceFilter(SteamMatchmaking.LobbyDistanceFilter lobbyDistanceFilter) |
void |
addRequestLobbyListFilterSlotsAvailable(int slotsAvailable) |
void |
addRequestLobbyListNearValueFilter(String keyToMatch,
int valueToBeCloseTo) |
void |
addRequestLobbyListNumericalFilter(String keyToMatch,
int valueToMatch,
SteamMatchmaking.LobbyComparison comparisonType) |
void |
addRequestLobbyListResultCountFilter(int maxResults) |
void |
addRequestLobbyListStringFilter(String keyToMatch,
String valueToMatch,
SteamMatchmaking.LobbyComparison comparisonType) |
SteamAPICall |
createLobby(SteamMatchmaking.LobbyType lobbyType,
int maxMembers) |
protected static void |
deleteCallback(long callback) |
boolean |
deleteLobbyData(SteamID steamIDLobby,
String key) |
void |
dispose() |
boolean |
getFavoriteGame(int game,
int[] appID,
int[] ip,
short[] connPort,
short[] queryPort,
int[] flags,
int[] lastPlayedOnServer) |
int |
getFavoriteGameCount() |
SteamID |
getLobbyByIndex(int lobby) |
int |
getLobbyChatEntry(SteamID steamIDLobby,
int chatID,
SteamMatchmaking.ChatEntry chatEntry,
ByteBuffer dest)
Read incoming chat entry into a
SteamMatchmaking.ChatEntry structure,
and a direct ByteBuffer. |
String |
getLobbyData(SteamID steamIDLobby,
String key) |
boolean |
getLobbyDataByIndex(SteamID steamIDLobby,
int lobbyDataIndex,
SteamMatchmakingKeyValuePair keyValuePair) |
int |
getLobbyDataCount(SteamID steamIDLobby) |
boolean |
getLobbyGameServer(SteamID steamIDLobby,
int[] gameServerIP,
short[] gameServerPort,
SteamID steamIDGameServer) |
SteamID |
getLobbyMemberByIndex(SteamID steamIDLobby,
int memberIndex) |
String |
getLobbyMemberData(SteamID steamIDLobby,
SteamID steamIDUser,
String key) |
int |
getLobbyMemberLimit(SteamID steamIDLobby) |
SteamID |
getLobbyOwner(SteamID steamIDLobby) |
int |
getNumLobbyMembers(SteamID steamIDLobby) |
boolean |
inviteUserToLobby(SteamID steamIDLobby,
SteamID steamIDInvitee) |
SteamAPICall |
joinLobby(SteamID steamIDLobby) |
void |
leaveLobby(SteamID steamIDLobby) |
boolean |
removeFavoriteGame(int appID,
int ip,
short connPort,
short queryPort,
int flags) |
boolean |
requestLobbyData(SteamID steamIDLobby) |
SteamAPICall |
requestLobbyList() |
boolean |
sendLobbyChatMsg(SteamID steamIDLobby,
ByteBuffer data)
Sends chat message from a direct
ByteBuffer. |
boolean |
sendLobbyChatMsg(SteamID steamIDLobby,
String data) |
boolean |
setLinkedLobby(SteamID steamIDLobby,
SteamID steamIDLobbyDependent) |
boolean |
setLobbyData(SteamID steamIDLobby,
SteamMatchmakingKeyValuePair keyValuePair) |
boolean |
setLobbyData(SteamID steamIDLobby,
String key,
String value) |
void |
setLobbyGameServer(SteamID steamIDLobby,
int gameServerIP,
short gameServerPort,
SteamID steamIDGameServer) |
boolean |
setLobbyJoinable(SteamID steamIDLobby,
boolean joinable) |
void |
setLobbyMemberData(SteamID steamIDLobby,
SteamMatchmakingKeyValuePair keyValuePair) |
void |
setLobbyMemberData(SteamID steamIDLobby,
String key,
String value) |
boolean |
setLobbyMemberLimit(SteamID steamIDLobby,
int maxMembers) |
boolean |
setLobbyOwner(SteamID steamIDLobby,
SteamID steamIDNewOwner) |
boolean |
setLobbyType(SteamID steamIDLobby,
SteamMatchmaking.LobbyType lobbyType) |
public SteamMatchmaking(SteamMatchmakingCallback callback)
public int getFavoriteGameCount()
public boolean getFavoriteGame(int game,
int[] appID,
int[] ip,
short[] connPort,
short[] queryPort,
int[] flags,
int[] lastPlayedOnServer)
public int addFavoriteGame(int appID,
int ip,
short connPort,
short queryPort,
int flags,
int lastPlayedOnServer)
public boolean removeFavoriteGame(int appID,
int ip,
short connPort,
short queryPort,
int flags)
public SteamAPICall requestLobbyList()
public void addRequestLobbyListStringFilter(String keyToMatch, String valueToMatch, SteamMatchmaking.LobbyComparison comparisonType)
public void addRequestLobbyListNumericalFilter(String keyToMatch, int valueToMatch, SteamMatchmaking.LobbyComparison comparisonType)
public void addRequestLobbyListNearValueFilter(String keyToMatch, int valueToBeCloseTo)
public void addRequestLobbyListFilterSlotsAvailable(int slotsAvailable)
public void addRequestLobbyListDistanceFilter(SteamMatchmaking.LobbyDistanceFilter lobbyDistanceFilter)
public void addRequestLobbyListResultCountFilter(int maxResults)
public void addRequestLobbyListCompatibleMembersFilter(SteamID steamIDLobby)
public SteamID getLobbyByIndex(int lobby)
public SteamAPICall createLobby(SteamMatchmaking.LobbyType lobbyType, int maxMembers)
public SteamAPICall joinLobby(SteamID steamIDLobby)
public void leaveLobby(SteamID steamIDLobby)
public int getNumLobbyMembers(SteamID steamIDLobby)
public boolean setLobbyData(SteamID steamIDLobby, SteamMatchmakingKeyValuePair keyValuePair)
public String getLobbyMemberData(SteamID steamIDLobby, SteamID steamIDUser, String key)
public void setLobbyMemberData(SteamID steamIDLobby, SteamMatchmakingKeyValuePair keyValuePair)
public int getLobbyDataCount(SteamID steamIDLobby)
public boolean getLobbyDataByIndex(SteamID steamIDLobby, int lobbyDataIndex, SteamMatchmakingKeyValuePair keyValuePair)
public boolean sendLobbyChatMsg(SteamID steamIDLobby, ByteBuffer data) throws SteamException
ByteBuffer.SteamExceptionpublic int getLobbyChatEntry(SteamID steamIDLobby, int chatID, SteamMatchmaking.ChatEntry chatEntry, ByteBuffer dest) throws SteamException
SteamMatchmaking.ChatEntry structure,
and a direct ByteBuffer.SteamExceptionpublic boolean requestLobbyData(SteamID steamIDLobby)
public void setLobbyGameServer(SteamID steamIDLobby, int gameServerIP, short gameServerPort, SteamID steamIDGameServer)
public boolean getLobbyGameServer(SteamID steamIDLobby, int[] gameServerIP, short[] gameServerPort, SteamID steamIDGameServer)
public boolean setLobbyMemberLimit(SteamID steamIDLobby, int maxMembers)
public int getLobbyMemberLimit(SteamID steamIDLobby)
public boolean setLobbyType(SteamID steamIDLobby, SteamMatchmaking.LobbyType lobbyType)
public boolean setLobbyJoinable(SteamID steamIDLobby, boolean joinable)
public void dispose()
protected static void deleteCallback(long callback)
Copyright © 2018. All rights reserved.