提交示例代码
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
using Fantasy.Entitas;
|
||||
|
||||
namespace Fantasy;
|
||||
|
||||
public sealed class EntityTimeoutComponent : Entity
|
||||
{
|
||||
public long TimerId;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using Fantasy.Entitas;
|
||||
using Fantasy.Network;
|
||||
using Fantasy.Serialize;
|
||||
using ProtoBuf.Serializers;
|
||||
|
||||
namespace Fantasy;
|
||||
|
||||
public class SerializerComponent : Entity
|
||||
{
|
||||
public ISerialize Serialize;
|
||||
public readonly MemoryStreamBufferPool BufferPool = new MemoryStreamBufferPool();
|
||||
}
|
||||
Reference in New Issue
Block a user