add chat command

This commit is contained in:
Naruse
2026-04-27 00:40:08 +08:00
parent 9c67e36ca3
commit 4ee9fd6908
7 changed files with 121 additions and 4 deletions

View File

@@ -23,6 +23,20 @@ public class PlayerGameData : BaseDatabaseDataHelper
var result = DatabaseHelper.GetInstance<PlayerGameData>((int)uid);
return result;
}
public PlayerProfile ToProfileProto()
{
var proto = new PlayerProfile
{
Pid = (uint)Uid,
Account = Name,
Name = Name,
Level = Level,
Sex = Gender,
Sign = Signature,
};
return proto;
}
}