Skip to content

Commit

Permalink
[Fix] - Naming
Browse files Browse the repository at this point in the history
  • Loading branch information
TacoConKvass committed Oct 12, 2024
1 parent a756c33 commit c103eb9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion ExampleMod/HeirGeneratorChanges.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void IRegistrable.Register() {
lookData.CurrentWeaponGeo = lookData.ArrowGeo;
};

Player.HeirGeneration.ModifyGeneratedCharacterData += (CharacterData data, bool classLocked, bool spellLocked) => {
Player.HeirGeneration.ModifyCharacterData += (CharacterData data, bool classLocked, bool spellLocked) => {
data.Name = "I have been edited :3";
};
}
Expand Down
38 changes: 19 additions & 19 deletions RL2.API/APIEndpoints/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ internal static void ResolveFlat_Invoke(ref float additive) {
/// <summary>
///
/// </summary>
/// <param name="multiplicative"></param>
public delegate void ResolveMultiplier_delegate(ref float multiplier;
/// <param name="multiplier"></param>
public delegate void ResolveMultiplier_delegate(ref float multiplier);

/// <inheritdoc cref="ResolveMultiplier_delegate"/>
public static event ResolveMultiplier_delegate? ResolveMultiplier;
Expand All @@ -115,8 +115,8 @@ internal static void DexterityFlat_Invoke(ref float additive) {
/// <summary>
///
/// </summary>
/// <param name="multiplicative"></param>
public delegate void DexterityMultiplier_delegate(ref float multiplier;
/// <param name="multiplier"></param>
public delegate void DexterityMultiplier_delegate(ref float multiplier);

/// <inheritdoc cref="DexterityMultiplier_delegate"/>
public static event DexterityMultiplier_delegate? DexterityMultiplier;
Expand Down Expand Up @@ -173,8 +173,8 @@ internal static void FocusFlat_Invoke(ref float additive) {
/// <summary>
///
/// </summary>
/// <param name="multiplicative"></param>
public delegate void FocusMultiplier_delegate(ref float multiplier;
/// <param name="multiplier"></param>
public delegate void FocusMultiplier_delegate(ref float multiplier);

/// <inheritdoc cref="FocusMultiplier_delegate"/>
public static event FocusMultiplier_delegate? FocusMultiplier;
Expand Down Expand Up @@ -231,8 +231,8 @@ internal static void ArmorFlat_Invoke(ref int additive) {
/// <summary>
///
/// </summary>
/// <param name="multiplicative"></param>
public delegate void ArmorMultiplier_delegate(ref float multiplier;
/// <param name="multiplier"></param>
public delegate void ArmorMultiplier_delegate(ref float multiplier);

/// <inheritdoc cref="ArmorMultiplier_delegate"/>
public static event ArmorMultiplier_delegate? ArmorMultiplier;
Expand All @@ -259,8 +259,8 @@ internal static void StrengthFlat_Invoke(ref float additive) {
/// <summary>
///
/// </summary>
/// <param name="multiplicative"></param>
public delegate void StrengthMultiplier_delegate(ref float multiplier;
/// <param name="multiplier"></param>
public delegate void StrengthMultiplier_delegate(ref float multiplier);

/// <inheritdoc cref="StrengthMultiplier_delegate"/>
public static event StrengthMultiplier_delegate? StrengthMultiplier;
Expand All @@ -287,8 +287,8 @@ internal static void IntelligenceFlat_Invoke(ref float additive) {
/// <summary>
///
/// </summary>
/// <param name="multiplicative"></param>
public delegate void IntelligenceMultiplier_delegate(ref float multiplier;
/// <param name="multiplier"></param>
public delegate void IntelligenceMultiplier_delegate(ref float multiplier);

/// <inheritdoc cref="IntelligenceMultiplier_delegate"/>
public static event IntelligenceMultiplier_delegate? IntelligenceMultiplier;
Expand All @@ -315,8 +315,8 @@ internal static void VitalityFlat_Invoke(ref int additive) {
/// <summary>
///
/// </summary>
/// <param name="multiplicative"></param>
public delegate void VitalityMultiplier_delegate(ref float multiplier;
/// <param name="multiplier"></param>
public delegate void VitalityMultiplier_delegate(ref float multiplier);

/// <inheritdoc cref="VitalityMultiplier_delegate"/>
public static event VitalityMultiplier_delegate? VitalityMultiplier;
Expand All @@ -343,8 +343,8 @@ internal static void MaxHealthFlat_Invoke(ref int additive) {
/// <summary>
///
/// </summary>
/// <param name="multiplicative"></param>
public delegate void MaxHealthMultiplier_delegate(ref float multiplier;
/// <param name="multiplier"></param>
public delegate void MaxHealthMultiplier_delegate(ref float multiplier);

/// <inheritdoc cref="MaxHealthMultiplier_delegate"/>
public static event MaxHealthMultiplier_delegate? MaxHealthMultiplier;
Expand All @@ -371,8 +371,8 @@ internal static void MaxManaFlat_Invoke(ref int additive) {
/// <summary>
///
/// </summary>
/// <param name="multiplicative"></param>
public delegate void MaxManaMultiplier_delegate(ref float multiplier;
/// <param name="multiplier"></param>
public delegate void MaxManaMultiplier_delegate(ref float multiplier);

/// <inheritdoc cref="MaxManaMultiplier_delegate"/>
public static event MaxManaMultiplier_delegate? MaxManaMultiplier;
Expand Down Expand Up @@ -438,7 +438,7 @@ internal static void ModifyCharacterRandomization_Invoke(CharacterData data) {
/// <inheritdoc cref="ModifyCharacterData_delegate"/>
public static event ModifyCharacterData_delegate? ModifyCharacterData;

internal static void ModifyGeneratedData_Invoke(CharacterData data, bool classLocked, bool spellLocked) {
internal static void ModifyCharacterData_Invoke(CharacterData data, bool classLocked, bool spellLocked) {
ModifyCharacterData?.Invoke(data, classLocked, spellLocked);
}

Expand Down

0 comments on commit c103eb9

Please sign in to comment.