Example #1
0
 /// <summary>
 /// 设置降生信息
 /// </summary>
 public void SetBirthInfo(Variant d)
 {
     this.Coin = d.GetInt64OrDefault("Coin");
     this.Score = d.GetInt64OrDefault("Score");
     this.Bond = d.GetInt64OrDefault("Bond");
     this.SceneID = d.GetStringOrDefault("SceneID");
     this.X = d.GetIntOrDefault("X");
     this.Y = d.GetIntOrDefault("Y");
     this.Body = d.GetStringOrDefault("Body");
     this.Weapon = d.GetStringOrDefault("Weapon");
     this.Mount = d.GetStringOrDefault("Mount");
     this.Coat = d.GetStringOrDefault("Coat");
     this.IsCoat = d.GetBooleanOrDefault("IsCoat");
 }