RoomService v2.3.1
Loading...
Searching...
No Matches
RoomService.SetPlayerChampionshipPoints Class Reference

Lua function to set championship points for a specific player.

Member Function Documentation

◆ Implementation()

void RoomService.SetPlayerChampionshipPoints.Implementation ( ulong steamID,
int points,
int pointsWon,
bool notify )
inlineprivate

Usage:

RoomService.SetPlayerChampionshipPoints("76561197993793009", 1337, 42, true);
Lua function to set championship points for a specific player.
Definition RoomServiceLuaFunctions.cs:395
Definition MyPluginInfo.cs:2
Parameters
steamIDThe Steam ID of the player.
pointsThe total points to assign to the player.
pointsWonThe points won in the current round.
notifyTrue to notify the player; false otherwise.

Source Code

413 {
414 if (!RoomServiceUtils.IsOnlineHost())
415 {
416 return;
417 }
418
419 ZeepkistNetwork.CustomLeaderBoard_SetPlayerChampionshipPoints(steamID, points, pointsWon, notify);
420 }