MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / port

Method port

source/core/StarHostAddress.cpp:264–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264uint16_t HostAddressWithPort::port() const {
265 return m_port;
266}
267
268bool HostAddressWithPort::operator==(HostAddressWithPort const& rhs) const {
269 return tie(m_address, m_port) == tie(rhs.m_address, rhs.m_port);

Callers 5

changeStateMethod · 0.80
operator()Method · 0.80
setNativeFromAddressFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64