Show / Hide Table of Contents

Class DreamnailUtilities

Contains utility functions related to Dreamnailing

Inheritance
object
DreamnailUtilities
Namespace: WeaverCore.Utilities
Assembly: WeaverCore.dll
Syntax
public static class DreamnailUtilities

Methods

| Edit this page View Source

CancelRegularDreamnailMessage()

If a regular dreamnail message is being displayed, then cancel it

Declaration
public static void CancelRegularDreamnailMessage()
| Edit this page View Source

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

| Edit this page View Source

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 convoTitle. Set to 0 if there is only one message

string convoTitle

The language convo title to get the dreamnail messages from

string sheetTitle
| Edit this page View Source

DisplayEnemyDreamnailMessage(string)

Displays an enemy dreamnail message

Declaration
public static void DisplayEnemyDreamnailMessage(string message)
Parameters
Type Name Description
string message

The message to display

| Edit this page View Source

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

| Edit this page View Source

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

| Edit this page View Source

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

| Edit this page View Source

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

| Edit this page View Source

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
| Edit this page View Source

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

| Edit this page View Source

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

  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾