Interface SystemAPI

All Known Subinterfaces:
GameAPI

public interface SystemAPI
System-level operations: connectivity and client info.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the number of clients currently connected to the pipe server.
    Lists all RPC method names supported by the game client.
    boolean
    Tests connectivity to the game client.
  • Method Details

    • ping

      boolean ping()
      Tests connectivity to the game client.
      Returns:
      true if the client responded successfully
    • listMethods

      List<String> listMethods()
      Lists all RPC method names supported by the game client.
      Returns:
      a list of available method names
    • getClientCount

      int getClientCount()
      Returns the number of clients currently connected to the pipe server.
      Returns:
      the connected client count