Search
Preparing search index...
The search index is not available
SkeldJS
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
core
CrewmateRole
Class CrewmateRole<RoomType>
Type parameters
RoomType
:
Hostable
Hierarchy
BaseRole
<
RoomType
>
CrewmateRole
Index
Properties
role
Metadata
player
Constructors
constructor
Methods
on
Initialize
Properties
Static
role
Metadata
role
Metadata
:
{
isGhostRole
:
boolean
;
roleTeam
:
RoleTeamType
;
roleType
:
RoleType
}
= ...
Type declaration
is
Ghost
Role
:
boolean
role
Team
:
RoleTeamType
role
Type
:
RoleType
Readonly
player
player
:
PlayerData
<
RoomType
>
Constructors
constructor
new
Crewmate
Role<RoomType>
(
player
:
PlayerData
<
RoomType
>
)
:
CrewmateRole
<
RoomType
>
Type parameters
RoomType
:
Hostable
<
any
,
RoomType
>
Parameters
player:
PlayerData
<
RoomType
>
Returns
CrewmateRole
<
RoomType
>
Methods
on
Initialize
on
Initialize
(
)
:
any
Returns
any
Getting
Started
Creating a
Client
Guides
Events
Writing
Custom
Protocol
Messages
Creating
Custom INOs
End
Game
Intents
API
Modules
client
constant
core
data
dtls
eos
events
lan
matchmaking
pathfinding
protocol
reactor
state
text
translations
util
client
constant
core
Crewmate
Role
role
Metadata
constructor
on
Initialize
player
data
dtls
eos
events
lan
matchmaking
pathfinding
protocol
reactor
state
text
translations
util
Generated using
TypeDoc