Search
Preparing search index...
The search index is not available
SkeldJS
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
core
BaseRole
Class BaseRole<RoomType>
Type parameters
RoomType
:
Hostable
Hierarchy
BaseRole
Index
Properties
role
Metadata
player
Constructors
constructor
Methods
on
Initialize
Properties
Static
role
Metadata
role
Metadata
:
RoleMetadata
Readonly
player
player
:
PlayerData
<
RoomType
>
Constructors
constructor
new
Base
Role<RoomType>
(
player
:
PlayerData
<
RoomType
>
)
:
BaseRole
<
RoomType
>
Type parameters
RoomType
:
Hostable
<
any
,
RoomType
>
Parameters
player:
PlayerData
<
RoomType
>
Returns
BaseRole
<
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
Base
Role
role
Metadata
constructor
on
Initialize
player
data
dtls
eos
events
lan
matchmaking
pathfinding
protocol
reactor
state
text
translations
util
Generated using
TypeDoc