提交帧同步案例

This commit is contained in:
PC-20230316NUNE\Administrator
2024-01-26 19:15:07 +08:00
parent 3a345ab966
commit 68c4d5e811
3928 changed files with 463020 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
using System.Threading.Tasks;
using Cysharp.Threading.Tasks;
using Plugins.JNGame.Network;
namespace Script.AppImpl
{
public class JNGSocket : JNSocket
{
protected override async UniTask<string> GetUrl()
{
return "ws://localhost:8080/websocket";
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 6018b3436d0447f18eb907f86db6504e
timeCreated: 1705993176

View File

@@ -0,0 +1,12 @@
using Plugins.JNGame.Sync.Frame;
namespace Script.AppImpl
{
public class JNGSyncFrame : JNSyncFrame
{
protected override void OnSendInput(JNFrameInputs inputs)
{
throw new System.NotImplementedException();
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: c3b45cb3cc954a99bface55dd2529ce6
timeCreated: 1706241635