Skip to content

Commit

Permalink
更新协议工具,重新导出协议
Browse files Browse the repository at this point in the history
  • Loading branch information
lixiuzhi committed Aug 19, 2023
1 parent 15446d8 commit 3f0e308
Show file tree
Hide file tree
Showing 68 changed files with 181 additions and 394 deletions.
3 changes: 1 addition & 2 deletions Geek.Server.App/Common/AppStartUp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
using NLog;
using NLog.Config;
using NLog.LayoutRenderers;
using PolymorphicMessagePack;
using Protocol;
using PolymorphicMessagePack;

namespace Geek.Server.App.Common
{
Expand Down
2 changes: 1 addition & 1 deletion Geek.Server.Generate/PolymorphicRegister.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Protocol
namespace Geek.Server.Proto
{
public partial class PolymorphicRegister
{
Expand Down
1 change: 0 additions & 1 deletion Geek.Server.Generate/Proto/Geek.Server.Proto.A.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;

namespace Geek.Server.Proto
Expand Down
1 change: 0 additions & 1 deletion Geek.Server.Generate/Proto/Geek.Server.Proto.B.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;

namespace Geek.Server.Proto
Expand Down
1 change: 0 additions & 1 deletion Geek.Server.Generate/Proto/Geek.Server.Proto.HearBeat.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;

namespace Geek.Server.Proto
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;
using System.Collections.Generic;

Expand Down
1 change: 0 additions & 1 deletion Geek.Server.Generate/Proto/Geek.Server.Proto.Place.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;
using System.Collections.Generic;

Expand Down
1 change: 0 additions & 1 deletion Geek.Server.Generate/Proto/Geek.Server.Proto.ReqBagInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;
using System.Collections.Generic;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;
using System.Collections.Generic;

Expand Down
1 change: 0 additions & 1 deletion Geek.Server.Generate/Proto/Geek.Server.Proto.ReqLogin.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;

namespace Geek.Server.Proto
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;
using System.Collections.Generic;

Expand Down
1 change: 0 additions & 1 deletion Geek.Server.Generate/Proto/Geek.Server.Proto.ReqUseItem.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;
using System.Collections.Generic;

Expand Down
1 change: 0 additions & 1 deletion Geek.Server.Generate/Proto/Geek.Server.Proto.ResBagInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;
using System.Collections.Generic;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;
using System.Collections.Generic;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;

namespace Geek.Server.Proto
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;
using System.Collections.Generic;

Expand Down
1 change: 0 additions & 1 deletion Geek.Server.Generate/Proto/Geek.Server.Proto.ResLevelUp.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;

namespace Geek.Server.Proto
Expand Down
1 change: 0 additions & 1 deletion Geek.Server.Generate/Proto/Geek.Server.Proto.ResLogin.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;

namespace Geek.Server.Proto
Expand Down
1 change: 0 additions & 1 deletion Geek.Server.Generate/Proto/Geek.Server.Proto.ResPrompt.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;

namespace Geek.Server.Proto
Expand Down
1 change: 0 additions & 1 deletion Geek.Server.Generate/Proto/Geek.Server.Proto.TestStruct.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;

namespace Geek.Server.Proto
Expand Down
1 change: 0 additions & 1 deletion Geek.Server.Generate/Proto/Geek.Server.Proto.UserInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
using MessagePack;

namespace Geek.Server.Proto
Expand Down
2 changes: 1 addition & 1 deletion Geek.Server.Generate/Proto/MsgFactory.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//auto generated, do not modify it

using System;
namespace Protocol
namespace Geek.Server.Proto
{
public class MsgFactory
{
Expand Down
2 changes: 1 addition & 1 deletion Geek.Server.Generate/Proto/PolymorphicRegisterGen.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using PolymorphicMessagePack;
namespace Protocol
namespace Geek.Server.Proto
{
public partial class PolymorphicRegister
{
Expand Down
3 changes: 1 addition & 2 deletions Geek.Server.Hotfix/Common/HotfixBridge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
using Geek.Server.Core.Timer;
using Geek.Server.Core.Utils;
using Microsoft.AspNetCore.Connections;
using PolymorphicMessagePack;
using Protocol;
using PolymorphicMessagePack;

namespace Server.Logic.Common
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using Bedrock.Framework;
using Bedrock.Framework.Protocols;
using Geek.Server.Core.Net.BaseHandler;
using MessagePack;
using Protocol;
using MessagePack;
using System.Buffers;
using System.Diagnostics;

Expand Down
3 changes: 1 addition & 2 deletions Geek.Server.TestPressure/Program.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

using Geek.Server.Core.Actors;
using Geek.Server.TestPressure.Logic;
using PolymorphicMessagePack;
using Protocol;
using PolymorphicMessagePack;
using System.Net.WebSockets;
using System.Text;

Expand Down
Binary file modified Tools/Geek.MsgPackTool/Geek.Proto.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Tools/Geek.MsgPackTool/Geek/MsgFactory.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//auto generated, do not modify it

using System;
namespace Protocol
namespace Geek.Server.Proto
{
public class MsgFactory
{
Expand Down
1 change: 0 additions & 1 deletion Tools/Geek.MsgPackTool/Geek/Proto.liquid
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//auto generated, do not modify it

using Protocol;
{{~ for using in usings ~}}
using {{using}};
{{~ end ~}}
Expand Down
2 changes: 1 addition & 1 deletion Tools/Geek.MsgPackTool/Geek/Register.liquid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using PolymorphicMessagePack;
namespace Protocol
namespace Geek.Server.Proto
{
public partial class PolymorphicRegister
{
Expand Down
Binary file modified Tools/Geek.MsgPackTool/MessagePack.Generator.dll
Binary file not shown.
Binary file modified Tools/Geek.MsgPackTool/MessagePack.Generator.exe
Binary file not shown.
Loading

0 comments on commit 3f0e308

Please sign in to comment.