2024-02-01 19:06:51 +08:00
|
|
|
|
using Game.Plugins.App.Sync;
|
2024-01-29 19:07:52 +08:00
|
|
|
|
|
|
|
|
|
namespace Script.battle
|
2024-01-26 19:15:07 +08:00
|
|
|
|
{
|
2024-01-29 19:07:52 +08:00
|
|
|
|
public abstract class GBaseMode<T> : JNGSyncFrame<T>
|
2024-01-26 19:15:07 +08:00
|
|
|
|
{
|
2024-02-04 16:17:39 +08:00
|
|
|
|
public override void OnSyncLoad()
|
|
|
|
|
{
|
|
|
|
|
base.OnSyncLoad();
|
|
|
|
|
GBattleModeManager.Instance.root = this;
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-02 15:38:13 +08:00
|
|
|
|
public override void OnSyncUpdate(int dt, JNFrameInfo frame, T input)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void OnLateSyncUpdate(int dt, JNFrameInfo frame, T input)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2024-02-04 16:17:39 +08:00
|
|
|
|
|
2024-01-26 19:15:07 +08:00
|
|
|
|
}
|
|
|
|
|
}
|