zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Server/Hotfix/Game/Helper/UserHelper.cs

18 lines
340 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)
{
var user = await DBComponent.Instance.Query<User>(id);
if (user == null) return null;
return user;
}
}
}