Files
TEngine/Assets/GameScripts/DotNet/Model/Server/Module/DB/DBComponent.cs
ALEXTANG 336d4b2eb9 [+] 接入ET8服务端
[+] 接入ET8服务端
2023-07-13 12:23:48 +08:00

16 lines
355 B
C#

using MongoDB.Driver;
namespace ET.Server
{
/// <summary>
/// 用来缓存数据
/// </summary>
[ChildOf(typeof(DBManagerComponent))]
public class DBComponent: Entity, IAwake<string, string, int>
{
public const int TaskCount = 32;
public MongoClient mongoClient;
public IMongoDatabase database;
}
}