CTT/Server/Hotfix/Game/Helper/UserHelper.cs

18 lines
341 B
C#
Raw Normal View History

2021-04-08 20:09:59 +08:00
using System;
using System.Collections.Generic;
using System.Text;
namespace ET
{
public class UserHelper
{
public static async ETTask<User> Query(long id)
{
2021-04-11 19:50:39 +08:00
User user = await DBComponent.Instance.Query<User>(id);
2021-04-08 20:09:59 +08:00
if (user == null) return null;
return user;
}
}
}