- UnknownRole(roleType: RoleType): {
roleMetadata: {
isGhostRole: boolean;
roleTeam: RoleTeamType;
roleType: RoleType;
};
new <RoomType>(player: PlayerData<RoomType>): {
onInitialize(): any;
player: PlayerData;
};
}
-
Returns {
roleMetadata: {
isGhostRole: boolean;
roleTeam: RoleTeamType;
roleType: RoleType;
};
new <RoomType>(player: PlayerData<RoomType>): {
onInitialize(): any;
player: PlayerData;
};
}
-
- new <RoomType>(player: PlayerData<RoomType>): {
onInitialize(): any;
player: PlayerData;
}
-
Returns {
onInitialize(): any;
player: PlayerData;
}
-
onInitialize:function
- onInitialize(): any
-
Returns any
-
Readonly
player: PlayerData
-
roleMetadata: {
isGhostRole: boolean;
roleTeam: RoleTeamType;
roleType: RoleType;
}