public Map_ResultFmt()
 {
     this.Rashin_id  = CompassType.None;
     this.Cell_no    = 0;
     this.Color_no   = 0;
     this.Event_id   = enumMapEventType.None;
     this.Event_kind = enumMapWarType.None;
     this.IsNext     = false;
     this.Comment    = MapCommentKind.None;
     this.Production = MapProductionKind.None;
     this.GetSpoint  = 0;
 }
Example #2
0
 public Map_ResultFmt()
 {
     Rashin_id  = CompassType.None;
     Cell_no    = 0;
     Color_no   = 0;
     Event_id   = enumMapEventType.None;
     Event_kind = enumMapWarType.None;
     IsNext     = false;
     Comment    = MapCommentKind.None;
     Production = MapProductionKind.None;
     GetSpoint  = 0;
 }
Example #3
0
        private IEnumerator ChkProduction(MapManager manager, UIMapManager uiManager, UISortieShip ship)
        {
            MapProductionKind production = manager.Production;

            if (production == MapProductionKind.WaterPlane && uiManager.nowCell != null)
            {
                bool isFinished = false;
                ship.PlayDetectionAircraft(uiManager.nowCell, uiManager.nextCell, delegate
                {
                    isFinished = true;
                });
                while (!isFinished)
                {
                    yield return(null);
                }
            }
        }
 public void SetMember(CompassType rashin_id, Mst_mapcell2 target_cell, MapItemGetFmt item, List <MapItemGetFmt> clearItems, MapHappningFmt happning, MapCommentKind comment, MapProductionKind production, AirReconnaissanceFmt airSearch, EventMapInfo eventMap, List <int> selectcell, List <int> newOpenMap, int spoint)
 {
     this.Rashin_id = rashin_id;
     this.Cell_no   = target_cell.No;
     if (selectcell != null)
     {
         this.SelectCells = Enumerable.ToList <int>(selectcell);
     }
     this.Color_no          = target_cell.Color_no;
     this.Event_id          = target_cell.Event_1;
     this.Event_kind        = target_cell.Event_2;
     this.IsNext            = target_cell.IsNext();
     this.Comment           = comment;
     this.Production        = production;
     this.AirReconnaissance = airSearch;
     this.ItemGet           = item;
     this.MapClearItem      = clearItems;
     this.Happning          = happning;
     this.MapHp             = eventMap;
     this.NewOpenMapId      = newOpenMap;
     this.GetSpoint         = spoint;
 }
Example #5
0
 public void SetMember(CompassType rashin_id, Mst_mapcell2 target_cell, MapItemGetFmt item, List <MapItemGetFmt> clearItems, MapHappningFmt happning, MapCommentKind comment, MapProductionKind production, AirReconnaissanceFmt airSearch, EventMapInfo eventMap, List <int> selectcell, List <int> newOpenMap, int spoint)
 {
     Rashin_id = rashin_id;
     Cell_no   = target_cell.No;
     if (selectcell != null)
     {
         SelectCells = selectcell.ToList();
     }
     Color_no          = target_cell.Color_no;
     Event_id          = target_cell.Event_1;
     Event_kind        = target_cell.Event_2;
     IsNext            = target_cell.IsNext();
     Comment           = comment;
     Production        = production;
     AirReconnaissance = airSearch;
     ItemGet           = item;
     MapClearItem      = clearItems;
     Happning          = happning;
     MapHp             = eventMap;
     NewOpenMapId      = newOpenMap;
     GetSpoint         = spoint;
 }