艹
This commit is contained in:
7
Entity/Chat/ChatComponent.cs
Normal file
7
Entity/Chat/ChatComponent.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
using Fantasy.Entitas;
|
||||
|
||||
namespace Fantasy;
|
||||
|
||||
public class ChatComponent : Entity
|
||||
{
|
||||
}
|
||||
19
Entity/Chat/ChatUnit.cs
Normal file
19
Entity/Chat/ChatUnit.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Fantasy.Entitas;
|
||||
|
||||
namespace Fantasy;
|
||||
|
||||
public sealed class ChatUnit : Entity
|
||||
{
|
||||
public long GateRouteId;
|
||||
|
||||
public override void Dispose()
|
||||
{
|
||||
if (IsDisposed)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
GateRouteId = 0;
|
||||
base.Dispose();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user