示例#1
0
        /*-------------------------------------------------------------------------
         * 해역변동현황변환
         * ---------------------------------------------------------------------------*/
        static public string ToSeaTypeString(sea_type type)
        {
            switch (type)
            {
            case sea_type.safty: return("안전");

            case sea_type.lawless: return("무법");

            default: return("통상");
            }
        }
        /*-------------------------------------------------------------------------
         * 海域変動状況変換
         * ---------------------------------------------------------------------------*/
        static public string ToSeaTypeString(sea_type type)
        {
            switch (type)
            {
            case sea_type.safty:            return("安全");

            case sea_type.lawless:          return("無法");

            default:                                        return("通常");
            }
        }
示例#3
0
            /*-------------------------------------------------------------------------
             * sea_typeを문자열で得る
             * ---------------------------------------------------------------------------*/
            public static string ToString(sea_type t)
            {
                switch (t)
                {
                case sea_type.normal: return("위험해역");

                case sea_type.safty: return("안전해역");

                case sea_type.lawless: return("무법해역");
                }
                return("unknown");
            }
示例#4
0
            /*-------------------------------------------------------------------------
             * sea_typeを文字列で得る
             * ---------------------------------------------------------------------------*/
            public static string ToString(sea_type t)
            {
                switch (t)
                {
                case sea_type.normal:           return("危険海域");

                case sea_type.safty:            return("安全海域");

                case sea_type.lawless:          return("無法海域");
                }
                return("unknown");
            }
示例#5
0
 /*-------------------------------------------------------------------------
  *
  * ---------------------------------------------------------------------------*/
 public sea_area_once(string name)
 {
     m_name = name;
     m_type = sea_type.normal;
     m_list = new List <data>();
 }
示例#6
0
 /*-------------------------------------------------------------------------
  *
  * ---------------------------------------------------------------------------*/
 public sea_area_type(string name, sea_type type)
 {
     m_name = name;
     m_type = type;
 }