You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
696 B
C#
31 lines
696 B
C#
using OMS.NET.Common;
|
|
|
|
namespace OMS.NET.Instructs
|
|
{
|
|
public class GetUserDataInstruct : Instruct
|
|
{
|
|
public GetUserDataInstruct()
|
|
{
|
|
this.Type = "get_userData";
|
|
}
|
|
|
|
public override Task Handler(string wsid)
|
|
{
|
|
return Task.Run(() =>
|
|
{
|
|
if (GlobalArea.LoginCheckByID(wsid))
|
|
{
|
|
string userEmail = GlobalArea.UserConnects.First(u => u.ID == wsid).UserEmail!;
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
public class SendUserDataInstruct : Instruct
|
|
{
|
|
public SendUserDataInstruct()
|
|
{
|
|
this.Type = "send_userData";
|
|
}
|
|
}
|
|
} |