public HybridDictionary<int, string> GetTranslations(ExtraStringResourceType rpType) { switch (rpType) { case ExtraStringResourceType.Ship: return Ships; case ExtraStringResourceType.ShipType: return ShipTypes; case ExtraStringResourceType.AbyssalShip: return AbyssalShip; case ExtraStringResourceType.Equipment: return Equipment; case ExtraStringResourceType.Furniture: return Furnitures; case ExtraStringResourceType.Item: return Items; case ExtraStringResourceType.Expedition: return Expeditions; case ExtraStringResourceType.Quest: return Quests; case ExtraStringResourceType.QuestDescription: return QuestDescriptions; case ExtraStringResourceType.Area: return Areas; case ExtraStringResourceType.Map: return Maps; case ExtraStringResourceType.ShipLocking: return ShipLocking; default: throw new ArgumentException(nameof(rpType)); } }
public HybridDictionary <int, string> GetTranslations(ExtraStringResourceType rpType) { switch (rpType) { case ExtraStringResourceType.Ship: return(Ships); case ExtraStringResourceType.ShipType: return(ShipTypes); case ExtraStringResourceType.AbyssalShip: return(AbyssalShip); case ExtraStringResourceType.Equipment: return(Equipment); case ExtraStringResourceType.Furniture: return(Furnitures); case ExtraStringResourceType.Item: return(Items); case ExtraStringResourceType.Expedition: return(Expeditions); case ExtraStringResourceType.Quest: return(Quests); case ExtraStringResourceType.QuestDescription: return(QuestDescriptions); case ExtraStringResourceType.Area: return(Areas); case ExtraStringResourceType.Map: return(Maps); case ExtraStringResourceType.ShipLocking: return(ShipLocking); default: throw new ArgumentException(nameof(rpType)); } }
public ExtraStringResourceExtension(ExtraStringResourceType rpType, string rpIDPath, string rpOriginalTextPath) { r_Type = rpType; r_IDPath = rpIDPath; r_OriginalTextPath = rpOriginalTextPath; }