Class CustomMessage
Inheritance
System.Object
CustomMessage
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LLBML.Messages
Assembly: LLBModdingLib.dll
Syntax
public class CustomMessage
Constructors
CustomMessage(PluginInfo, Int32, String, MessageActions)
Declaration
public CustomMessage(PluginInfo pluginInfo, int messageCode, string messageName, MessageActions messageActions)
Parameters
| Type | Name | Description |
|---|---|---|
| BepInEx.PluginInfo | pluginInfo | |
| System.Int32 | messageCode | |
| System.String | messageName | |
| MessageActions | messageActions |
CustomMessage(PluginInfo, Int32, String, Action<Message>)
Declaration
public CustomMessage(PluginInfo pluginInfo, int messageCode, string messageName, Action<Message> onReceiveCode)
Parameters
| Type | Name | Description |
|---|---|---|
| BepInEx.PluginInfo | pluginInfo | |
| System.Int32 | messageCode | |
| System.String | messageName | |
| System.Action<Message> | onReceiveCode |
Fields
messageActions
Declaration
public readonly MessageActions messageActions
Field Value
| Type | Description |
|---|---|
| MessageActions |
messageCode
Declaration
public readonly int messageCode
Field Value
| Type | Description |
|---|---|
| System.Int32 |
messageName
Declaration
public readonly string messageName
Field Value
| Type | Description |
|---|---|
| System.String |
pluginInfo
Declaration
public readonly PluginInfo pluginInfo
Field Value
| Type | Description |
|---|---|
| BepInEx.PluginInfo |