public static void UpdateCharacter(Character character) { if (character != null) { BonusHandler.Handle(character); SetSkillDetails(character); FulfillAbilityScoreRequirements(character); SetHealthDetails(character); UpdateCharacterArgs e = new UpdateCharacterArgs(Storage.Enums.Ruleset.Starfinder, character); OnCharacterUpdate(e); } }
private static void OnCharacterUpdate(UpdateCharacterArgs e) { _characterUpdateHandler?.Invoke(e); }
public static void UpdateCharacter(UpdateCharacterArgs e) { Character character = (Character)e._character; character.Name = character.Name; }