Beispiel #1
0
 public MapEventStr(MapEvent mapEvent, MapDataStr mapDataStr)
 {
     Parent           = mapDataStr;
     EventID          = new OutputStructSentence("イベントID", mapEvent.EventID.ToString());
     EventName        = new OutputStructSentence("イベント名", Utils.String.Trim(mapEvent.EventName));
     Position         = new OutputStructTable("座標", SetPositionHeader(), SetPositionData(mapEvent));
     MapEventPageList = SetMapEventPageList(mapEvent.EventPages, this);
 }
Beispiel #2
0
        private List <MapEventStr> SetMapEventList(MapEvent[] mapEvents, MapDataStr mapDataStr)
        {
            var mapEventList = new List <MapEventStr>()
            {
            };

            for (int mapEventId = 0; mapEventId < mapEvents.Count(); mapEventId++)
            {
                mapEventList.Add(new MapEventStr(mapEvents[mapEventId], mapDataStr));
            }
            return(mapEventList);
        }