com.wallstop-studios.dxmessaging 2.0.0-rc23 → 2.0.0-rc24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
namespace DxMessaging.Core.Messages
|
|
2
2
|
{
|
|
3
3
|
using System;
|
|
4
|
-
using Attributes;
|
|
5
4
|
|
|
6
5
|
[Flags]
|
|
7
6
|
public enum ReflexiveSendMode
|
|
@@ -85,9 +84,10 @@
|
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
86
|
|
|
88
|
-
|
|
89
|
-
public readonly partial struct DxReflexiveMessage
|
|
87
|
+
public readonly struct DxReflexiveMessage : ITargetedMessage<DxReflexiveMessage>
|
|
90
88
|
{
|
|
89
|
+
public Type MessageType => typeof(DxReflexiveMessage);
|
|
90
|
+
|
|
91
91
|
public readonly string method;
|
|
92
92
|
public readonly ReflexiveSendMode sendMode;
|
|
93
93
|
public readonly object[] parameters;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
namespace DxMessaging.Unity.Messages
|
|
2
2
|
{
|
|
3
|
-
using
|
|
3
|
+
using System;
|
|
4
|
+
using Core.Messages;
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
public readonly partial struct GlobalStringMessage
|
|
6
|
+
public readonly struct GlobalStringMessage : IUntargetedMessage<GlobalStringMessage>
|
|
7
7
|
{
|
|
8
|
+
public Type MessageType => typeof(GlobalStringMessage);
|
|
9
|
+
|
|
8
10
|
public readonly string message;
|
|
9
11
|
|
|
10
12
|
public GlobalStringMessage(string message)
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
namespace DxMessaging.Unity.Messages
|
|
2
2
|
{
|
|
3
|
-
using
|
|
3
|
+
using System;
|
|
4
|
+
using Core.Messages;
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
public readonly partial struct StringMessage
|
|
6
|
+
public readonly struct StringMessage : ITargetedMessage<StringMessage>
|
|
7
7
|
{
|
|
8
|
+
public Type MessageType => typeof(StringMessage);
|
|
9
|
+
|
|
8
10
|
public readonly string message;
|
|
9
11
|
|
|
10
12
|
public StringMessage(string message)
|