rj-action-library/Runtime/Networking/Nodes/NetworkNodeSlot.cs

16 lines
353 B
C#
Raw Normal View History

2025-01-08 18:46:17 +00:00
using Godot;
using System.Collections.Generic;
namespace Rokojori
{
public class NetworkNodeSlot:NetworkNodeMember
{
public EventSlot<NetworkMessageEvent> onMessage = new EventSlot<NetworkMessageEvent>();
protected override void OnNetworkMessageReceived( NetworkMessageEvent nme )
{
onMessage.DispatchEvent( nme );
}
}
}