Fix error when the client gets an Eui state message before its open message (#23610)

* Fix error when the client gets an Eui state message before its open message

* Revert "Fix error when the client gets an Eui state message before its open message"

This reverts commit 440e2746ee8d77306f59ddea558eda32ec927f18.

* Make all Eui msgs reliable ordered

(cherry picked from commit 95ef20223c1abaf6ff0baaf76b73e92dfd921efb)
This commit is contained in:
DrSmugleaf 2024-01-14 01:18:45 -08:00 committed by Debug
parent dfb3ff6836
commit deea24e255
No known key found for this signature in database
GPG Key ID: 271270A74EF9C350
3 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ namespace Content.Shared.Eui
public sealed class MsgEuiCtl : NetMessage
{
public override MsgGroups MsgGroup => MsgGroups.Command;
public override NetDeliveryMethod DeliveryMethod => NetDeliveryMethod.ReliableOrdered;
public CtlType Type;
public string OpenType = string.Empty;

View File

@ -8,6 +8,7 @@ namespace Content.Shared.Eui
public sealed class MsgEuiMessage : NetMessage
{
public override MsgGroups MsgGroup => MsgGroups.Command;
public override NetDeliveryMethod DeliveryMethod => NetDeliveryMethod.ReliableOrdered;
public uint Id;
public EuiMessageBase Message = default!;

View File

@ -8,6 +8,7 @@ namespace Content.Shared.Eui
public sealed class MsgEuiState : NetMessage
{
public override MsgGroups MsgGroup => MsgGroups.Command;
public override NetDeliveryMethod DeliveryMethod => NetDeliveryMethod.ReliableOrdered;
public uint Id;
public EuiStateBase State = default!;