Class MessageCallback
- java.lang.Object
-
- in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
-
- in.dragonbra.javasteam.steam.handlers.steamgamecoordinator.callback.MessageCallback
-
- All Implemented Interfaces:
ICallbackMsg
public class MessageCallback extends CallbackMsg
This callback is fired when a game coordinator message is recieved from the network.
-
-
Constructor Summary
Constructors Constructor Description MessageCallback(JobID jobID, in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver2.CMsgGCClient.Builder gcMsg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAppID()intgeteMsg()IPacketGCMsggetMessage()booleanisProto()-
Methods inherited from class in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
getJobID, setJobID
-
-
-
-
Constructor Detail
-
MessageCallback
public MessageCallback(JobID jobID, in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver2.CMsgGCClient.Builder gcMsg)
-
-
Method Detail
-
geteMsg
public int geteMsg()
- Returns:
- the game coordinator message type
-
getAppID
public int getAppID()
- Returns:
- the AppID of the game coordinator the message is from
-
isProto
public boolean isProto()
- Returns:
- true if this instance is protobuf'd; otherwise, false
-
getMessage
public IPacketGCMsg getMessage()
- Returns:
- the actual message
-
-