Package mekhq.campaign.log
Class PerformanceLogger
java.lang.Object
mekhq.campaign.log.PerformanceLogger
This class is responsible to control the logging of Service Log Entries.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidchangedEdge(Campaign campaign, Person person, LocalDate date) Deprecated, for removal: This API element is subject to removal in a future version.static voidgainedEdge(Campaign campaign, Person person, LocalDate date) static voidstatic voidimprovedSkill(boolean isLogSkillGain, Person person, LocalDate date, String skill, int value) Logs a skill improvement event for a specified person if skill gain logging is enabled.static voidDeprecated, for removal: This API element is subject to removal in a future version.static voidpaidOffFlaw(Campaign campaign, Person person, LocalDate date, String spa)
-
Constructor Details
-
PerformanceLogger
public PerformanceLogger()
-
-
Method Details
-
improvedSkill
@Deprecated(since="0.50.07", forRemoval=true) public static void improvedSkill(Campaign campaign, Person person, LocalDate date, String skill, String value) Deprecated, for removal: This API element is subject to removal in a future version. -
improvedSkill
public static void improvedSkill(boolean isLogSkillGain, Person person, LocalDate date, String skill, int value) Logs a skill improvement event for a specified person if skill gain logging is enabled. This method records the event details including the skill improved, its value, and the date of the improvement.- Parameters:
isLogSkillGain- a boolean indicating whether skill gain logging is enabledperson- thePersonobject representing the individual gaining the skilldate- theLocalDateof the skill improvementskill- aStringrepresenting the name of the skill that was improvedvalue- anintrepresenting the value of the improvement to the skill
-
gainedSPA
-
paidOffFlaw
-
gainedEdge
-
changedEdge
@Deprecated(since="0.51.0", forRemoval=true) public static void changedEdge(Campaign campaign, Person person, LocalDate date) Deprecated, for removal: This API element is subject to removal in a future version.
-
improvedSkill(boolean, Person, LocalDate, String, int)instead