Class Server.Core

Methods

getXPlayer(player: HPlayer): Server.XPlayer
Modifier: static
Note: @nodiscard - Return value should not be ignored
Returns the XPlayer instance associated with the given player.
Parameters:
  • player (HPlayer): the helix player object
Returns: xPlayer The XPlayer instance associated with the player.
inject(obj: any)
Modifier: static
Injects a given object / value into a module
Parameters:
  • obj (any):