internal void Update(kcsapi_kdock rawData)
 {
     this.Id = rawData.api_id;
     this.State = (BuildingDockState)rawData.api_state;
     this.Ship = this.State == BuildingDockState.Building || this.State == BuildingDockState.Completed
         ? KanColleClient.Current.Master.Ships[rawData.api_created_ship_id]
         : null;
     this.CompleteTime = this.State == BuildingDockState.Building
         ? (DateTimeOffset?)Definitions.UnixEpoch.AddMilliseconds(rawData.api_complete_time)
         : null;
 }
 internal void Finish()
 {
     this.State = BuildingDockState.Completed;
     this.CompleteTime = null;
 }