-
Notifications
You must be signed in to change notification settings - Fork 17
RTMP Service Methods
This is a (probably incomplete) list of the service methods of LoL's RTMP Server. All calls are sent to the destination my-rtmps
.
##Types
Here is a list of some Parameter types which are commonly used on this page.
All types that are not on this list are League of Legends specific classes, that can be found in another article(Soon™)
Type | Description |
---|---|
double | IEEE754 64-Bit double precision floating point number |
int | 32-bit signed integer |
uint | 32-bit unsigned integer |
boolean | true or false |
String | UTF8 encoded string |
null | nothing |
###Methods
Service Name | Method Name | Number of Parameters |
---|---|---|
loginService | login | 1 |
loginService | performLCDSHeartBeat | 4 |
loginService | getStoreUrl | 0 |
###Method details
login
Parameters:
1. AuthenticationCredentials LoginCredentials | The credentials of the user logging in
Returns:
Session
performLCDSHeartBeat
Parameters:
1. int AccountId | An Account ID
2. String SessionToken | The current users SessionToken
3. int HeartbeatCount | Incrementing count of amount of beats
4. String CurrentTime | The current time in ddd MMM d yyyy HH:mm:ss 'GMT-0700' format
Returns:
string
getStoreUrl
Returns:
String
Service Name | Method Name | Number of Parameters |
---|---|---|
accountService | getAccountStateForCurrentSession | 0 |
###Method details getAccountStateForCurrentSession
Returns:
String
###Methods
Service Name | Method Name | Number of Parameters |
---|---|---|
clientFacadeService | getLoginDataPacketForUser | 0 |
clientFacadeService | callKudos | 1 |
###Method details
getLoginDataPacketForUser
Returns:
LoginDataPacket
callKudos
Parameters:
1. String JSONInformation | JSON formatted kudos data
Returns:
LcdsResponseString
###Methods
Service Name | Method Name | Number of Parameters |
---|---|---|
playerPreferenceService | loadPreferencesByKey | 3 |
playerPreferenceService | savePreferences | 1 |
playerPreferenceService | setEnabled | 2 |
###Method details
loadPreferencesByKey
Parameters:
1. String Preference_Key | The key that is being retrieved
2. double ??? | ???
3. boolean ??? | ???
Returns:
???
savePreferences
Parameters:
1. PlayerPreferencesDto PreferenceChange | ???
Returns:
null
setEnabled
Parameters:
1. string ??? | ???
2. double ??? | ???
Returns:
???
###Methods
Service Name | Method Name | Number of Parameters |
---|---|---|
summonerRuneService | getSummonerRunes | 1 |
summonerRuneService | getSummonerRuneInventory | 1 |
###Method details
getSummonerRunes
Parameters:
1. double ??? | ???
Returns:
???
getSummonerRuneInventory
Parameters:
1. double summonerId | A Summoner ID
Returns:
SummonerRuneInventory
###Methods
Service Name | Method Name | Number of Parameters |
---|---|---|
spellBookService | getSpellBook | 1 |
###Method details
getSpellBook
Parameters:
1. double SummonerId | A summoner ID
Returns:
SpellbookDTO
##MasterybookService
###Methods
Service Name | Method Name | Number of Parameters |
---|---|---|
masteryBookService | saveMasteryBook | 1 |
###Method details
saveMasteryBook
Parameters:
1. MasteryBookDTO MasteryBookPage | The set of mastery pages you want to save to server
Returns:
MasteryBookDTO
###Methods
Service Name | Method Name | Number of Parameters |
---|---|---|
summonerService | getAllSummonerDataByAccount | 1 |
summonerService | getSummonerByName | 1 |
summonerService | getAllPublicSummonerDataByAccount | 1 |
summonerService | getSummonerInternalNameByName | 1 |
summonerService | updateProfileIconId | 1 |
summonerService | getSummonerNames | 1 |
###Method details
getAllSummonerDataByAccount
Parameters:
1. double AccountId | An account ID
Returns:
AllSummonerData
getSummonerByName
Parameters:
1. string Summoner_Name | The name of a summoner
Returns:
PublicSummoner
getAllPublicSummonerDataByAccount
Parameters:
1. double AccountId | An account ID
Returns:
AllPublicSummonerDataDTO
getSummonerInternalNameByName
Parameters:
1. string Summoner_Name | The name of a summoner
Returns:
string
updateProfileIconId
Parameters:
1. int IconId | An icon ID
Returns:
null
getSummonerNames
Parameters:
1. double[] Summoner_IDs | An array of summoner IDs
Returns:
String[]
###Methods
Service Name | Method Name | Number of Parameters |
---|---|---|
lcdsRerollService | getPointsBalance | 0 |
lcdsRerollService | roll | 0 |
###Method details
getPointsBalance
Returns:
PointSummary
roll
Returns:
RollResult
###Methods
Service Name | Method Name | Number of Parameters |
---|---|---|
playerStatsService | processEloQuestionaire | 1 |
playerStatsService | getAggregatedStats | 3 |
playerStatsService | getTeamAggregatedStats | 1 |
playerStatsService | getTeamEndOfGameStats | 2 |
playerStatsService | retrievePlayerStatsByAccountId | 2 |
playerStatsService | getRecentGames | 1 |
playerStatsService | retrieveTopPlayedChampions | 2 |
###Method details
processEloQuestionaire
Parameters:
1. String level | "BEGINNER","VETERAN","RTS_PLAYER"
Returns:
null
getAggregatedStats
Parameters:
1. double accountId | An account ID
2. string queue | A Queue name
3. int season | The season
Returns:
AggregatedStats
getTeamAggregatedStats
Parameters:
1. TeamId teamId | A Team ID
Returns:
TeamAggregatedStatsDTO
getTeamEndOfGameStats
Parameters:
1. TeamId teamId | A Team ID
2. double gameId | A game ID
Returns:
EndOfGameStats
retrievePlayerStatsByAccountId
Parameters:
1. double accountId | An account ID
2. int season | The season
Returns:
PlayerLifetimeStats
retrievePlayerStatsByAccountId
Parameters:
1. double accountId | An account ID
2. int season | The season
Returns:
PlayerLifetimeStats
getRecentGames
Parameters:
1. double accountId | An account ID
Returns:
RecentGames
retrieveTopPlayedChampions
Parameters:
1. double accountId | An account ID
2. string gameMode | A game mode("CLASSIC","ODIN","ARAM")
Returns:
ChampionStatInfo[]
###Methods
Service Name | Method Name | Number of Parameters |
---|---|---|
matchmakerService | attachToQueues | 1 |
matchmakerService | getQueueInfo | 1 |
matchmakerService | attachTeamToQueue | 1 |
matchmakerService | purgeFromQueues | 0 |
matchmakerService | attachToQueue | 1 |
matchmakerService | cancelFromQueueIfPossible | 1 |
matchmakerService | getAvailableQueues | 0 |
matchmakerService | isMatchmakingEnabled | 0 |
matchmakerService | attachTeamToQueues | 1 |
###Method details
attachToQueues
Parameters:
1. MatchMakerParams Parameters | The parameters of the queue being attached to
Returns:
SearchingForMatchNotification
getQueueInfo
Parameters:
1. double queueId | A queue ID
Returns:
QueueInfo
attachTeamToQueue
Parameters:
1. MatchMakerParams Parameters | The parameters of the queue being attached to
Returns:
SearchingForMatchNotification
purgeFromQueues
Returns:
???
attachToQueue
Parameters:
1. MatchMakerParams Parameters | The parameters of the queue being attached to
Returns:
SearchingForMatchNotification
acceptInviteForMatchmakingGame ~ DEPRECATED!
Parameters:
1. string teamId | The team ID, the invitation comes from
Returns:
null
cancelFromQueueIfPossible
Parameters:
1. double summonerId | A summoner ID
Returns:
boolean
getAvailableQueues
Returns:
GameQueueConfig[]
isMatchmakingEnabled
Returns:
boolean
attachTeamToQueues
Parameters:
1. MatchMakerParams Parameters | The parameters of the queue being attached to
Returns:
SearchingForMatchNotification
###Methods
Service Name | Method Name | Number of Parameters |
---|---|---|
inventoryService | getSumonerActiveBoosts | 0 |
inventoryService | getAvailableChampions | 0 |
###Method details
getSumonerActiveBoosts
Returns:
SummonerActiveBoostsDTO
getAvailableChampions
Returns:
ChampionDTO[]
###Method details
Service Name | Method Name | Number of Parameters |
---|---|---|
summonerIconService | getSummonerIconInventory | 1 |
###Methods getSummonerIconInventory
Parameters:
1. double SummonerId | A summoner ID
Returns:
SummonerIconInventoryDTO
###Methods
Service Name | Method Name | Number of Parameters |
---|---|---|
lcdsGameInvitationService | createGroupFinderLobby | 2 |
lcdsGameInvitationService | createArrangedTeamLobby | 1 |
lcdsGameInvitationService | createArrangedBotTeamLobby | 2 |
lcdsGameInvitationService | getLobbyStatus | 0 |
lcdsGameInvitationService | getPendingInvitations | 0 |
lcdsGameInvitationService | grantInvitePrivileges | 1 |
lcdsGameInvitationService | invite | 1 |
lcdsGameInvitationService | leave | 0 |
lcdsGameInvitationService | transferOwnership | 1 |
##Method details
createGroupFinderLobby
Parameters:
1. double GameMode | The game mode being used (61)
2. string GroupFinderUUID | The generated UUID of the group finder lobby
Returns:
LobbyStatus
createArrangedTeamLobby
Parameters:
1. double QueueId | A queue Id
Returns:
LobbyStatus
createArrangedBotTeamLobby
Parameters:
1. double ??? | ???
2. string Difficulty | ???
Returns:
LobbyStatus
getLobbyStatus
Returns:
LobbyStatus
getPendingInvitations
Returns:
???[]
grantInvitePrivileges
Parameters:
1. double Summoner_ID | A summoner id
Returns:
null
transferOwnership
Parameters:
1. double Summoner_ID | A summoner id
Returns:
null
invite
Parameters:
1. double Summoner_ID | A summoner id
Returns:
null
leave
Returns:
null
###Method details
Service Name | Method Name | Number of Parameters |
---|---|---|
gameService | listAllPracticeGames | 0 |
gameService | joinGame | 2 |
gameService | observeGame | 2 |
gameService | switchTeams | 1 |
gameService | switchPlayerToObserver | 1 |
gameService | switchObserverToPlayer | 1 |
gameService | quitGame | 0 |
gameService | createPracticeGame | 1 |
gameService | startChampionSelection | 2 |
gameService | setClientReceivedGameMessage | 2 |
gameService | getLatestGameTimerState | 3 |
gameService | selectSpells | 2 |
gameService | acceptPoppedGame | 1 |
gameService | createTutorialGame | 1 |
###Methods
listAllPracticeGames
Returns:
PracticeGameSearchResult[]
joinGame
Parameters:
1. double GameId | The gameId of the custom game you are joining
2. string Password | Password of the custom game you are joining. null if empty
Returns:
null
observeGame
Parameters:
1. double GameId | The gameId of the custom game you are spectating
2. string Password | Password of the custom game you are spectating. null if empty
Returns:
null
switchTeams
Parameters:
1. double GameId | The gameId of the current custom game
Returns:
bool
switchPlayerToObserver
Parameters:
1. double GameId | The gameId of the current custom game
Returns:
bool
switchObserverToPlayer
Parameters:
1. Double GameId | The gameId of the current custom game
Returns:
bool
quitGame
Returns:
null
createPracticeGame
Parameters:
1. PracticeGameConfig CustomGameConfig | The configuration for the custom game
Returns:
GameDTO
startChampionSelection
Parameters:
1. double GameId | The game id of the custom game
2. double OptomisticLock | The optomstic lock (provided by GameDTO)
Returns:
StartChampSelectDTO
setClientReceivedGameMessage
Parameters:
1. double GameID | The Game ID
2. string Argument | The argument to be passed
Returns:
null
getLatestGameTimerState
Parameters:
1. double GameID | The game ID
2. string GameState | "TERMINATED", "TERMINATED_IN_ERROR", "PRE_CHAMP_SELECT", "CHAMP_SELECT", "POST_CHAMP_SELECT", "START_REQUESTED"
3. int PickTurn | The current pick turn
Returns:
GameDTO
selectSpells
Parameters:
1. int SpellOne | Id of the first spell
2. int SpellTwo | Id of the second spell
Returns:
null
acceptPoppedGame
Parameters:
1. boolean Accept | If accepting queue or not
Returns:
null
createTutorialGame
Parameters:
1. double ??? | ???
Returns:
GameDTO
###Methods
Service Name | Method Name | Number of Parameters |
---|---|---|
lcdsChampionTradeService | attemptTrade | 3 |
lcdsChampionTradeService | dismissTrade | 0 |
lcdsChampionTradeService | getPotentialTraders | 0 |
###Method details
attemptTrade*
Parameters:
1. string Summoner_Internal_Name | The internal name of a summoner you are attempting/accepting a trade to/from
2. int ChampionID | The champion ID that you are attempting/accepting to trade/trade with
3. boolean IsAcceptingTrade | True -> If you are accepting a trade from another summoner | False -> If you are sending a trade to a summoner
Returns:
null
dismissTrade
Returns:
null
getPotentialTraders
Returns:
PotentialTradersDTO
XMPP/Lobby | Spectating | Data Structure |
---|---|---|
Chat - RTMPS Methods - REST Service | REST Service | Keyframe Specification - Chunk Specification |