Created
June 15, 2022 23:18
-
-
Save atravita-mods/d72c56f1758b1dce3f623716c793821a to your computer and use it in GitHub Desktop.
LoC proxied api
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public interface ICookingSkillProxy | |
| { | |
| public static int GiftBoostValue; | |
| public static float SalePriceModifier; | |
| public static float ExtraPortionChance; | |
| public static int RestorationValue; | |
| public static int RestorationAltValue; | |
| public static int BuffRateValue; | |
| public static int BuffDurationValue; | |
| } | |
| public interface ICookingSkillAPI | |
| { | |
| public enum Profession | |
| { | |
| ImprovedOil, | |
| Restoration, | |
| GiftBoost, | |
| SalePrice, | |
| ExtraPortion, | |
| BuffDuration | |
| } | |
| bool IsEnabled(); | |
| ICookingSkillProxy GetSkill(); | |
| int GetLevel(); | |
| int GetMaximumLevel(); | |
| IReadOnlyDictionary<Profession, bool> GetCurrentProfessions(long playerID = -1L); | |
| bool HasProfession(Profession profession, long playerID = -1L); | |
| bool AddExperienceDirectly(int experience); | |
| void AddCookingBuffToItem(string name, int value); | |
| int GetTotalCurrentExperience(); | |
| int GetExperienceRequiredForLevel(int level); | |
| int GetTotalExperienceRequiredForLevel(int level); | |
| int GetExperienceRemainingUntilLevel(int level); | |
| IReadOnlyDictionary<int, IList<string>> GetAllLevelUpRecipes(); | |
| IReadOnlyList<string> GetCookingRecipesForLevel(int level); | |
| int CalculateExperienceGainedFromCookingItem(Item item, int numIngredients, int numCooked, bool applyExperience); | |
| bool RollForExtraPortion(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment