コード例 #1
0
ファイル: Urnstones.cs プロジェクト: yakoder/NRaas
        public static string GetLocalizedString(bool isFemale, SimDescription.DeathType type)
        {
            switch (type)
            {
            case SimDescription.DeathType.None:
                return("");

            case SimDescription.DeathType.PetOldAgeBad:
            case SimDescription.DeathType.PetOldAgeGood:
                return(Common.LocalizeEAString(isFemale, "Gameplay/Objects/Urnstone:" + type.ToString()));
            }

            return(Urnstone.DeathTypeToLocalizedString(type));
        }