RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.content.lms.LMSGame Class Reference
Collaboration diagram for com.osroyale.content.lms.LMSGame:

Static Public Member Functions

static boolean inGameArea (Player player)
static boolean isActivePlayer (Player player)
static boolean canAttack (Player player, Player target)
static void rollChest (Player player, int keyId, boolean lootCrate)
static void moveToGame (List< Player > players)
static void setLevels (Player player)
static void giveItems (Player player, boolean clear)
static void reset (Player player)
static void setupSafezone ()
static void processPlayer (Player player)
static void handleFog ()
static void updateInterface ()
static void onKill (Player killer)
static void resupplyKiller (Player player)
static void onDeath (Player player, boolean forceRemove)
static int getKeyId ()

Static Public Attributes

static List< PlayergamePlayers = new ArrayList<>()
static boolean gameInProgress
static boolean canAttack = false
static int gameTicks
static int startingTicks
static int crateTicks
static LMSCrate lmsCrate

Detailed Description

Definition at line 75 of file LMSGame.java.

Member Function Documentation

◆ canAttack()

boolean com.osroyale.content.lms.LMSGame.canAttack ( Player player,
Player target )
inlinestatic

Checks if the player is allowed to attack the target

Parameters
player
target
Returns

Definition at line 198 of file LMSGame.java.

◆ getKeyId()

int com.osroyale.content.lms.LMSGame.getKeyId ( )
inlinestatic

The key id the player gets after a kill

Returns

Definition at line 753 of file LMSGame.java.

◆ giveItems()

void com.osroyale.content.lms.LMSGame.giveItems ( Player player,
boolean clear )
inlinestatic

Handles giving the player correct inventory and equipment

Parameters
player
clear

Definition at line 395 of file LMSGame.java.

◆ handleFog()

void com.osroyale.content.lms.LMSGame.handleFog ( )
inlinestatic

Handles the fog closing in on the save zone

Definition at line 576 of file LMSGame.java.

◆ inGameArea()

boolean com.osroyale.content.lms.LMSGame.inGameArea ( Player player)
inlinestatic

Handles checking if the player is in the LMS game area

Parameters
player
Returns

Definition at line 179 of file LMSGame.java.

◆ isActivePlayer()

boolean com.osroyale.content.lms.LMSGame.isActivePlayer ( Player player)
inlinestatic

Checks if a player is a active player within the LMS game

Parameters
player
Returns

Definition at line 188 of file LMSGame.java.

◆ moveToGame()

void com.osroyale.content.lms.LMSGame.moveToGame ( List< Player > players)
inlinestatic

Handles moving all the players to the game

Parameters
players

Definition at line 317 of file LMSGame.java.

◆ onDeath()

void com.osroyale.content.lms.LMSGame.onDeath ( Player player,
boolean forceRemove )
inlinestatic

Handles when a player within the LMS game dies

Parameters
player
forceRemove

Definition at line 671 of file LMSGame.java.

◆ onKill()

void com.osroyale.content.lms.LMSGame.onKill ( Player killer)
inlinestatic

Handles the killers stuff

Parameters
killer

Definition at line 609 of file LMSGame.java.

◆ processPlayer()

void com.osroyale.content.lms.LMSGame.processPlayer ( Player player)
inlinestatic

Handles processing the player if hes a active player within the LMS game

Parameters
player

Definition at line 535 of file LMSGame.java.

◆ reset()

void com.osroyale.content.lms.LMSGame.reset ( Player player)
inlinestatic

Handles resetting the player that was in the game and either left by dying or other means

Parameters
player

Definition at line 435 of file LMSGame.java.

◆ resupplyKiller()

void com.osroyale.content.lms.LMSGame.resupplyKiller ( Player player)
inlinestatic

Handles resupplying the killer

Parameters
player

Definition at line 650 of file LMSGame.java.

◆ rollChest()

void com.osroyale.content.lms.LMSGame.rollChest ( Player player,
int keyId,
boolean lootCrate )
inlinestatic

Handles rolling the loot chest

Parameters
player
keyId
lootCrate

Definition at line 229 of file LMSGame.java.

◆ setLevels()

void com.osroyale.content.lms.LMSGame.setLevels ( Player player)
inlinestatic

Handles setting the correct stats of the player It also makes a copy of the player his stats

Parameters
player

Definition at line 377 of file LMSGame.java.

◆ setupSafezone()

void com.osroyale.content.lms.LMSGame.setupSafezone ( )
inlinestatic

Handles setting up the safezone

Definition at line 501 of file LMSGame.java.

◆ updateInterface()

void com.osroyale.content.lms.LMSGame.updateInterface ( )
inlinestatic

Handles updating the player's there interface

Definition at line 597 of file LMSGame.java.

Member Data Documentation

◆ canAttack

boolean com.osroyale.content.lms.LMSGame.canAttack = false
static

Checks if the players are allowed to attack within the game

Definition at line 90 of file LMSGame.java.

◆ crateTicks

int com.osroyale.content.lms.LMSGame.crateTicks
static

The current amount of crate ticks within the lms game

Definition at line 112 of file LMSGame.java.

◆ gameInProgress

boolean com.osroyale.content.lms.LMSGame.gameInProgress
static

Checks if there is currently a game in progress

Definition at line 85 of file LMSGame.java.

◆ gamePlayers

List<Player> com.osroyale.content.lms.LMSGame.gamePlayers = new ArrayList<>()
static

All the players within the LMS game

Definition at line 80 of file LMSGame.java.

◆ gameTicks

int com.osroyale.content.lms.LMSGame.gameTicks
static

The current amount of game ticks within the lms game

Definition at line 102 of file LMSGame.java.

◆ lmsCrate

LMSCrate com.osroyale.content.lms.LMSGame.lmsCrate
static

The lms crate within the game

Definition at line 117 of file LMSGame.java.

◆ startingTicks

int com.osroyale.content.lms.LMSGame.startingTicks
static

The amount of ticks before the real game starts

Definition at line 107 of file LMSGame.java.


The documentation for this class was generated from the following file: