mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
[+] Network Module
[+] Network Module
This commit is contained in:
24
Assets/GameScripts/HotFix/GameLogic/Network/PacketBase.cs
Normal file
24
Assets/GameScripts/HotFix/GameLogic/Network/PacketBase.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using TEngine;
|
||||
|
||||
namespace GameLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// 网络消息包基类。
|
||||
/// </summary>
|
||||
public abstract class PacketBase : Packet
|
||||
{
|
||||
/// <summary>
|
||||
/// 网络消息包Id。
|
||||
/// </summary>
|
||||
public int ProtoId;
|
||||
|
||||
/// <summary>
|
||||
/// 网络消息包包体。
|
||||
/// </summary>
|
||||
public byte[] ProtoBody;
|
||||
|
||||
public void Close()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user