Skip to content

Commit b440ca3

Browse files
committed
fix no docs
1 parent 7116d06 commit b440ca3

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

SomethingNeedDoing/LuaMacro/Modules/PlayerModule.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ public override void Register(Lua lua)
3535
[LuaFunction][Changelog("12.21")] public List<GearsetWrapper> Gearsets => [.. RaptureGearsetModule.Instance()->Entries.ToArray().Select((g, i) => new GearsetWrapper(i))];
3636
public class GearsetWrapper(int id) : IWrapper
3737
{
38-
[LuaFunction][Changelog("12.21")] public bool IsValid => RaptureGearsetModule.Instance()->IsValidGearset(id);
39-
[LuaFunction][Changelog("12.21")] public byte ClassJob => RaptureGearsetModule.Instance()->GetGearset(id)->ClassJob;
40-
[LuaFunction][Changelog("12.21")] public byte GlamourSetLink => RaptureGearsetModule.Instance()->GetGearset(id)->GlamourSetLink;
41-
[LuaFunction][Changelog("12.21")] public short ItemLevel => RaptureGearsetModule.Instance()->GetGearset(id)->ItemLevel;
42-
[LuaFunction][Changelog("12.21")] public byte BannerIndex => RaptureGearsetModule.Instance()->GetGearset(id)->BannerIndex;
43-
[LuaFunction][Changelog("12.21")] public string Name => RaptureGearsetModule.Instance()->GetGearset(id)->NameString;
44-
[LuaFunction][Changelog("12.21")] public List<InventoryItemWrapper> Items => [.. RaptureGearsetModule.Instance()->GetGearset(id)->Items.ToArray().Select(i => new InventoryItemWrapper(i.ItemId))];
45-
[LuaFunction][Changelog("12.21")] public void Equip() => RaptureGearsetModule.Instance()->EquipGearset(id);
46-
[LuaFunction][Changelog("12.21")] public void Update() => RaptureGearsetModule.Instance()->UpdateGearset(id);
38+
[LuaDocs][Changelog("12.21")] public bool IsValid => RaptureGearsetModule.Instance()->IsValidGearset(id);
39+
[LuaDocs][Changelog("12.21")] public byte ClassJob => RaptureGearsetModule.Instance()->GetGearset(id)->ClassJob;
40+
[LuaDocs][Changelog("12.21")] public byte GlamourSetLink => RaptureGearsetModule.Instance()->GetGearset(id)->GlamourSetLink;
41+
[LuaDocs][Changelog("12.21")] public short ItemLevel => RaptureGearsetModule.Instance()->GetGearset(id)->ItemLevel;
42+
[LuaDocs][Changelog("12.21")] public byte BannerIndex => RaptureGearsetModule.Instance()->GetGearset(id)->BannerIndex;
43+
[LuaDocs][Changelog("12.21")] public string Name => RaptureGearsetModule.Instance()->GetGearset(id)->NameString;
44+
[LuaDocs][Changelog("12.21")] public List<InventoryItemWrapper> Items => [.. RaptureGearsetModule.Instance()->GetGearset(id)->Items.ToArray().Select(i => new InventoryItemWrapper(i.ItemId))];
45+
[LuaDocs][Changelog("12.21")] public void Equip() => RaptureGearsetModule.Instance()->EquipGearset(id);
46+
[LuaDocs][Changelog("12.21")] public void Update() => RaptureGearsetModule.Instance()->UpdateGearset(id);
4747
}
4848

4949
[LuaFunction] public bool IsMoving => Player.IsMoving;

SomethingNeedDoing/LuaMacro/Wrappers/BuddyWrapper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
namespace SomethingNeedDoing.LuaMacro.Wrappers;
55
public unsafe class BuddyWrapper : IWrapper
66
{
7-
public List<BuddyMemberWrapper> BuddyMember => [.. UIState.Instance()->Buddy.BattleBuddies.ToArray().Select(b => new BuddyMemberWrapper(b))];
8-
public CompanionInfoWrapper CompanionInfo => new();
9-
public PetInfoWrapper PetInfo => new();
7+
[LuaDocs][Changelog("12.22")] public List<BuddyMemberWrapper> BuddyMember => [.. UIState.Instance()->Buddy.BattleBuddies.ToArray().Select(b => new BuddyMemberWrapper(b))];
8+
[LuaDocs][Changelog("12.22")] public CompanionInfoWrapper CompanionInfo => new();
9+
[LuaDocs][Changelog("12.22")] public PetInfoWrapper PetInfo => new();
1010
}
1111

1212
public class BuddyMemberWrapper(Buddy.BuddyMember buddy) : IWrapper

0 commit comments

Comments
 (0)