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

Lua function to set the points distribution in the lobby.

Member Function Documentation

◆ Implementation()

void RoomService.SetPointsDistribution.Implementation ( int[] values,
int baseline,
int dnf )
inlineprivate

Usage:

RoomService.SetPointsDistribution({32,28,24,20,16,12,8,4}, 2, -1);
Lua function to set the points distribution in the lobby.
Definition RoomServiceLuaFunctions.cs:340
Definition MyPluginInfo.cs:2
Parameters
valuesThe points distribution values.
baselineThe baseline points value.
dnfThe points value for "Did Not Finish" players.

Source Code

357 {
358 if (!RoomServiceUtils.IsOnlineHost())
359 {
360 return;
361 }
362
363 ZeepkistNetwork.CustomLeaderBoard_SetPointsDistribution(values.ToList(), baseline, dnf);
364 }