Tuple <ETransformationType, ETransformationType, PersonModel, PersonModel, bool> > GetTransformationDetailItem( ETransformationType transformationType, NineStarKiEnergy energy1, NineStarKiEnergy energy2, string type1Name, string type2Name, string verb, ETransformationType comparisonTransformationType1, ETransformationType comparisonTransformationType2, PersonModel person1, PersonModel person2, bool titleOnly) { return(new Tuple <ETransformationType, NineStarKiEnergy, NineStarKiEnergy, string, string, string, Tuple <ETransformationType, ETransformationType, PersonModel, PersonModel, bool> >( transformationType, energy1, energy2, type1Name, type2Name, verb, new Tuple <ETransformationType, ETransformationType, PersonModel, PersonModel, bool>( comparisonTransformationType1, comparisonTransformationType2, person1, person2, titleOnly) )); }
private string GetChallengingCompatibilityDetails(ETransformationType transformationType, NineStarKiEnergy energy1, NineStarKiEnergy energy2, string type1Name, string type2Name, PersonModel person1, PersonModel person2, bool titleOnly = false) { var sb = new StringBuilder(); sb.Append(GetTransformationDetails(GetTransformationDetailItem( transformationType, energy1, energy2, type1Name, type2Name, "challenges", ETransformationType.Challenges, ETransformationType.IsChallenged, person1, person2, titleOnly))); return(sb.ToString()); }
private string GetElementCompatibilityDetails(NineStarKiEnergy energy1, NineStarKiEnergy energy2) { switch (energy1.Element) { case ENineStarKiElement.Water: switch (energy2.Element) { case ENineStarKiElement.Water: return(Globalisation.Dictionary.water_water); case ENineStarKiElement.Tree: return(Globalisation.Dictionary.water_tree); case ENineStarKiElement.Fire: return(Globalisation.Dictionary.water_fire); case ENineStarKiElement.Metal: return(Globalisation.Dictionary.metal_water); case ENineStarKiElement.Earth: return(Globalisation.Dictionary.earth_water); } break; case ENineStarKiElement.Tree: switch (energy2.Element) { case ENineStarKiElement.Water: return(Globalisation.Dictionary.water_tree); case ENineStarKiElement.Tree: return(Globalisation.Dictionary.tree_tree); case ENineStarKiElement.Fire: return(Globalisation.Dictionary.tree_fire); case ENineStarKiElement.Metal: return(Globalisation.Dictionary.metal_tree); case ENineStarKiElement.Earth: return(Globalisation.Dictionary.tree_earth); } break; case ENineStarKiElement.Fire: switch (energy2.Element) { case ENineStarKiElement.Water: return(Globalisation.Dictionary.water_fire); case ENineStarKiElement.Tree: return(Globalisation.Dictionary.tree_fire); case ENineStarKiElement.Fire: return(Globalisation.Dictionary.fire_fire); case ENineStarKiElement.Metal: return(Globalisation.Dictionary.fire_metal); case ENineStarKiElement.Earth: return(Globalisation.Dictionary.fire_earth); } break; case ENineStarKiElement.Metal: switch (energy2.Element) { case ENineStarKiElement.Water: return(Globalisation.Dictionary.metal_water); case ENineStarKiElement.Tree: return(Globalisation.Dictionary.metal_tree); case ENineStarKiElement.Fire: return(Globalisation.Dictionary.tree_fire); case ENineStarKiElement.Metal: return(Globalisation.Dictionary.metal_metal); case ENineStarKiElement.Earth: return(Globalisation.Dictionary.earth_metal); } break; case ENineStarKiElement.Earth: switch (energy2.Element) { case ENineStarKiElement.Water: return(Globalisation.Dictionary.earth_water); case ENineStarKiElement.Tree: return(Globalisation.Dictionary.tree_earth); case ENineStarKiElement.Fire: return(Globalisation.Dictionary.fire_earth); case ENineStarKiElement.Metal: return(Globalisation.Dictionary.earth_metal); case ENineStarKiElement.Earth: return(Globalisation.Dictionary.earth_earth); } break; } return(string.Empty); }