Package zombie.network
Class CoopSlave
java.lang.Object
zombie.network.CoopSlave
public class CoopSlave
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description long
hostSteamID
java.lang.String
hostUser
static CoopSlave
instance
-
Method Summary
Modifier and Type Method Description java.lang.String
getHostUser()
boolean
handleCommand(java.lang.String command)
static void
init()
boolean
isHost(long steamID)
boolean
isInvited(long friendSteamID)
boolean
masterLost()
void
notify(java.lang.String notification)
void
sendExternalIPAddress(java.lang.String cookie)
void
sendMessage(java.lang.String message)
void
sendMessage(java.lang.String tag, java.lang.String cookie, java.lang.String payload)
void
sendStatus(java.lang.String status)
void
sendSteamID(java.lang.String cookie)
static void
status(java.lang.String status)
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
hostUser
public java.lang.String hostUser -
hostSteamID
public long hostSteamID
-
-
Method Details
-
init
public static void init() throws java.io.FileNotFoundException- Throws:
java.io.FileNotFoundException
-
notify
public void notify(java.lang.String notification) -
sendStatus
public void sendStatus(java.lang.String status) -
status
public static void status(java.lang.String status) -
sendMessage
public void sendMessage(java.lang.String message) -
sendMessage
public void sendMessage(java.lang.String tag, java.lang.String cookie, java.lang.String payload) -
sendExternalIPAddress
public void sendExternalIPAddress(java.lang.String cookie) -
sendSteamID
public void sendSteamID(java.lang.String cookie) -
handleCommand
public boolean handleCommand(java.lang.String command) -
getHostUser
public java.lang.String getHostUser() -
update
public void update() -
masterLost
public boolean masterLost() -
isHost
public boolean isHost(long steamID) -
isInvited
public boolean isInvited(long friendSteamID)
-