Files
caliverse_server/GameServer/P2P/P2PDataLogStateBase.cs
2025-05-01 07:20:41 +09:00

16 lines
377 B
C#

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;
}