zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Unity/Assets/Hotfix/Logic/Model/Game/Entity/User/Account.cs

37 lines
546 B
C#

using ET;
using System;
using System.Collections;
using System.Collections.Generic;
namespace ET
{
public class AccountAwakeSystem : AwakeSystem<Account, string, string>
{
public override void Awake(Account self, string a, string b)
{
self.Awake(a, b);
}
}
public class Account : Entity
{
public string Username;
public string Pwd;
public void Awake(string a, string b)
{
Username = a;
Pwd = b;
}
public override void Dispose()
{
if (this.IsDisposed)
{
return;
}
base.Dispose();
}
}
}