BoatKind
A value shape that methods take or return.
Getting one
player:sailing():boarded():kind()Fields
| Field | Type | Description |
|---|---|---|
typeId | number | The boat type: 0 raft, 1 skiff, 2 sloop, 3 Will and Anne's boat. |
row | number | Its row in the game's boat table. |
name | string | Its name ("Sloop"). |
size | number | Its size. |
playerCapacity | number | How many players it carries. |
crewCapacity | number | How many crewmates it carries. |
level | number | The Sailing level it needs. |
Returned by
| Method | Returns | Description |
|---|---|---|
BoardedBoat.kind | BoatKind? | The boat type; nil when the client cannot read the game's boat table. |
OwnedBoat.kind | BoatKind? | The boat type; nil when the client cannot read the game's boat table. |