Skip navigation links
A B C D E F G H I L M N O P R S T U V W X Y С 

A

addGameId(GameId) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamelist.GameListResponseData
 
addShip(Consumer<Ship>) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.PlaceShipsRequestData
 
addShip(ShipType, ShipOrientation, int, int) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.PlaceShipsRequestData
 
addShip(ShipType, ShipOrientation, int, int) - Method in interface com.socialquantum.battleship.gameapi.types.request.placeships.ShipsPlacementRequest
Добавить информацию о расстановке кораблей.
AI_USER_TOKEN_ID - Static variable in class com.socialquantum.battleship.gameapi.example.ExampleSettings
 
ApiConnectionFactory - Class in com.socialquantum.battleship.gameapi.utils
Фабрика объектов соединений с игрой.
ApiConnectionFactory() - Constructor for class com.socialquantum.battleship.gameapi.utils.ApiConnectionFactory
 
asset(UserToken) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStatusResponseData
 
Asset - Interface in com.socialquantum.battleship.gameapi.types.base
Данные пользователя в игре.
asset(UserToken) - Method in interface com.socialquantum.battleship.gameapi.types.response.GameStatus
 

B

BattleField - Interface in com.socialquantum.battleship.gameapi.types.base
Объект игрового поля.

C

cast(Object, Class<T>) - Static method in interface com.socialquantum.battleship.gameapi.types.connector.GameConnector
Вспомогательный метод приведения объекта к требуемому типу По сути является, компактной записью для (SomeType) object, при этом если объект не является типом, к которому производится приведение, в отличии от стандартного ClassCastException, будет выброшено исключение UnexpectedOperationResult как это происходит в случае приведения средствами языка.
cell(int, int) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultField
 
Cell - Interface in com.socialquantum.battleship.gameapi.types.base
Клетка поля Created 12/07/17 12:56
cell() - Method in interface com.socialquantum.battleship.gameapi.types.base.CellEntry
 
CellContent - Interface in com.socialquantum.battleship.gameapi.types.base
Содержимое клетки Created 12/07/17 12:58
CellEntry - Interface in com.socialquantum.battleship.gameapi.types.base
Перечисляемый элемент данных о клетке Created 29/08/17 17:03
CellEntrySpliterator - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus
Created 29/08/17 18:20
CellEntrySpliterator(Iterator<CellEntry>) - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.CellEntrySpliterator
 
cells - Variable in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultField
 
cells() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.PlayerAsset
 
cells() - Method in interface com.socialquantum.battleship.gameapi.types.base.Asset
Фабрика перечислителей
cellsStream() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.PlayerAsset
 
cellsStream() - Method in interface com.socialquantum.battleship.gameapi.types.base.Asset
Возвращает новый поток с элементами CellEntry
cellStatus(int, int) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.PlayerAsset
 
cellStatus(int, int) - Method in interface com.socialquantum.battleship.gameapi.types.base.Asset
Получить статус поля
CellStatus - Enum in com.socialquantum.battleship.gameapi.types.base
Статус клетки поля.
characteristics() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.CellEntrySpliterator
 
checkIntBounds(int, int, int) - Static method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultField
Проверить что значение в интервале - и бросить искобчение
close() - Method in class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
Закрытие коннектора, освобождение ресурсов.
code() - Method in class com.socialquantum.battleship.gameapi.internal.types.DefaultOperationResult
 
code() - Method in interface com.socialquantum.battleship.gameapi.internal.types.OperationResult
 
com.socialquantum.battleship.gameapi.example - package com.socialquantum.battleship.gameapi.example
 
com.socialquantum.battleship.gameapi.internal - package com.socialquantum.battleship.gameapi.internal
Пакет с внутренними классами библиотеки.
com.socialquantum.battleship.gameapi.internal.connector - package com.socialquantum.battleship.gameapi.internal.connector
 
com.socialquantum.battleship.gameapi.internal.dataobjects.creategame - package com.socialquantum.battleship.gameapi.internal.dataobjects.creategame
 
com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse - package com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse
 
com.socialquantum.battleship.gameapi.internal.dataobjects.deletegame - package com.socialquantum.battleship.gameapi.internal.dataobjects.deletegame
 
com.socialquantum.battleship.gameapi.internal.dataobjects.deletesnapshot - package com.socialquantum.battleship.gameapi.internal.dataobjects.deletesnapshot
 
com.socialquantum.battleship.gameapi.internal.dataobjects.gamelist - package com.socialquantum.battleship.gameapi.internal.dataobjects.gamelist
 
com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus - package com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus
 
com.socialquantum.battleship.gameapi.internal.dataobjects.move - package com.socialquantum.battleship.gameapi.internal.dataobjects.move
 
com.socialquantum.battleship.gameapi.internal.dataobjects.placeships - package com.socialquantum.battleship.gameapi.internal.dataobjects.placeships
 
com.socialquantum.battleship.gameapi.internal.dataobjects.restoresnapshot - package com.socialquantum.battleship.gameapi.internal.dataobjects.restoresnapshot
 
com.socialquantum.battleship.gameapi.internal.dataobjects.savesnapshot - package com.socialquantum.battleship.gameapi.internal.dataobjects.savesnapshot
 
com.socialquantum.battleship.gameapi.internal.dataobjects.snapshotlist - package com.socialquantum.battleship.gameapi.internal.dataobjects.snapshotlist
 
com.socialquantum.battleship.gameapi.internal.dataobjects.startgame - package com.socialquantum.battleship.gameapi.internal.dataobjects.startgame
 
com.socialquantum.battleship.gameapi.internal.serializationutils - package com.socialquantum.battleship.gameapi.internal.serializationutils
 
com.socialquantum.battleship.gameapi.internal.types - package com.socialquantum.battleship.gameapi.internal.types
 
com.socialquantum.battleship.gameapi.internal.utils - package com.socialquantum.battleship.gameapi.internal.utils
 
com.socialquantum.battleship.gameapi.logging - package com.socialquantum.battleship.gameapi.logging
 
com.socialquantum.battleship.gameapi.types.base - package com.socialquantum.battleship.gameapi.types.base
 
com.socialquantum.battleship.gameapi.types.connector - package com.socialquantum.battleship.gameapi.types.connector
 
com.socialquantum.battleship.gameapi.types.exceptions - package com.socialquantum.battleship.gameapi.types.exceptions
 
com.socialquantum.battleship.gameapi.types.request.placeships - package com.socialquantum.battleship.gameapi.types.request.placeships
 
com.socialquantum.battleship.gameapi.types.response - package com.socialquantum.battleship.gameapi.types.response
 
com.socialquantum.battleship.gameapi.utils - package com.socialquantum.battleship.gameapi.utils
 
COMMAND_NAME_VALUE - Static variable in class com.socialquantum.battleship.gameapi.internal.dataobjects.creategame.CreateGameRequestData
 
content - Variable in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultCell
 
content() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultCell
 
content() - Method in interface com.socialquantum.battleship.gameapi.types.base.Cell
 
createGame(UserToken, UserToken) - Method in class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
 
createGame(UserToken, UserToken) - Method in interface com.socialquantum.battleship.gameapi.types.connector.GameConnector
Создать игру.
CreateGame - Interface in com.socialquantum.battleship.gameapi.types.response
Результат выполнения команды создания игры.
CreateGameRequestData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.creategame
// { // "command": "create_game" // "params": { // "users": ["user_id_1", "user_id_2"] // } // } Отправка данных к серверу - обратной сериализации не предполагается.
CreateGameRequestData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.creategame.CreateGameRequestData
 
CreateGameResponseData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.creategame
// { // "status": "OK" // "data": { // "game_id": "3f888e99-5f6b-498d-80cb-dd45787421b1" // } // } Created 27/06/17 16:47
CreateGameResponseData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.creategame.CreateGameResponseData
 
CreateGameResponseData.Data - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.creategame
 
createRequest() - Static method in interface com.socialquantum.battleship.gameapi.types.request.placeships.ShipsPlacementRequest
Фабричный метод получения нового объекта.
currentTurnUserToken() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStatusResponseData
 
currentTurnUserToken() - Method in interface com.socialquantum.battleship.gameapi.types.response.GameStatus
 

D

Data() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.creategame.CreateGameResponseData.Data
 
data - Variable in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponse
 
Data() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponse.Data
 
dataStatus() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStatusResponseData
 
DefaultCell - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus
Created 05/07/17 16:10
DefaultCell() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultCell
 
DefaultCell.DefaultContent - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus
 
DefaultContent() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultCell.DefaultContent
 
DefaultField - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus
Created 05/07/17 16:15
DefaultField() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultField
 
DefaultOperationResult<S,E> - Class in com.socialquantum.battleship.gameapi.internal.types
Created 11/07/17 09:49
DefaultOperationResult(int, OperationResult.Result, S, E) - Constructor for class com.socialquantum.battleship.gameapi.internal.types.DefaultOperationResult
 
DefaultResponse - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse
// { // "status": "OK", ("OK", "ERROR") // } Created 29/06/17 18:18
DefaultResponse() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponse
 
DefaultResponse.Data - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse
 
DefaultResponseData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse
Created 30/06/17 20:16
DefaultResponseData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponseData
 
DELETE_COMMAND_NAME - Static variable in class com.socialquantum.battleship.gameapi.internal.dataobjects.deletegame.DeleteGameRequestData
 
deleteGame(GameId) - Method in class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
 
deleteGame(GameId) - Method in interface com.socialquantum.battleship.gameapi.types.connector.GameConnector
Удалить игру.
DeleteGame - Interface in com.socialquantum.battleship.gameapi.types.response
Результат выполнения команды удаления игры.
DeleteGameRequestData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.deletegame
// { // "command": "delete", // "params": { // "game_id": "3f888e99-5f6b-498d-80cb-dd45787421b1" // } // } Created 29/06/17 15:21
DeleteGameRequestData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.deletegame.DeleteGameRequestData
 
DeleteGameResponseData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.deletegame
Created 29/06/17 15:21
DeleteGameResponseData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.deletegame.DeleteGameResponseData
 
deleteSnapshot(SnapshotId) - Method in class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
 
deleteSnapshot(SnapshotId) - Method in interface com.socialquantum.battleship.gameapi.types.connector.GameConnector
Удалить сохраненное состояние.
DeleteSnapshot - Interface in com.socialquantum.battleship.gameapi.types.response
Результат выполнения команды удаления сохраненного состояния игры.
DeleteSnapshotRequestData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.deletesnapshot
// { // "command" : "delete_snapshot", // "params" : { // "snapshot_id" : "f2eb0f14-86de-4ccb-8f89-f47cf3407485" // } // } Created 07/07/17 07:49
DeleteSnapshotRequestData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.deletesnapshot.DeleteSnapshotRequestData
 
DeleteSnapshotResponseData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.deletesnapshot
//{ // "status" : "OK", // "data" : { // "message" : "Snapshot f2eb0f14-86de-4ccb-8f89-f47cf3407485 was deleted for user 0ee3ee5b-7d44-48d4-ac69-96f7adca4506" // } //} Created 07/07/17 07:49
DeleteSnapshotResponseData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.deletesnapshot.DeleteSnapshotResponseData
 

E

elementByName(String) - Static method in enum com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStateDataStatus
 
equals(Object) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponse.Data
 
equals(Object) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponse
 
equals(Object) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponseData
 
equals(Object) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamelist.GameListResponseData
 
equals(Object) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultCell
 
equals(Object) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultField
 
equals(Object) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStatusResponseData
 
equals(Object) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.PlayerAsset
 
errorData() - Method in class com.socialquantum.battleship.gameapi.internal.types.DefaultOperationResult
 
errorData() - Method in interface com.socialquantum.battleship.gameapi.internal.types.OperationResult
 
estimateSize() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.CellEntrySpliterator
 
Example - Class in com.socialquantum.battleship.gameapi.example
Пример использования методов библиотеки.
Example() - Constructor for class com.socialquantum.battleship.gameapi.example.Example
 
Example2 - Class in com.socialquantum.battleship.gameapi.example
Пример использования методов библиотеки.
Example2() - Constructor for class com.socialquantum.battleship.gameapi.example.Example2
 
ExampleSettings - Class in com.socialquantum.battleship.gameapi.example
Created 26/06/17 13:09
ExampleSettings() - Constructor for class com.socialquantum.battleship.gameapi.example.ExampleSettings
 
execute() - Method in interface com.socialquantum.battleship.gameapi.internal.utils.GameUtils.FunctionThatThrows
 
execute() - Method in interface com.socialquantum.battleship.gameapi.internal.utils.GameUtils.FunctionThatThrowsWoResult
 
ExecutionStatus - Enum in com.socialquantum.battleship.gameapi.types.base
Статус выполнения команды.

F

field() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.PlayerAsset
 

G

game_ids - Variable in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponseData
 
GameConnectionVer1 - Class in com.socialquantum.battleship.gameapi.internal.connector
Created 28/06/17 14:01
GameConnectionVer1(String, UserToken) - Constructor for class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
 
GameConnector - Interface in com.socialquantum.battleship.gameapi.types.connector
Основоной интерфейс взаимодействия с игрой.
gameId() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.creategame.CreateGameResponseData
 
GameId - Interface in com.socialquantum.battleship.gameapi.types.base
Объект идентификатора игры.
gameId() - Method in interface com.socialquantum.battleship.gameapi.types.response.CreateGame
 
gameId(String) - Static method in class com.socialquantum.battleship.gameapi.utils.TransformUtils
Преобразование строки в GameId
gameIds() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamelist.GameListResponseData
 
gameIds() - Method in interface com.socialquantum.battleship.gameapi.types.response.GameList
 
gameList() - Method in class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
 
gameList() - Method in interface com.socialquantum.battleship.gameapi.types.connector.GameConnector
Получить список всех игр для игрока Типы возвращаемые в случае успеха и не успеха операции соответственно: GameList OperationError
GameList - Interface in com.socialquantum.battleship.gameapi.types.response
Результат выполнения команды получения списка всех игр для игрока.
GameListRequestData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.gamelist
Created 29/06/17 15:47
GameListRequestData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.gamelist.GameListRequestData
 
GameListResponseData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.gamelist
//{ // "status" : "OK", // "data" : { // "game_ids" : ["7234cf67-8b42-4580-902c-f83ddcaed309", "f8ba64b9-c233-4f7f-8550-ca3c2a9193b3" ] // } //} Created 29/06/17 15:47
GameListResponseData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.gamelist.GameListResponseData
 
GameState - Enum in com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus
текущий статус игры, который может быть: `created` -- игра создана, но не начата.
GameStateDataStatus - Enum in com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus
Текущий статус игры Created 30/06/17 09:32
gameStatus(GameId) - Method in class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
 
gameStatus(GameId) - Method in interface com.socialquantum.battleship.gameapi.types.connector.GameConnector
Получить текущий статус игры.
GameStatus - Interface in com.socialquantum.battleship.gameapi.types.response
Результат выполнения команды получения текущего статуса игры.
GameStatusRequestData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus
// { // "command": "status", // "params": { // "game_id": ""3f888e99-5f6b-498d-80cb-dd45787421b1"" // } // } Created 30/06/17 09:02
GameStatusRequestData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStatusRequestData
 
GameStatusResponseData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus
Created 30/06/17 09:02
GameStatusResponseData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStatusResponseData
 
GameUtils - Class in com.socialquantum.battleship.gameapi.internal.utils
Created 29/06/17 08:38
GameUtils() - Constructor for class com.socialquantum.battleship.gameapi.internal.utils.GameUtils
 
GameUtils.FunctionThatThrows<T> - Interface in com.socialquantum.battleship.gameapi.internal.utils
Вспомогательный интерфейс получения данных.
GameUtils.FunctionThatThrowsWoResult<T> - Interface in com.socialquantum.battleship.gameapi.internal.utils
Вспомогательный интерфейс получения данных.

H

hashCode() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponse.Data
 
hashCode() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponse
 
hashCode() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponseData
 
hashCode() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamelist.GameListResponseData
 
hashCode() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultCell
 
hashCode() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultField
 
hashCode() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStatusResponseData
 
hashCode() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.PlayerAsset
 

I

ident() - Method in enum com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStateDataStatus
 
in(CellStatus...) - Method in enum com.socialquantum.battleship.gameapi.types.base.CellStatus
Проверить что данный статус принадлежит множеству статусов.

L

loadObject(String, Class<T>) - Method in class com.socialquantum.battleship.gameapi.internal.serializationutils.SerializationDeserializationFactory
Загрузить объект типа из строки
LogSetupExample - Class in com.socialquantum.battleship.gameapi.logging
Created 26/06/17 13:09
LogSetupExample() - Constructor for class com.socialquantum.battleship.gameapi.logging.LogSetupExample
 

M

main(String[]) - Static method in class com.socialquantum.battleship.gameapi.example.Example
 
main(String[]) - Static method in class com.socialquantum.battleship.gameapi.example.Example2
 
message - Variable in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponse.Data
 
message() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponse
 
message() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.deletesnapshot.DeleteSnapshotResponseData
 
message() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.move.ShootResponseData
 
message() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.PlaceShipsResponseData
 
message() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.restoresnapshot.RestoreSnapshotResponseData
 
message() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.savesnapshot.SaveSnapshotResponseData
 
message() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.startgame.StartGameResponseData
 
message() - Method in interface com.socialquantum.battleship.gameapi.types.response.DeleteSnapshot
 
message() - Method in interface com.socialquantum.battleship.gameapi.types.response.OperationError
 
message() - Method in interface com.socialquantum.battleship.gameapi.types.response.PlaceShips
 
message() - Method in interface com.socialquantum.battleship.gameapi.types.response.RestoreSnapshot
 
message() - Method in interface com.socialquantum.battleship.gameapi.types.response.SaveSnapshot
 
message() - Method in interface com.socialquantum.battleship.gameapi.types.response.Shoot
 
message() - Method in interface com.socialquantum.battleship.gameapi.types.response.StartGame
 
MOVE_COMMAND_NAME - Static variable in class com.socialquantum.battleship.gameapi.internal.dataobjects.move.ShootRequestData
 

N

nope() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.PlaceShipsRequestData
 

O

OperationError - Interface in com.socialquantum.battleship.gameapi.types.response
Общий объект для всех неуспешных ответов.
OperationException - Exception in com.socialquantum.battleship.gameapi.types.exceptions
Любая ошибка взаимодействия с сервером.
OperationException() - Constructor for exception com.socialquantum.battleship.gameapi.types.exceptions.OperationException
 
OperationException(String) - Constructor for exception com.socialquantum.battleship.gameapi.types.exceptions.OperationException
 
OperationException(String, Throwable) - Constructor for exception com.socialquantum.battleship.gameapi.types.exceptions.OperationException
 
OperationException(Throwable) - Constructor for exception com.socialquantum.battleship.gameapi.types.exceptions.OperationException
 
OperationException(String, Throwable, boolean, boolean) - Constructor for exception com.socialquantum.battleship.gameapi.types.exceptions.OperationException
 
OperationResponse - Interface in com.socialquantum.battleship.gameapi.types.response
Обобщенный объект всех ответов на команды взаимодействия с игрой.
OperationResult<Success,Error> - Interface in com.socialquantum.battleship.gameapi.internal.types
Created 29/06/17 08:34
OperationResult.Result - Enum in com.socialquantum.battleship.gameapi.internal.types
 
orientation() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.Ship
 
orientation(ShipOrientation) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.Ship
 

P

params(ShipType, ShipOrientation, int, int) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.Ship
 
PlaceHolder - Class in com.socialquantum.battleship.gameapi.internal
Created 29/08/17 11:39
PlaceHolder() - Constructor for class com.socialquantum.battleship.gameapi.internal.PlaceHolder
 
PlacementMethods - Enum in com.socialquantum.battleship.gameapi.internal.dataobjects.placeships
Created 11/07/17 13:48
placeShips(ShipsPlacementRequest) - Method in class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
 
placeShips(ShipsPlacementRequest) - Method in interface com.socialquantum.battleship.gameapi.types.connector.GameConnector
Расположить корабли.
PlaceShips - Interface in com.socialquantum.battleship.gameapi.types.response
Результат выполнения команды расстановки кораблей.
PlaceShipsRequestData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.placeships
{ "command": "place_ships", "params": { "game_id": "37812032-d0fe-42bc-a264-fd271e629c3c", "placement_method": "fleet", "ships": [ ] } } Created 29/06/17 09:43
PlaceShipsRequestData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.PlaceShipsRequestData
 
PlaceShipsResponseData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.placeships
{ "status": "OK", "data": { "message": "Ship placement request passed ok for user 37812032-d0fe-42bc-a264-fd271e629c3c in game 37812032-d0fe-42bc-a264-fd271e629c3c" } } Created 29/06/17 09:45
PlaceShipsResponseData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.PlaceShipsResponseData
 
PlayerAsset - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus
Created 11/07/17 09:10
PlayerAsset() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.PlayerAsset
 

R

restoreSnapshot(SnapshotId) - Method in class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
 
restoreSnapshot(SnapshotId) - Method in interface com.socialquantum.battleship.gameapi.types.connector.GameConnector
Восстановить состояние игры.
RestoreSnapshot - Interface in com.socialquantum.battleship.gameapi.types.response
Результат выполнения команды восстановления сохраненного состояния Created 06/07/17 15:19
RestoreSnapshotRequestData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.restoresnapshot
// { // "command": "restore_snapshot", // "params": { // "snapshot_id": "ef99831b-dec5-4ed6-af4e-c81c9d3b0101" // } // } Везде где используется game_id (тип UUID использовать) спецтип и сериализовать в него.
RestoreSnapshotRequestData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.restoresnapshot.RestoreSnapshotRequestData
 
RestoreSnapshotResponseData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.restoresnapshot
//{ // "status": "OK", // "data": { // "message": "Game 3f888e99-5f6b-498d-80cb-dd45787421b1 was removed successfully" // } //} Created 06/07/17 15:00
RestoreSnapshotResponseData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.restoresnapshot.RestoreSnapshotResponseData
 
result() - Method in class com.socialquantum.battleship.gameapi.internal.types.DefaultOperationResult
 
result() - Method in interface com.socialquantum.battleship.gameapi.internal.types.OperationResult
 
result(int, OperationResult.Result, S, E) - Static method in class com.socialquantum.battleship.gameapi.internal.utils.GameUtils
Метод получения объектов результата
rows(Consumer<DefaultCell[]>) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultField
 
rows(Consumer<Cell[]>) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.PlayerAsset
 
rows(Consumer<Cell[]>) - Method in interface com.socialquantum.battleship.gameapi.types.base.Asset
Выдает построчно все клетки игры начиная от 0 до 9 ряда

S

saveObject(Object) - Method in class com.socialquantum.battleship.gameapi.internal.serializationutils.SerializationDeserializationFactory
Сохранить данные объекта в строку.
saveSnapshoot(GameId) - Method in class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
 
saveSnapshoot(GameId) - Method in interface com.socialquantum.battleship.gameapi.types.connector.GameConnector
Сохранить состояние игры.
SaveSnapshot - Interface in com.socialquantum.battleship.gameapi.types.response
Результат выполнения команды сохранения состояния игры.
SaveSnapshotRequestData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.savesnapshot
//{ // "command": "save_snapshot", // "params": { // "game_id": "3f888e99-5f6b-498d-80cb-dd45787421b1" // } //} Везде где используется game_id (тип UUID использовать) спецтип и сериализовать в него.
SaveSnapshotRequestData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.savesnapshot.SaveSnapshotRequestData
 
SaveSnapshotResponseData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.savesnapshot
// { // "status" : "OK", // "data" : { // "message" : "Snapshot ef99831b-dec5-4ed6-af4e-c81c9d3b0101 for game ef99831b-dec5-4ed6-af4e-c81c9d3b0102 saved", // "snapshot_id" : "ef99831b-dec5-4ed6-af4e-c81c9d3b0101" // } // } Created 06/07/17 15:00
SaveSnapshotResponseData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.savesnapshot.SaveSnapshotResponseData
 
SerializationDeserializationFactory - Class in com.socialquantum.battleship.gameapi.internal.serializationutils
Фабрика загрузки и сохранения объектов.
SerializationDeserializationFactory() - Constructor for class com.socialquantum.battleship.gameapi.internal.serializationutils.SerializationDeserializationFactory
 
SERVER_HOST - Static variable in class com.socialquantum.battleship.gameapi.example.ExampleSettings
 
setCoords(int, int) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.move.ShootRequestData
 
setGameId(GameId) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.deletegame.DeleteGameRequestData
 
setGameId(GameId) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStatusRequestData
 
setGameId(GameId) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.move.ShootRequestData
 
setGameId(GameId) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.PlaceShipsRequestData
 
setGameId(GameId) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.savesnapshot.SaveSnapshotRequestData
 
setGameId(GameId) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.startgame.StartGameRequestData
 
setGameId(GameId) - Method in interface com.socialquantum.battleship.gameapi.types.request.placeships.ShipsPlacementRequest
Установка идентификатора игры.
setMessage(String) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.PlaceShipsResponseData
 
setMessage(String) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.startgame.StartGameResponseData
 
setSnapshotId(SnapshotId) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.deletesnapshot.DeleteSnapshotRequestData
 
setSnapshotId(SnapshotId) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.restoresnapshot.RestoreSnapshotRequestData
 
setStatus(ExecutionStatus) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamelist.GameListResponseData
 
setStatus(ExecutionStatus) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.PlaceShipsResponseData
 
setStatus(ExecutionStatus) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.startgame.StartGameResponseData
 
setType(ShipType) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.Ship
 
setUsers(UserToken, UserToken) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.creategame.CreateGameRequestData
Назначить пользователей
setX(int) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.move.ShootRequestData
 
setY(int) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.move.ShootRequestData
 
Ship - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.placeships
Данные одного корабля // { // "type": "s2", // "orientation": "h", // "x": 1, // "y": 4 // }
Ship() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.Ship
 
ShipOrientation - Enum in com.socialquantum.battleship.gameapi.types.base
Расположение кораблей.
ShipsPlacementRequest - Interface in com.socialquantum.battleship.gameapi.types.request.placeships
Вспомогательный объект расстановки кораблей.
ShipType - Enum in com.socialquantum.battleship.gameapi.types.base
Тип корабля.
shoot(GameId, int, int) - Method in class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
 
shoot(GameId, int, int) - Method in interface com.socialquantum.battleship.gameapi.types.connector.GameConnector
Выстрел.
Shoot - Interface in com.socialquantum.battleship.gameapi.types.response
Результат выполнения команды хода (выстрела).
SHOOT_SUBTYPE - Static variable in class com.socialquantum.battleship.gameapi.internal.dataobjects.move.ShootRequestData
 
ShootRequestData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.move
https://paste.sqtools.ru/j/ygvx7 //{ // "command": "move", // "params": { // “game_id”: “37812032-d0fe-42bc-a264-fd271e629c3c”, // “type”: “shoot”, // "x": 1, // "y": 2 // } //} Created 30/06/17 18:08
ShootRequestData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.move.ShootRequestData
 
ShootResponseData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.move
// * { // * "status": "OK", // * "data": { // * "message": "Move successful" // * } // * } Created 30/06/17 18:08
ShootResponseData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.move.ShootResponseData
 
shut() - Method in class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
Закрытие коннектора, освобождение ресурсов.
shut() - Method in interface com.socialquantum.battleship.gameapi.types.connector.GameConnector
Закрытие коннектора, освобождение ресурсов.
snapshotId() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.deletesnapshot.DeleteSnapshotRequestData
 
snapshotId() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.savesnapshot.SaveSnapshotResponseData
 
SnapshotId - Interface in com.socialquantum.battleship.gameapi.types.base
Идентификатор игры.
snapshotId() - Method in interface com.socialquantum.battleship.gameapi.types.response.SaveSnapshot
 
snapshotId(String) - Static method in class com.socialquantum.battleship.gameapi.utils.TransformUtils
Преобразование строки в SnapshotId
snapshotList() - Method in class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
 
snapshotList() - Method in interface com.socialquantum.battleship.gameapi.types.connector.GameConnector
Получить список всех сохраненных состояний Типы возвращаемые в случае успеха и не успеха операции соответственно: SnapshotList OperationError
SnapshotList - Interface in com.socialquantum.battleship.gameapi.types.response
Результат выполнения команды получения списка всех сохраненных состояний.
SnapshotListRequestData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.snapshotlist
// { // "command": "list_snapshots" // } Добавить javadocs и тесты Created 06/07/17 15:22
SnapshotListRequestData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.snapshotlist.SnapshotListRequestData
 
SnapshotListResponseData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.snapshotlist
// { // "status": "OK", // "data": { // "snapshot_ids": ["6890b2de-8ddc-49cb-8f79-db61f49dbddc", "c571d1f0-fc1c-4c33-bdf9-23ad6bdd652e",] // } // } Created 06/07/17 15:22
SnapshotListResponseData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.snapshotlist.SnapshotListResponseData
 
snapshots() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.snapshotlist.SnapshotListResponseData
 
snapshots() - Method in interface com.socialquantum.battleship.gameapi.types.response.SnapshotList
 
startGame(GameId) - Method in class com.socialquantum.battleship.gameapi.internal.connector.GameConnectionVer1
 
startGame(GameId) - Method in interface com.socialquantum.battleship.gameapi.types.connector.GameConnector
Начать игру.
StartGame - Interface in com.socialquantum.battleship.gameapi.types.response
Результат выполнения команды начала игры.
StartGameRequestData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.startgame
// { // "command": "start", // "params": { // "game_id": "37812032-d0fe-42bc-a264-fd271e629c3c" // } // } Created 30/06/17 13:44
StartGameRequestData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.startgame.StartGameRequestData
 
StartGameResponseData - Class in com.socialquantum.battleship.gameapi.internal.dataobjects.startgame
// { // "status": "OK", // "data": { // "message": "Game 37812032-d0fe-42bc-a264-fd271e629c3c started successfully" // } // } Created 30/06/17 13:44
StartGameResponseData() - Constructor for class com.socialquantum.battleship.gameapi.internal.dataobjects.startgame.StartGameResponseData
 
status() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.creategame.CreateGameResponseData
 
status - Variable in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponse
 
status() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponse
 
status() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.deletesnapshot.DeleteSnapshotResponseData
 
status() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamelist.GameListResponseData
 
status() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultCell.DefaultContent
 
status() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStatusResponseData
 
status() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.move.ShootResponseData
 
status() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.restoresnapshot.RestoreSnapshotResponseData
 
status() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.savesnapshot.SaveSnapshotResponseData
 
status() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.snapshotlist.SnapshotListResponseData
 
status() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.startgame.StartGameResponseData
 
status() - Method in interface com.socialquantum.battleship.gameapi.types.base.CellContent
 
status() - Method in interface com.socialquantum.battleship.gameapi.types.response.OperationResponse
 
successData() - Method in class com.socialquantum.battleship.gameapi.internal.types.DefaultOperationResult
 
successData() - Method in interface com.socialquantum.battleship.gameapi.internal.types.OperationResult
 

T

toString() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.creategame.CreateGameResponseData.Data
 
toString() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.creategame.CreateGameResponseData
 
toString() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponse.Data
 
toString() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.defaultresponse.DefaultResponse
 
toString() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.deletegame.DeleteGameResponseData
 
toString() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.startgame.StartGameResponseData
 
TransformUtils - Class in com.socialquantum.battleship.gameapi.utils
Created 29/06/17 08:38
TransformUtils() - Constructor for class com.socialquantum.battleship.gameapi.utils.TransformUtils
 
tryAdvance(Consumer<? super CellEntry>) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.CellEntrySpliterator
 
trySplit() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.CellEntrySpliterator
 
turnNumber() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStatusResponseData
 
turnNumber() - Method in interface com.socialquantum.battleship.gameapi.types.response.GameStatus
 
type() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.Ship
 

U

UnexpectedOperationResult - Exception in com.socialquantum.battleship.gameapi.types.exceptions
Ошибка неверного типа.
UnexpectedOperationResult() - Constructor for exception com.socialquantum.battleship.gameapi.types.exceptions.UnexpectedOperationResult
 
UnexpectedOperationResult(String) - Constructor for exception com.socialquantum.battleship.gameapi.types.exceptions.UnexpectedOperationResult
 
UnexpectedOperationResult(String, Throwable) - Constructor for exception com.socialquantum.battleship.gameapi.types.exceptions.UnexpectedOperationResult
 
UnexpectedOperationResult(Throwable) - Constructor for exception com.socialquantum.battleship.gameapi.types.exceptions.UnexpectedOperationResult
 
UnexpectedOperationResult(String, Throwable, boolean, boolean) - Constructor for exception com.socialquantum.battleship.gameapi.types.exceptions.UnexpectedOperationResult
 
USER_TOKEN - Static variable in class com.socialquantum.battleship.gameapi.example.ExampleSettings
 
usersOrder() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStatusResponseData
 
usersOrder() - Method in interface com.socialquantum.battleship.gameapi.types.response.GameStatus
 
userToken() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.PlayerAsset
 
userToken() - Method in interface com.socialquantum.battleship.gameapi.types.base.Asset
 
UserToken - Interface in com.socialquantum.battleship.gameapi.types.base
Данные токена игрока используемые в игре.
userToken(String) - Static method in class com.socialquantum.battleship.gameapi.utils.TransformUtils
Преобразование строки в UserToken

V

value - Variable in class com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.DefaultCell.DefaultContent
 
value() - Method in interface com.socialquantum.battleship.gameapi.types.base.GameId
 
value() - Method in interface com.socialquantum.battleship.gameapi.types.base.SnapshotId
 
value() - Method in interface com.socialquantum.battleship.gameapi.types.base.UserToken
 
valueOf(String) - Static method in enum com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStateDataStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.PlacementMethods
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.socialquantum.battleship.gameapi.internal.types.OperationResult.Result
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.socialquantum.battleship.gameapi.types.base.CellStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.socialquantum.battleship.gameapi.types.base.ExecutionStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.socialquantum.battleship.gameapi.types.base.ShipOrientation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.socialquantum.battleship.gameapi.types.base.ShipType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.socialquantum.battleship.gameapi.internal.dataobjects.gamestatus.GameStateDataStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.PlacementMethods
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.socialquantum.battleship.gameapi.internal.types.OperationResult.Result
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.socialquantum.battleship.gameapi.types.base.CellStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.socialquantum.battleship.gameapi.types.base.ExecutionStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.socialquantum.battleship.gameapi.types.base.ShipOrientation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.socialquantum.battleship.gameapi.types.base.ShipType
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrapException(Class<X>, Function<Throwable, X>, GameUtils.FunctionThatThrows<R>) - Static method in class com.socialquantum.battleship.gameapi.internal.utils.GameUtils
Обернуть выполнение метода и выбросить другое исключение.
wrapExceptionWoResult(Class<X>, Function<Throwable, X>, GameUtils.FunctionThatThrowsWoResult<T>) - Static method in class com.socialquantum.battleship.gameapi.internal.utils.GameUtils
Обернуть выполнение метода и выбросить другое исключение.

X

x() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.move.ShootRequestData
 
x() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.Ship
 
x(int) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.Ship
 
x() - Method in interface com.socialquantum.battleship.gameapi.types.base.CellEntry
 

Y

y() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.move.ShootRequestData
 
y() - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.Ship
 
y(int) - Method in class com.socialquantum.battleship.gameapi.internal.dataobjects.placeships.Ship
 
y() - Method in interface com.socialquantum.battleship.gameapi.types.base.CellEntry
 

С

сonnector(String, UserToken) - Static method in class com.socialquantum.battleship.gameapi.utils.ApiConnectionFactory
Получить объект соединения с игрой.
A B C D E F G H I L M N O P R S T U V W X Y С 
Skip navigation links