Class GameUtilitiesService
java.lang.Object
br.net.dd.netherwingcore.bnetserver.services.ServiceBase
br.net.dd.netherwingcore.bnetserver.services.GameUtilitiesService
Service implementation for handling game utility related RPC calls.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcallServerMethod(Session session, int token, int methodId, MessageBuffer buffer) Handles incoming RPC calls to the GameUtilitiesService.intReturns the unique service hash for the GameUtilitiesService.Methods inherited from class ServiceBase
parseMessage, sendErrorResponse, sendResponse
-
Constructor Details
-
GameUtilitiesService
public GameUtilitiesService()
-
-
Method Details
-
getServiceHash
public int getServiceHash()Returns the unique service hash for the GameUtilitiesService.- Specified by:
getServiceHashin classServiceBase- Returns:
- The service hash as an integer.
-
callServerMethod
Handles incoming RPC calls to the GameUtilitiesService.- Specified by:
callServerMethodin classServiceBase- Parameters:
session- The session of the client making the call.token- The unique token for the RPC call.methodId- The ID of the method being called.buffer- The message buffer containing any parameters for the call.
-