Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
BrokeProtocol.Utility.ServerAddress Struct Reference

Public Member Functions

 ServerAddress (string serverString)
 
 ServerAddress (string ip, ushort port)
 
 ServerAddress (ServerData serverData)
 
override string ToString ()
 
override int GetHashCode ()
 
override bool Equals (object obj)
 

Static Public Member Functions

static bool operator== (ServerAddress left, ServerAddress right)
 
static bool operator!= (ServerAddress left, ServerAddress right)
 

Public Attributes

readonly string ip
 
readonly ushort port
 

Constructor & Destructor Documentation

◆ ServerAddress() [1/3]

BrokeProtocol.Utility.ServerAddress.ServerAddress ( string serverString)
inline

◆ ServerAddress() [2/3]

BrokeProtocol.Utility.ServerAddress.ServerAddress ( string ip,
ushort port )
inline

◆ ServerAddress() [3/3]

BrokeProtocol.Utility.ServerAddress.ServerAddress ( ServerData serverData)
inline

Member Function Documentation

◆ Equals()

override bool BrokeProtocol.Utility.ServerAddress.Equals ( object obj)

◆ GetHashCode()

override int BrokeProtocol.Utility.ServerAddress.GetHashCode ( )

◆ operator!=()

static bool BrokeProtocol.Utility.ServerAddress.operator!= ( ServerAddress left,
ServerAddress right )
static

◆ operator==()

static bool BrokeProtocol.Utility.ServerAddress.operator== ( ServerAddress left,
ServerAddress right )
static

◆ ToString()

override string BrokeProtocol.Utility.ServerAddress.ToString ( )

Member Data Documentation

◆ ip

readonly string BrokeProtocol.Utility.ServerAddress.ip

◆ port

readonly ushort BrokeProtocol.Utility.ServerAddress.port

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