초기커밋
This commit is contained in:
16
GameServer/P2P/P2PDataLogStateBase.cs
Normal file
16
GameServer/P2P/P2PDataLogStateBase.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace GameServer;
|
||||
|
||||
public abstract class P2PDataLogStateBase : IP2PDataLogState
|
||||
{
|
||||
protected readonly bool m_is_active = false;
|
||||
public P2PDataLogStateBase(bool isActive)
|
||||
{
|
||||
m_is_active = isActive;
|
||||
}
|
||||
|
||||
public abstract void enter();
|
||||
public abstract Task update();
|
||||
public abstract void exit();
|
||||
|
||||
public bool getActive() => m_is_active;
|
||||
}
|
||||
Reference in New Issue
Block a user