-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
export interface GameStreamId { | ||
/** | ||
* User-friendly title for the game stream. | ||
* Example: 'Spells' or 'Main'. | ||
*/ | ||
title: string; | ||
|
||
/** | ||
* Unique identifier for the game stream. | ||
* Assigned by DragonRealms. | ||
* Example: 'percWindow' (spells) or '' (main). | ||
*/ | ||
streamId: string; | ||
|
||
/** | ||
* Unique identifier for the stream for our purposes. | ||
* Generally is the same value as the `streamId` except | ||
* for the main stream which is 'main' instead of empty string. | ||
*/ | ||
itemId: string; | ||
} | ||
|
||
/** | ||
* Users will be allowed to create new streams to customize how | ||
* game content is routed to the UI. Sometimes custom scripts output | ||
* to specific streams, or DragonRealms introduces new streams before | ||
* we update the code to support them. | ||
* | ||
* This array is the default set of streams that we know DragonRealms supports. | ||
*/ | ||
export const DefaultGameStreamIds: Array<GameStreamId> = [ | ||
{ | ||
title: 'Main', | ||
streamId: '', | ||
itemId: 'main', | ||
}, | ||
{ | ||
title: 'Experience', | ||
streamId: 'experience', | ||
itemId: 'experience', | ||
}, | ||
{ | ||
title: 'Room', | ||
streamId: 'room', | ||
itemId: 'room', | ||
}, | ||
{ | ||
title: 'Spells', | ||
streamId: 'percWindow', | ||
itemId: 'percWindow', | ||
}, | ||
{ | ||
title: 'Inventory', | ||
streamId: 'inv', | ||
itemId: 'inv', | ||
}, | ||
{ | ||
title: 'Familiar', | ||
streamId: 'familiar', | ||
itemId: 'familiar', | ||
}, | ||
{ | ||
title: 'Thoughts', | ||
streamId: 'thoughts', | ||
itemId: 'thoughts', | ||
}, | ||
{ | ||
title: 'Combat', | ||
streamId: 'combat', | ||
itemId: 'combat', | ||
}, | ||
{ | ||
title: 'Assess', | ||
streamId: 'assess', | ||
itemId: 'assess', | ||
}, | ||
{ | ||
title: 'Arrivals', | ||
streamId: 'logons', | ||
itemId: 'logons', | ||
}, | ||
{ | ||
title: 'Deaths', | ||
streamId: 'deaths', | ||
itemId: 'deaths', | ||
}, | ||
{ | ||
title: 'Atmospherics', | ||
streamId: 'atmospherics', | ||
itemId: 'atmospherics', | ||
}, | ||
{ | ||
title: 'Chatter', | ||
streamId: 'chatter', | ||
itemId: 'chatter', | ||
}, | ||
{ | ||
title: 'Conversation', | ||
streamId: 'conversation', | ||
itemId: 'conversation', | ||
}, | ||
{ | ||
title: 'Whispers', | ||
streamId: 'whispers', | ||
itemId: 'whispers', | ||
}, | ||
{ | ||
title: 'Talk', | ||
streamId: 'talk', | ||
itemId: 'talk', | ||
}, | ||
{ | ||
title: 'OOC', | ||
streamId: 'ooc', | ||
itemId: 'ooc', | ||
}, | ||
{ | ||
title: 'Group', | ||
streamId: 'group', | ||
itemId: 'group', | ||
}, | ||
]; |