mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
[+] 接入ET8服务端
[+] 接入ET8服务端
This commit is contained in:
14
Assets/GameScripts/DotNet/Model/Client/LockStep/EventType.cs
Normal file
14
Assets/GameScripts/DotNet/Model/Client/LockStep/EventType.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace ET
|
||||
{
|
||||
namespace EventType
|
||||
{
|
||||
public struct LSSceneChangeStart
|
||||
{
|
||||
public Room Room;
|
||||
}
|
||||
|
||||
public struct LSSceneInitFinish
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 02de10d07ce524cb9bc79e666f460484
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,12 @@
|
||||
using TrueSync;
|
||||
|
||||
namespace ET.Client
|
||||
{
|
||||
[ComponentOf(typeof(Room))]
|
||||
public class LSClientUpdater: Entity, IAwake, IUpdate
|
||||
{
|
||||
public LSInput Input = new();
|
||||
|
||||
public long MyId { get; set; }
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: df98480c286284118a69673bd00cc110
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,8 @@
|
||||
namespace ET.Client
|
||||
{
|
||||
[ComponentOf(typeof(Room))]
|
||||
public class LSReplayUpdater: Entity, IAwake, IUpdate
|
||||
{
|
||||
public int ReplaySpeed { get; set; } = 1;
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6f2c0f572224746eba69f60e57c595bb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
12
Assets/GameScripts/DotNet/Model/Client/LockStep/WaitType.cs
Normal file
12
Assets/GameScripts/DotNet/Model/Client/LockStep/WaitType.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace ET
|
||||
{
|
||||
namespace WaitType
|
||||
{
|
||||
public struct Wait_Room2C_Start: IWaitType
|
||||
{
|
||||
public int Error { get; set; }
|
||||
|
||||
public Room2C_Start Message;
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fa3a181fb8c154cf4a6c4e4063dbc0a5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user