Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catabriga/graphwar
/ getIp
Method
getIp
src/GlobalServer/Room.java:74–82 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
72
}
73
74
public
String getIp()
75
{
76
if
(this.ip.startsWith(
"127.0.0.1"
))
77
{
78
return
Constants.GLOBAL_IP;
79
}
80
81
return
this.ip;
82
}
83
84
public
int
getNumPlayers()
85
{
Callers
3
sendListRooms
Method · 0.95
sendNewRoom
Method · 0.45
tryConnection
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected