HaoYueTunnel/ClientCore/Manager/AppLogin.cs

18 lines
393 B
C#
Raw Normal View History

2023-05-24 18:31:11 +08:00
using AxibugProtobuf;
namespace ClientCore
{
public class AppLogin
{
2023-05-25 13:24:51 +08:00
public void Login(string Account)
2023-05-24 18:31:11 +08:00
{
Protobuf_Login msg = new Protobuf_Login()
{
LoginType = 0,
2023-05-25 13:24:51 +08:00
Account = Account,
2023-05-24 18:31:11 +08:00
};
2023-05-25 13:24:51 +08:00
App.networkHelper.SendToServer((int)CommandID.CmdLogin, NetBase.Serizlize(msg));
2023-05-24 18:31:11 +08:00
}
}
}