16 lines
377 B
C#
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;
|
|
} |