Class DreamnailUtilities
Contains utility functions related to Dreamnailing
Namespace: WeaverCore.Utilities
Assembly: WeaverCore.dll
Syntax
public static class DreamnailUtilities
Methods
| Edit this page View SourceCancelRegularDreamnailMessage()
If a regular dreamnail message is being displayed, then cancel it
Declaration
public static void CancelRegularDreamnailMessage()
DisplayEnemyDreamnailMessage(IEnumerable<string>)
Displays an enemy dreamnail message
Declaration
public static void DisplayEnemyDreamnailMessage(IEnumerable<string> possibleOptions)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<string> | possibleOptions | The possible messages to display |
DisplayEnemyDreamnailMessage(int, string, string)
Displays an enemy dreamnail message
Declaration
public static void DisplayEnemyDreamnailMessage(int convoAmount, string convoTitle, string sheetTitle = "Enemy Dreams")
Parameters
Type | Name | Description |
---|---|---|
int | convoAmount | The amount of possible messages that is associated with this |
string | convoTitle | The language convo title to get the dreamnail messages from |
string | sheetTitle |
DisplayEnemyDreamnailMessage(string)
Displays an enemy dreamnail message
Declaration
public static void DisplayEnemyDreamnailMessage(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message to display |
DisplayEnemyDreamnailMessage(params string[])
Displays an enemy dreamnail message
Declaration
public static void DisplayEnemyDreamnailMessage(params string[] possibleOptions)
Parameters
Type | Name | Description |
---|---|---|
string[] | possibleOptions | The possible messages to display |
DisplayRegularDreamnailMessage(IEnumerable<string>)
Displays a regular dreamnail conversation. Note: Be sure to also call PlayDreamnailEffects(Vector3) to play effects
Declaration
public static void DisplayRegularDreamnailMessage(IEnumerable<string> possibleOptions)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<string> | possibleOptions | The possible messages to display |
DisplayRegularDreamnailMessage(string)
Displays a regular dreamnail conversation. Note: Be sure to also call PlayDreamnailEffects(Vector3) to play effects
Declaration
public static void DisplayRegularDreamnailMessage(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message to display |
DisplayRegularDreamnailMessage(params string[])
Displays a regular dreamnail conversation. Note: Be sure to also call PlayDreamnailEffects(Vector3) to play effects
Declaration
public static void DisplayRegularDreamnailMessage(params string[] possibleOptions)
Parameters
Type | Name | Description |
---|---|---|
string[] | possibleOptions | The possible messages to display |
DisplayRegularDreamnailMessage((string convoTitle, string sheetTitle))
Displays a regular dreamnail conversation. Note: Be sure to also call PlayDreamnailEffects(Vector3) to play effects
Declaration
public static void DisplayRegularDreamnailMessage((string convoTitle, string sheetTitle) langPack)
Parameters
Type | Name | Description |
---|---|---|
(string convoTitle, string sheetTitle) | langPack |
IsLayerDreamnailable(int)
Checks if a layer can respond to dreamnail hit events
Declaration
public static bool IsLayerDreamnailable(int layer)
Parameters
Type | Name | Description |
---|---|---|
int | layer | The layer to check |
Returns
Type | Description |
---|---|
bool | Returns true if the layer responds to dreamnail hits |
PlayDreamnailEffects(Vector3)
Plays dreamnail hit effects at the specified position
Declaration
public static void PlayDreamnailEffects(Vector3 position)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | The position to play the effects at |