Preparing search index...
The search index is not available
@skeldjs/hindenburg
@skeldjs/hindenburg
BaseRole
Class BaseRole<RoomType>
Type Parameters
RoomType
extends
Hostable
=
Hostable
Hierarchy
BaseRole
CrewmateRole
EngineerRole
GuardianAngelRole
ImpostorRole
ScientistRole
ShapeshifterRole
SomeUnknownRole
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
extends
Hostable
<
any
,
RoomType
>
=
Hostable
<
any
>
Parameters
player:
PlayerData
<
RoomType
>
Returns
BaseRole
<
RoomType
>
Methods
on
Initialize
on
Initialize
(
)
:
any
Returns
any
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
@skeldjs/hindenburg
Getting
Started
Installation
Connecting to your server
Configuration
Environment
Variables
Logging
Config
Reactor
Support
Using
Hindenburg
Installing
Plugins
Server-
as-
a-
Host
Interactive CLI
Chat
Commands
Advanced
Usage
Unknown
Innernet
Objects
Message
Ordering
Contributing
Comparison with
Impostor
Plugins
Creating a
Plugin
Developing
Plugins
Publishing
Plugins
Compatible
Hindenburg API
Versions
Worker and
Room
Plugins
Load
Ordering
Dependencies
Configuration
Lifecycle
Methods
API
Event
Listeners
Chat
Commands
CLI
Commands
Event
Targets
End
Game
Intents
Server
Broadcast
Game
Codes
Advanced
Custom
Innernet
Objects
Handling
Custom RPCs
Custom
Protocol
Messages
Receiving
Protocol
Messages
Custom
Roles
Player
Perspectives
Reactor
Integration
Guides
How to create a custom role
How to display floating text
Topics
Object
Ownership
Guards
Base
Role
role
Metadata
constructor
on
Initialize
player
Generated using
TypeDoc