@@ -360,7 +360,7 @@ namespace ET.Server
unit.y = y;
}
unit.autoGuard = true;
- unit.name = name;
+ unit.uuid = name;
unit.alias = url;
int objId = await self.AddUnits(unit, true);
@@ -369,8 +369,8 @@ namespace ET.Server
OpenId = openId,
TemplateId = templateId,
ObjId = objId,
- Name = unit.name,
- Url = unit.alias,
+ Name = name,
+ Url = url,
Level = 1,
Likes = 0,
ReliveTime = 0,
@@ -139,7 +139,7 @@
public class MonsterUnit
{
/** 怪物名字 **/
- public string name { get; set; }
+ public string uuid { get; set; }
public string alias { get; set; }
/** 怪物模板ID **/