RequestPlayersForGameResultCallback
Swift
public struct RequestPlayersForGameResultCallback: Sendable
Steamworks RequestPlayersForGameResultCallback_t
Topics
var result: Result
var result: Result
var searchID: UInt64
var searchID: UInt64
var playerFound: SteamID
var playerFound: SteamID
var lobby: SteamID
var lobby: SteamID
var playerAcceptState: PlayerAcceptState
var playerAcceptState: PlayerAcceptState
var playerIndex: Int
var playerIndex: Int
var totalPlayersFound: Int
var totalPlayersFound: Int
var totalPlayersAcceptedGame: Int
var totalPlayersAcceptedGame: Int
var suggestedTeamIndex: Int
var suggestedTeamIndex: Int
var uniqueGameID: GameID
var uniqueGameID: GameID
init(result: Result, searchID: UInt64, playerFound: SteamID, lobby: SteamID, playerAcceptState: PlayerAcceptState, playerIndex: Int, totalPlayersFound: Int, totalPlayersAcceptedGame: Int, suggestedTeamIndex: Int, uniqueGameID: GameID)
init(result: Result, searchID: UInt64, playerFound: SteamID, lobby: SteamID, playerAcceptState: PlayerAcceptState, playerIndex: Int, totalPlayersFound: Int, totalPlayersAcceptedGame: Int, suggestedTeamIndex: Int, uniqueGameID: GameID)
Create a customized RequestPlayersForGameResultCallback
Declaration
Swift
public init(
result: Result = .none, searchID: UInt64 = 0,
playerFound: SteamID = SteamID(), lobby: SteamID = SteamID(),
playerAcceptState: PlayerAcceptState = .unknown, playerIndex: Int = 0,
totalPlayersFound: Int = 0, totalPlayersAcceptedGame: Int = 0,
suggestedTeamIndex: Int = 0, uniqueGameID: GameID = GameID())