12345678910111213141516171819202122232425262728293031 |
- using FL.Nodes.Network;
- using XGame.Framework.Data;
- using XGame.Framework.Nodes;
- namespace FL.Nodes
- {
- public static partial class NodeKeys
- {
- private static NodeKey _Network;
- public static NodeKey Network => _Network ??= new NodeKey("Network", (uint)NodeGroupDefine.Launch, typeof(NetworkNode));
- }
- public class NetworkNode : Node
- {
- protected override void OnDispose()
- {
- }
- protected override void OnInited()
- {
- }
- protected override void AddComponent(INodeComponentGroup group)
- {
- group.Add(new SessionComponent());
- }
- protected override void AddData(IDataGroup dataGroup)
- {
- }
- }
- }
|