Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
BrokeProtocol.Managers.ShManager Class Reference
Inheritance diagram for BrokeProtocol.Managers.ShManager:
BrokeProtocol.Utility.MonoBehaviourSingleton< ShManager >

Public Member Functions

Host StartHost (int connectionCount, ushort port, string hostName)
 
bool Connect (Host host, string hostname, ushort port, out Peer peer)
 
void ConfigurePeer (Peer peer)
 
void HostCleanup ()
 
void SetTimeScale (float timeScale)
 
void Cleanup ()
 
void InitializeClient (string host, ushort port)
 
void InitializeServer ()
 

Public Attributes

PhysicsMaterial noFrictionMaterial
 
PhysicsMaterial highFrictionMaterial
 
ClManager clManager
 
SvManager svManager
 
Host host
 
GameObject menuObjects
 
ShWearable[] nullWearable
 
ShAttachment[] nullAttachment
 
ShEquipable surrender
 
ShWeapon hands
 
ShItem bomb
 
ShItem money
 
ShItem toolkit
 
ShItem lockpick
 
ShEquipable defibrillator
 
ShEquipable healthPack
 
ShEquipable extinguisher
 
Vote[] votes
 
DamageType[] damageTypes
 
Vector2[] randomVector = new Vector2[128]
 
Dictionary< string, WheelFrictionCurve > forwardFriction = new ()
 
Dictionary< string, WheelFrictionCurve > sidewaysFriction = new ()
 

Protected Member Functions

override void Awake ()
 

Properties

string VersionURL [get]
 
string ServerlistSourceURL [get]
 
string NewsURL [get]
 
string MasterHostURL [get]
 
string Version [get]
 
ushort MasterPort [get]
 
- Properties inherited from BrokeProtocol.Utility.MonoBehaviourSingleton< ShManager >
virtual bool DontDestroy [get]
 
static T Instance [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from BrokeProtocol.Utility.MonoBehaviourSingleton< ShManager >
static void Instantiate ()
 

Member Function Documentation

◆ Awake()

override void BrokeProtocol.Managers.ShManager.Awake ( )
inlineprotectedvirtual

◆ Cleanup()

void BrokeProtocol.Managers.ShManager.Cleanup ( )
inline

◆ ConfigurePeer()

void BrokeProtocol.Managers.ShManager.ConfigurePeer ( Peer peer)
inline

◆ Connect()

bool BrokeProtocol.Managers.ShManager.Connect ( Host host,
string hostname,
ushort port,
out Peer peer )
inline

◆ HostCleanup()

void BrokeProtocol.Managers.ShManager.HostCleanup ( )
inline

◆ InitializeClient()

void BrokeProtocol.Managers.ShManager.InitializeClient ( string host,
ushort port )
inline

◆ InitializeServer()

void BrokeProtocol.Managers.ShManager.InitializeServer ( )
inline

◆ SetTimeScale()

void BrokeProtocol.Managers.ShManager.SetTimeScale ( float timeScale)
inline

◆ StartHost()

Host BrokeProtocol.Managers.ShManager.StartHost ( int connectionCount,
ushort port,
string hostName )
inline

Member Data Documentation

◆ bomb

ShItem BrokeProtocol.Managers.ShManager.bomb

◆ clManager

ClManager BrokeProtocol.Managers.ShManager.clManager

◆ damageTypes

DamageType [] BrokeProtocol.Managers.ShManager.damageTypes

◆ defibrillator

ShEquipable BrokeProtocol.Managers.ShManager.defibrillator

◆ extinguisher

ShEquipable BrokeProtocol.Managers.ShManager.extinguisher

◆ forwardFriction

Dictionary<string, WheelFrictionCurve> BrokeProtocol.Managers.ShManager.forwardFriction = new ()

◆ hands

ShWeapon BrokeProtocol.Managers.ShManager.hands

◆ healthPack

ShEquipable BrokeProtocol.Managers.ShManager.healthPack

◆ highFrictionMaterial

PhysicsMaterial BrokeProtocol.Managers.ShManager.highFrictionMaterial

◆ host

Host BrokeProtocol.Managers.ShManager.host

◆ lockpick

ShItem BrokeProtocol.Managers.ShManager.lockpick

◆ menuObjects

GameObject BrokeProtocol.Managers.ShManager.menuObjects

◆ money

ShItem BrokeProtocol.Managers.ShManager.money

◆ noFrictionMaterial

PhysicsMaterial BrokeProtocol.Managers.ShManager.noFrictionMaterial

◆ nullAttachment

ShAttachment [] BrokeProtocol.Managers.ShManager.nullAttachment

◆ nullWearable

ShWearable [] BrokeProtocol.Managers.ShManager.nullWearable

◆ randomVector

Vector2 [] BrokeProtocol.Managers.ShManager.randomVector = new Vector2[128]

◆ sidewaysFriction

Dictionary<string, WheelFrictionCurve> BrokeProtocol.Managers.ShManager.sidewaysFriction = new ()

◆ surrender

ShEquipable BrokeProtocol.Managers.ShManager.surrender

◆ svManager

SvManager BrokeProtocol.Managers.ShManager.svManager

◆ toolkit

ShItem BrokeProtocol.Managers.ShManager.toolkit

◆ votes

Vote [] BrokeProtocol.Managers.ShManager.votes

Property Documentation

◆ MasterHostURL

string BrokeProtocol.Managers.ShManager.MasterHostURL
get

◆ MasterPort

ushort BrokeProtocol.Managers.ShManager.MasterPort
get

◆ NewsURL

string BrokeProtocol.Managers.ShManager.NewsURL
get

◆ ServerlistSourceURL

string BrokeProtocol.Managers.ShManager.ServerlistSourceURL
get

◆ Version

string BrokeProtocol.Managers.ShManager.Version
get

◆ VersionURL

string BrokeProtocol.Managers.ShManager.VersionURL
get

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