123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- using System;
- using MaidStatus.Old;
- namespace MaidStatus
- {
- public static class EnumConvert
- {
- public static string GetTerm(Contract contract)
- {
- return "MaidStatus/契約タイプ/" + EnumConvert.GetString(contract);
- }
- public static string GetTerm(Seikeiken seikeiken)
- {
- return "MaidStatus/性経験タイプ/" + EnumConvert.GetString(seikeiken);
- }
- public static string GetTerm(Relation relation)
- {
- return "MaidStatus/関係タイプ/" + EnumConvert.GetString(relation);
- }
- public static string GetTerm(AdditionalRelation relationEnhance)
- {
- return "MaidStatus/関係タイプ/" + EnumConvert.GetString(relationEnhance);
- }
- public static string GetTerm(SpecialRelation relationSpecial)
- {
- return "MaidStatus/関係タイプ/" + EnumConvert.GetString(relationSpecial);
- }
- public static string GetTerm(Relation relation, AdditionalRelation relationEnhance, SpecialRelation relationSpecial)
- {
- if (relationSpecial != SpecialRelation.Null)
- {
- return EnumConvert.GetTerm(relationSpecial);
- }
- return (relationEnhance != AdditionalRelation.Null) ? EnumConvert.GetTerm(relationEnhance) : EnumConvert.GetTerm(relation);
- }
- public static string GetString(HeroineType heroineType)
- {
- string result = string.Empty;
- if (heroineType != HeroineType.Original)
- {
- if (heroineType != HeroineType.Sub)
- {
- if (heroineType == HeroineType.Transfer)
- {
- result = "移籍";
- }
- }
- else
- {
- result = "サブ";
- }
- }
- else
- {
- result = "ユーザー作成";
- }
- return result;
- }
- public static string GetString(Contract contract)
- {
- string result = string.Empty;
- if (contract != Contract.Trainee)
- {
- if (contract != Contract.Free)
- {
- if (contract == Contract.Exclusive)
- {
- result = "専属";
- }
- }
- else
- {
- result = "フリー";
- }
- }
- else
- {
- result = "育成中";
- }
- return result;
- }
- public static string GetString(Seikeiken seikeiken)
- {
- string result = string.Empty;
- switch (seikeiken)
- {
- case Seikeiken.No_No:
- result = "処女";
- break;
- case Seikeiken.Yes_No:
- result = "経験あり";
- break;
- case Seikeiken.No_Yes:
- result = "後ろ経験あり";
- break;
- case Seikeiken.Yes_Yes:
- result = "両方経験あり";
- break;
- }
- return result;
- }
- public static string GetString(Relation relation)
- {
- string result = string.Empty;
- if (relation != Relation.Contact)
- {
- if (relation != Relation.Trust)
- {
- if (relation == Relation.Lover)
- {
- result = "恋人";
- }
- }
- else
- {
- result = "信頼";
- }
- }
- else
- {
- result = "お近づき";
- }
- return result;
- }
- public static string GetString(AdditionalRelation relation)
- {
- string result = string.Empty;
- if (relation != AdditionalRelation.Vigilance)
- {
- if (relation != AdditionalRelation.LoverPlus)
- {
- if (relation == AdditionalRelation.Null)
- {
- result = "Null";
- }
- }
- else
- {
- result = "恋人+";
- }
- }
- else
- {
- result = "警戒";
- }
- return result;
- }
- public static string GetString(SpecialRelation relation)
- {
- string result = string.Empty;
- if (relation != SpecialRelation.Married)
- {
- if (relation == SpecialRelation.Null)
- {
- result = "Null";
- }
- }
- else
- {
- result = "嫁";
- }
- return result;
- }
- public static string GetString(Relation relation, AdditionalRelation relationEnhance, SpecialRelation relationSpecial)
- {
- if (relationSpecial != SpecialRelation.Null)
- {
- return EnumConvert.GetString(relationSpecial);
- }
- return (relationEnhance != AdditionalRelation.Null) ? EnumConvert.GetString(relationEnhance) : EnumConvert.GetString(relation);
- }
- public static string GetString(Relation relation)
- {
- string result = string.Empty;
- switch (relation)
- {
- case Relation.Tonus:
- result = "緊張";
- break;
- case Relation.Contact:
- result = "お近づき";
- break;
- case Relation.Trust:
- result = "信頼";
- break;
- case Relation.Lover:
- result = "恋人";
- break;
- case Relation.Slave:
- result = "愛奴";
- break;
- }
- return result;
- }
- public static string GetString(Condition condition_)
- {
- string result = string.Empty;
- if (condition_ != Condition.Null)
- {
- if (condition_ != Condition.Drunk)
- {
- if (condition_ == Condition.Osioki)
- {
- result = "お仕置き";
- }
- }
- else
- {
- result = "酔い";
- }
- }
- else
- {
- result = "なし";
- }
- return result;
- }
- public const string TermPrefixContract = "MaidStatus/契約タイプ/";
- public const string TermPrefixSeikeiken = "MaidStatus/性経験タイプ/";
- public const string TermPrefixRelation = "MaidStatus/関係タイプ/";
- }
- }
|