Struct SksePluginMessage
- Namespace
- SkyrimForge
- Assembly
- SkyrimForge.dll
A message one SKSE plugin sends another.
public readonly struct SksePluginMessage : IEquatable<SksePluginMessage>
- Implements
- Inherited Members
Constructors
SksePluginMessage(string, uint, nint, int)
A message one SKSE plugin sends another.
public SksePluginMessage(string Sender, uint MessageType, nint Data, int Length)
Parameters
SenderstringThe sending plugin, named as Subscribe(string, Action<SksePluginMessage>) describes.
MessageTypeuintThe sender's own number for this kind of message.
DatanintThe payload's address in this process, or 0 for a message with no payload.
LengthintThe payload's length in bytes.
Properties
Data
The payload's address in this process, or 0 for a message with no payload.
public nint Data { get; init; }
Property Value
Length
The payload's length in bytes.
public int Length { get; init; }
Property Value
MessageType
The sender's own number for this kind of message.
public uint MessageType { get; init; }
Property Value
Sender
The sending plugin, named as Subscribe(string, Action<SksePluginMessage>) describes.
public string Sender { get; init; }
Property Value
Methods
Deconstruct(out string, out uint, out nint, out int)
public void Deconstruct(out string Sender, out uint MessageType, out nint Data, out int Length)
Parameters
Equals(SksePluginMessage)
public bool Equals(SksePluginMessage other)
Parameters
otherSksePluginMessage
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(SksePluginMessage, SksePluginMessage)
public static bool operator ==(SksePluginMessage left, SksePluginMessage right)
Parameters
leftSksePluginMessagerightSksePluginMessage
Returns
operator !=(SksePluginMessage, SksePluginMessage)
public static bool operator !=(SksePluginMessage left, SksePluginMessage right)
Parameters
leftSksePluginMessagerightSksePluginMessage