示例#1
0
文件: GlobalModel.cs 项目: Kreyl/nute
 public void SendSetName(string text, IArmletInfo armletId)
 {
     text = Armlet.TransformName(text);
     armletId.SetName(text);
     SendCommand(armletId, MessageId.MSG_SET_PLAYER_NAME, text);
 }
示例#2
0
 public string GetName(byte armletId)
 {
     return(_savedData.ContainsKey(armletId) ? Armlet.TransformName(_savedData[armletId].Name) : null);
 }