public User_MapinfoFmt()
 {
     this.Boss_type = User_MapinfoFmt.enumExBossType.Normal;
     this.Eventmap  = new EventMapInfo();
     this.Cleared   = false;
     this.IsGo      = false;
 }
 public MapHPModel(Mst_mapinfo mst, User_MapinfoFmt mem)
 {
     this._mapID = mst.Id;
     if (mem != null)
     {
         this._type = mem.Boss_type;
         if (this._type == User_MapinfoFmt.enumExBossType.MapHp)
         {
             this._max_value = mem.Eventmap.Event_maxhp;
             this._now_value = mem.Eventmap.Event_hp;
         }
         else if (this._type == User_MapinfoFmt.enumExBossType.Defeat)
         {
             this._max_value = 0;
             this._now_value = Math.Max(this._max_value - mem.Defeat_count, 0);
         }
     }
     else
     {
         this._type      = User_MapinfoFmt.enumExBossType.Normal;
         this._max_value = (this._now_value = 0);
     }
 }