| 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)
Возвращает сессию игрока
|
| Modifier and Type | Method and Description |
|---|---|
GameSession |
GameSessionStartEvent.getSession() |
GameSession |
PlayerLeaveGameSessionEvent.getSession() |
GameSession |
PlayerJoinGameSessionEvent.getSession() |
GameSession |
GameSessionStopEvent.getSession() |
GameSession |
GameSessionTickEvent.getSession() |
| Constructor and Description |
|---|
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)
Создает новую сессию
|
GameSession[] |
SessionManager.getAllSessions() |
GameSession |
SessionManager.getPlayerSesion(java.lang.String name)
Получает сессию игрока или null, если не существует
|