/*------------------------------------------------------------------------- * 해역변동현황변환 * ---------------------------------------------------------------------------*/ 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("通常"); } }
/*------------------------------------------------------------------------- * 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"); }
/*------------------------------------------------------------------------- * 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"); }
/*------------------------------------------------------------------------- * * ---------------------------------------------------------------------------*/ public sea_area_once(string name) { m_name = name; m_type = sea_type.normal; m_list = new List <data>(); }
/*------------------------------------------------------------------------- * * ---------------------------------------------------------------------------*/ public sea_area_type(string name, sea_type type) { m_name = name; m_type = type; }