[+] TEngineServer

[+] TEngineServer
This commit is contained in:
ALEXTANG
2023-07-13 17:17:26 +08:00
parent a69f53592e
commit 0c8f3a5f92
790 changed files with 52737 additions and 2533 deletions

View File

@@ -1,5 +1,6 @@
using System.Collections.Generic;
using TEngine;
using TEngine.Core;
public partial class GameApp
{
@@ -25,6 +26,13 @@ public partial class GameApp
/// </summary>
private void RegisterAllSystem()
{
if (_hotfixAssembly != null)
{
AssemblyManager.Load(AssemblyName.GameBase, _hotfixAssembly.Find(t=>t.FullName.Contains("GameBase")));
AssemblyManager.Load(AssemblyName.GameProto, _hotfixAssembly.Find(t=>t.FullName.Contains("GameProto")));
AssemblyManager.Load(AssemblyName.GameLogic, GetType().Assembly);
}
//带生命周期的单例系统。
AddLogicSys(BehaviourSingleSystem.Instance);
}