Class GameUtilitiesService

java.lang.Object
br.net.dd.netherwingcore.bnetserver.services.ServiceBase
br.net.dd.netherwingcore.bnetserver.services.GameUtilitiesService

public class GameUtilitiesService extends ServiceBase
Service implementation for handling game utility related RPC calls.
  • Constructor Details

    • GameUtilitiesService

      public GameUtilitiesService()
  • Method Details

    • getServiceHash

      public int getServiceHash()
      Returns the unique service hash for the GameUtilitiesService.
      Specified by:
      getServiceHash in class ServiceBase
      Returns:
      The service hash as an integer.
    • callServerMethod

      public void callServerMethod(Session session, int token, int methodId, MessageBuffer buffer)
      Handles incoming RPC calls to the GameUtilitiesService.
      Specified by:
      callServerMethod in class ServiceBase
      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.