| Package | Description |
|---|---|
| ru.serega6531.MinigamesAPI | |
| ru.serega6531.MinigamesAPI.events | |
| ru.serega6531.MinigamesAPI.session |
| Modifier and Type | Method and Description |
|---|---|
GameSession |
MinigamesAPI.getPlayerSession(java.lang.String player)
Return player session
|
| Modifier and Type | Method and Description |
|---|---|
GameSession |
GamePlayerHitEvent.getSession() |
GameSession |
GameSessionCountDownTickEvent.getSession() |
GameSession |
GameSessionStartEvent.getSession() |
GameSession |
PlayerLeaveGameSessionEvent.getSession() |
GameSession |
PlayerJoinGameSessionEvent.getSession() |
GameSession |
GamePlayerKillEvent.getSession() |
GameSession |
GameSessionNotEnoughtPlayersEvent.getSession() |
GameSession |
GameSessionStopEvent.getSession() |
GameSession |
GameSessionTickEvent.getSession() |
| Constructor and Description |
|---|
GamePlayerHitEvent(GamePlayer damager,
GamePlayer victim,
GameSession session,
org.bukkit.event.entity.EntityDamageEvent.DamageCause cause,
double damage) |
GamePlayerKillEvent(GamePlayer killer,
GamePlayer victim,
GameSession session) |
GameSessionCountDownTickEvent(GameSession session,
int time) |
GameSessionNotEnoughtPlayersEvent(GameSession session) |
GameSessionStartEvent(GameSession session) |
GameSessionStopEvent(GameSession session) |
GameSessionTickEvent(GameSession session,
int time) |
PlayerJoinGameSessionEvent(GamePlayer player,
GameSession session) |
PlayerLeaveGameSessionEvent(GamePlayer player,
GameSession session) |
| Modifier and Type | Method and Description |
|---|---|
GameSession |
SessionManager.createSession(GameArena arena)
Creating new session
|
GameSession[] |
SessionManager.getAllSessions() |
GameSession |
SessionManager.getPlayerSesion(java.lang.String name)
Returns plauer session or null if not exists
|