Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Attributes | List of all members
BrokeProtocol.Utility.Settings Class Reference

Public Attributes

string serverName = "Unconfigured Server"
 
string map = "Default"
 
bool navMesh = true
 
float timeLimit = 24f * 60f * 60f
 
string url = string.Empty
 
int players = 32
 
string hostName = string.Empty
 
ushort port = 5557
 
uint maxTransferRate = 1000000
 
bool whitelist = false
 
float dayLength = SceneManager.defaultDayLength
 
float difficulty = 0.5f
 
ItemOption[] startItems
 
AnnouncementsSettings announcements = new()
 
DatabaseSettings database = new()
 

Member Data Documentation

◆ announcements

AnnouncementsSettings BrokeProtocol.Utility.Settings.announcements = new()

◆ database

DatabaseSettings BrokeProtocol.Utility.Settings.database = new()

◆ dayLength

float BrokeProtocol.Utility.Settings.dayLength = SceneManager.defaultDayLength

◆ difficulty

float BrokeProtocol.Utility.Settings.difficulty = 0.5f

◆ hostName

string BrokeProtocol.Utility.Settings.hostName = string.Empty

◆ map

string BrokeProtocol.Utility.Settings.map = "Default"

◆ maxTransferRate

uint BrokeProtocol.Utility.Settings.maxTransferRate = 1000000

◆ navMesh

bool BrokeProtocol.Utility.Settings.navMesh = true

◆ players

int BrokeProtocol.Utility.Settings.players = 32

◆ port

ushort BrokeProtocol.Utility.Settings.port = 5557

◆ serverName

string BrokeProtocol.Utility.Settings.serverName = "Unconfigured Server"

◆ startItems

ItemOption [] BrokeProtocol.Utility.Settings.startItems
Initial value:
= new[]
{
new ItemOption
{
itemName = "Money",
chance = 1f,
minCount = 1000,
maxCount = 1000
},
{
itemName = "SmartPhone1",
chance = 1f,
minCount = 1,
maxCount = 1
}
}
Definition ExportTypes.cs:84

◆ timeLimit

float BrokeProtocol.Utility.Settings.timeLimit = 24f * 60f * 60f

◆ url

string BrokeProtocol.Utility.Settings.url = string.Empty

◆ whitelist

bool BrokeProtocol.Utility.Settings.whitelist = false

The documentation for this class was generated from the following file: