mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
chore: convert Dalamud to file-scoped namespaces
This commit is contained in:
parent
b093323acc
commit
987ff8dc8f
368 changed files with 55081 additions and 55450 deletions
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud
|
||||
{
|
||||
namespace Dalamud;
|
||||
|
||||
/// <summary>
|
||||
/// Enum describing the language the game loads in.
|
||||
/// </summary>
|
||||
|
|
@ -25,4 +25,3 @@ namespace Dalamud
|
|||
/// </summary>
|
||||
French,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud
|
||||
{
|
||||
namespace Dalamud;
|
||||
|
||||
/// <summary>
|
||||
/// Extension methods for the <see cref="ClientLanguage"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -24,4 +24,3 @@ namespace Dalamud
|
|||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Configuration
|
||||
{
|
||||
namespace Dalamud.Configuration;
|
||||
|
||||
/// <summary>
|
||||
/// Configuration to store settings for a dalamud plugin.
|
||||
/// </summary>
|
||||
|
|
@ -10,4 +10,3 @@ namespace Dalamud.Configuration
|
|||
/// </summary>
|
||||
int Version { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ using Newtonsoft.Json;
|
|||
using Serilog;
|
||||
using Serilog.Events;
|
||||
|
||||
namespace Dalamud.Configuration.Internal
|
||||
{
|
||||
namespace Dalamud.Configuration.Internal;
|
||||
|
||||
/// <summary>
|
||||
/// Class containing Dalamud settings.
|
||||
/// </summary>
|
||||
|
|
@ -374,4 +374,3 @@ namespace Dalamud.Configuration.Internal
|
|||
this.DalamudConfigurationSaved?.Invoke(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Configuration
|
||||
{
|
||||
namespace Dalamud.Configuration;
|
||||
|
||||
/// <summary>
|
||||
/// Additional locations to load dev plugins from.
|
||||
/// </summary>
|
||||
|
|
@ -21,4 +21,3 @@ namespace Dalamud.Configuration
|
|||
/// <returns>A shallow copy of this object.</returns>
|
||||
public DevPluginLocationSettings Clone() => this.MemberwiseClone() as DevPluginLocationSettings;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Configuration.Internal
|
||||
{
|
||||
namespace Dalamud.Configuration.Internal;
|
||||
|
||||
/// <summary>
|
||||
/// Settings for DevPlugins.
|
||||
/// </summary>
|
||||
|
|
@ -15,4 +15,3 @@ namespace Dalamud.Configuration.Internal
|
|||
/// </summary>
|
||||
public bool AutomaticReloading { get; set; } = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Configuration.Internal
|
||||
{
|
||||
namespace Dalamud.Configuration.Internal;
|
||||
|
||||
/// <summary>
|
||||
/// Environmental configuration settings.
|
||||
/// </summary>
|
||||
|
|
@ -35,4 +35,3 @@ namespace Dalamud.Configuration.Internal
|
|||
private static bool GetEnvironmentVariable(string name)
|
||||
=> bool.Parse(Environment.GetEnvironmentVariable(name) ?? "false");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Configuration
|
||||
{
|
||||
namespace Dalamud.Configuration;
|
||||
|
||||
/// <summary>
|
||||
/// Third party repository for dalamud plugins.
|
||||
/// </summary>
|
||||
|
|
@ -26,4 +26,3 @@ namespace Dalamud.Configuration
|
|||
/// <returns>A shallow copy of this object.</returns>
|
||||
public ThirdPartyRepoSettings Clone() => this.MemberwiseClone() as ThirdPartyRepoSettings;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ using System.IO;
|
|||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Dalamud.Configuration
|
||||
{
|
||||
namespace Dalamud.Configuration;
|
||||
|
||||
/// <summary>
|
||||
/// Configuration to store settings for a dalamud plugin.
|
||||
/// </summary>
|
||||
|
|
@ -147,4 +147,3 @@ namespace Dalamud.Configuration
|
|||
|
||||
private DirectoryInfo GetDirectoryPath(string pluginName) => new(Path.Combine(this.configDirectory.FullName, pluginName));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ using Serilog;
|
|||
[assembly: InternalsVisibleTo("Dalamud.Test")]
|
||||
[assembly: InternalsVisibleTo("Dalamud.DevHelpers")]
|
||||
|
||||
namespace Dalamud
|
||||
{
|
||||
namespace Dalamud;
|
||||
|
||||
/// <summary>
|
||||
/// The main Dalamud class containing all subsystems.
|
||||
/// </summary>
|
||||
|
|
@ -146,4 +146,3 @@ namespace Dalamud
|
|||
Log.Debug("Reset ExceptionFilter, old: {0}", oldFilter);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ using System.Collections.Generic;
|
|||
using Dalamud.Game;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Dalamud
|
||||
{
|
||||
namespace Dalamud;
|
||||
|
||||
/// <summary>
|
||||
/// Struct containing information needed to initialize Dalamud.
|
||||
/// </summary>
|
||||
|
|
@ -167,4 +167,3 @@ namespace Dalamud
|
|||
/// </summary>
|
||||
public bool CrashHandlerShow { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ using Lumina.Excel;
|
|||
using Newtonsoft.Json;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Data
|
||||
{
|
||||
namespace Dalamud.Data;
|
||||
|
||||
/// <summary>
|
||||
/// This class provides data for Dalamud-internal features, but can also be used by plugins if needed.
|
||||
/// </summary>
|
||||
|
|
@ -346,4 +346,3 @@ namespace Dalamud.Data
|
|||
this.luminaCancellationTokenSource.Cancel();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ using Serilog.Events;
|
|||
|
||||
using static Dalamud.NativeFunctions;
|
||||
|
||||
namespace Dalamud
|
||||
{
|
||||
namespace Dalamud;
|
||||
|
||||
/// <summary>
|
||||
/// The main entrypoint for the Dalamud system.
|
||||
/// </summary>
|
||||
|
|
@ -355,4 +355,3 @@ namespace Dalamud
|
|||
Log.Error(args.Exception, "Unobserved exception in Task.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ using System.Runtime.InteropServices;
|
|||
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Dalamud.Game
|
||||
{
|
||||
namespace Dalamud.Game;
|
||||
|
||||
/// <summary>
|
||||
/// Base memory address resolver.
|
||||
/// </summary>
|
||||
|
|
@ -115,4 +115,3 @@ namespace Dalamud.Game
|
|||
// Do nothing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ using Dalamud.Plugin.Internal;
|
|||
using Dalamud.Utility;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game
|
||||
{
|
||||
namespace Dalamud.Game;
|
||||
|
||||
/// <summary>
|
||||
/// Chat events and public helper functions.
|
||||
/// </summary>
|
||||
|
|
@ -330,4 +330,3 @@ namespace Dalamud.Game
|
|||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
using Dalamud.Game.ClientState.Resolvers;
|
||||
using FFXIVClientStructs.FFXIV.Client.Game.UI;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Aetherytes
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Aetherytes;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents an entry in the Aetheryte list.
|
||||
/// </summary>
|
||||
|
|
@ -69,4 +69,3 @@ namespace Dalamud.Game.ClientState.Aetherytes
|
|||
/// </summary>
|
||||
public ExcelResolver<Lumina.Excel.GeneratedSheets.Aetheryte> AetheryteData => new(this.AetheryteId);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ using Dalamud.IoC;
|
|||
using Dalamud.IoC.Internal;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Aetherytes
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Aetherytes;
|
||||
|
||||
/// <summary>
|
||||
/// This collection represents the list of available Aetherytes in the Teleport window.
|
||||
/// </summary>
|
||||
|
|
@ -108,4 +108,3 @@ namespace Dalamud.Game.ClientState.Aetherytes
|
|||
return this.GetEnumerator();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ using Dalamud.IoC;
|
|||
using Dalamud.IoC.Internal;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Buddy
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Buddy;
|
||||
|
||||
/// <summary>
|
||||
/// This collection represents the buddies present in your squadron or trust party.
|
||||
/// It does not include the local player.
|
||||
|
|
@ -182,4 +182,3 @@ namespace Dalamud.Game.ClientState.Buddy
|
|||
/// <inheritdoc/>
|
||||
IEnumerator IEnumerable.GetEnumerator() => this.GetEnumerator();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ using Dalamud.Game.ClientState.Objects;
|
|||
using Dalamud.Game.ClientState.Objects.Types;
|
||||
using Dalamud.Game.ClientState.Resolvers;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Buddy
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Buddy;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents a buddy such as the chocobo companion, summoned pets, squadron groups and trust parties.
|
||||
/// </summary>
|
||||
|
|
@ -73,4 +73,3 @@ namespace Dalamud.Game.ClientState.Buddy
|
|||
|
||||
private FFXIVClientStructs.FFXIV.Client.Game.UI.Buddy.BuddyMember* Struct => (FFXIVClientStructs.FFXIV.Client.Game.UI.Buddy.BuddyMember*)this.Address;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ using Dalamud.Utility;
|
|||
using FFXIVClientStructs.FFXIV.Client.Game;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.ClientState
|
||||
{
|
||||
namespace Dalamud.Game.ClientState;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents the state of the game client at the time of access.
|
||||
/// </summary>
|
||||
|
|
@ -203,4 +203,3 @@ namespace Dalamud.Game.ClientState
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState
|
||||
{
|
||||
namespace Dalamud.Game.ClientState;
|
||||
|
||||
/// <summary>
|
||||
/// Client state memory address resolver.
|
||||
/// </summary>
|
||||
|
|
@ -125,4 +125,3 @@ namespace Dalamud.Game.ClientState
|
|||
this.UpdateAetheryteList = sig.ScanText("E8 ?? ?? ?? ?? 48 89 46 68 4C 8D 45 50");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ using Dalamud.IoC;
|
|||
using Dalamud.IoC.Internal;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Conditions
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Conditions;
|
||||
|
||||
/// <summary>
|
||||
/// Provides access to conditions (generally player state). You can check whether a player is in combat, mounted, etc.
|
||||
/// </summary>
|
||||
|
|
@ -152,4 +152,3 @@ namespace Dalamud.Game.ClientState.Conditions
|
|||
this.isDisposed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.Conditions
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Conditions;
|
||||
|
||||
/// <summary>
|
||||
/// Possible state flags (or conditions as they're called internally) that can be set on the local client.
|
||||
///
|
||||
|
|
@ -465,4 +465,3 @@ namespace Dalamud.Game.ClientState.Conditions
|
|||
/// </summary>
|
||||
RecruitingWorldOnly = 98,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ using Dalamud.Game.ClientState.Resolvers;
|
|||
using Dalamud.Game.Text.SeStringHandling;
|
||||
using Dalamud.Memory;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Fates
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Fates;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents an FFXIV Fate.
|
||||
/// </summary>
|
||||
|
|
@ -133,4 +133,3 @@ namespace Dalamud.Game.ClientState.Fates
|
|||
/// </summary>
|
||||
public ExcelResolver<Lumina.Excel.GeneratedSheets.TerritoryType> TerritoryType => new(this.Struct->TerritoryId);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.Fates
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Fates;
|
||||
|
||||
/// <summary>
|
||||
/// This represents the state of a single Fate.
|
||||
/// </summary>
|
||||
|
|
@ -30,4 +30,3 @@ namespace Dalamud.Game.ClientState.Fates
|
|||
/// </summary>
|
||||
WaitingForEnd = 0x08,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ using Dalamud.IoC;
|
|||
using Dalamud.IoC.Internal;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Fates
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Fates;
|
||||
|
||||
/// <summary>
|
||||
/// This collection represents the currently available Fate events.
|
||||
/// </summary>
|
||||
|
|
@ -139,4 +139,3 @@ namespace Dalamud.Game.ClientState.Fates
|
|||
/// <inheritdoc/>
|
||||
IEnumerator IEnumerable.GetEnumerator() => this.GetEnumerator();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.GamePad
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.GamePad;
|
||||
|
||||
/// <summary>
|
||||
/// Bitmask of the Button ushort used by the game.
|
||||
/// </summary>
|
||||
|
|
@ -93,4 +93,3 @@ namespace Dalamud.Game.ClientState.GamePad
|
|||
/// </summary>
|
||||
Select = 0x4000,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Game.ClientState.GamePad
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.GamePad;
|
||||
|
||||
/// <summary>
|
||||
/// Struct which gets populated by polling the gamepads.
|
||||
///
|
||||
|
|
@ -73,4 +73,3 @@ namespace Dalamud.Game.ClientState.GamePad
|
|||
[FieldOffset(0xA4)]
|
||||
public ushort ButtonsRepeat;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ using Dalamud.IoC.Internal;
|
|||
using ImGuiNET;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.ClientState.GamePad
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.GamePad;
|
||||
|
||||
/// <summary>
|
||||
/// Exposes the game gamepad state to dalamud.
|
||||
///
|
||||
|
|
@ -251,4 +251,3 @@ namespace Dalamud.Game.ClientState.GamePad
|
|||
this.isDisposed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// MNK Beast Chakra types.
|
||||
/// </summary>
|
||||
|
|
@ -25,4 +25,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Enums
|
|||
/// </summary>
|
||||
RAPTOR = 3,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// AST Arcanum (card) types.
|
||||
/// </summary>
|
||||
|
|
@ -50,4 +50,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Enums
|
|||
/// </summary>
|
||||
LADY = 0x80,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// SCH Dismissed fairy types.
|
||||
/// </summary>
|
||||
|
|
@ -15,4 +15,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Enums
|
|||
/// </summary>
|
||||
SELENE = 7,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// SAM Kaeshi types.
|
||||
/// </summary>
|
||||
|
|
@ -30,4 +30,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Enums
|
|||
/// </summary>
|
||||
NAMIKIRI = 4,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// NIN Mudra types.
|
||||
/// </summary>
|
||||
|
|
@ -20,4 +20,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Enums
|
|||
/// </summary>
|
||||
JIN = 3,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// MNK Nadi types.
|
||||
/// </summary>
|
||||
|
|
@ -23,4 +23,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Enums
|
|||
/// </summary>
|
||||
SOLAR = 4,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// SMN summoned pet glam types.
|
||||
/// </summary>
|
||||
|
|
@ -45,4 +45,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Enums
|
|||
/// </summary>
|
||||
GARUDA = 7,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// AST Divination seal types.
|
||||
/// </summary>
|
||||
|
|
@ -25,4 +25,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Enums
|
|||
/// </summary>
|
||||
CELESTIAL = 3,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// Samurai Sen types.
|
||||
/// </summary>
|
||||
|
|
@ -28,4 +28,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Enums
|
|||
/// </summary>
|
||||
KA = 1 << 2,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// BRD Song types.
|
||||
/// </summary>
|
||||
|
|
@ -25,4 +25,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Enums
|
|||
/// </summary>
|
||||
WANDERER = 3,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// SMN summoned pet types.
|
||||
/// </summary>
|
||||
|
|
@ -15,4 +15,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Enums
|
|||
/// </summary>
|
||||
CARBUNCLE = 23,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ using Dalamud.IoC;
|
|||
using Dalamud.IoC.Internal;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge;
|
||||
|
||||
/// <summary>
|
||||
/// This class converts in-memory Job gauge data to structs.
|
||||
/// </summary>
|
||||
|
|
@ -49,4 +49,3 @@ namespace Dalamud.Game.ClientState.JobGauge
|
|||
return (T)gauge;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ using System.Linq;
|
|||
|
||||
using Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory AST job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -43,4 +43,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// <returns>If the given Seal is currently divined.</returns>
|
||||
public unsafe bool ContainsSeal(SealType seal) => this.Seals.Contains(seal);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory BLM job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -70,4 +70,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||
public bool IsParadoxActive => this.Struct->ParadoxActive;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ using System;
|
|||
using Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
using FFXIVClientStructs.FFXIV.Client.Game.Gauge;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory BRD job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -93,4 +93,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory DNC job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -57,4 +57,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||
public bool IsDancing => this.Struct->DanceSteps[0] != 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory DRG job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -36,4 +36,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public byte FirstmindsFocusCount => this.Struct->FirstmindsFocusCount;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory DRK job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -37,4 +37,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||
public bool HasDarkArts => this.Struct->DarkArtsState > 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory GNB job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -31,4 +31,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public byte AmmoComboStep => this.Struct->AmmoComboStep;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// Base job gauge class.
|
||||
/// </summary>
|
||||
|
|
@ -21,4 +21,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public IntPtr Address { get; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// Base job gauge class.
|
||||
/// </summary>
|
||||
|
|
@ -22,4 +22,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
private protected T* Struct => (T*)this.Address;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory MCH job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -53,4 +53,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||
public bool IsRobotActive => (this.Struct->TimerActive & 2) != 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ using System.Linq;
|
|||
|
||||
using Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory MNK job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -42,4 +42,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public ushort BlitzTimeRemaining => this.Struct->BlitzTimeRemaining;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory NIN job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -31,4 +31,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public byte HutonManualCasts => this.Struct->HutonManualCasts;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory PLD job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -21,4 +21,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public byte OathGauge => this.Struct->OathGauge;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory RDM job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -31,4 +31,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public byte ManaStacks => this.Struct->ManaStacks;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory RPR job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -41,4 +41,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public byte VoidShroud => this.Struct->VoidShroud;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ using System;
|
|||
|
||||
using Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory SAM job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -56,4 +56,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||
public bool HasKa => (this.Sen & Sen.KA) != 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ using System;
|
|||
|
||||
using Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory SCH job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -38,4 +38,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public DismissedFairy DismissedFairy => (DismissedFairy)this.Struct->DismissedFairy;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory SGE job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -37,4 +37,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public bool Eukrasia => this.Struct->Eukrasia == 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ using System;
|
|||
using Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
using FFXIVClientStructs.FFXIV.Client.Game.Gauge;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory SMN job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -111,4 +111,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public byte AetherflowStacks => (byte)(this.AetherFlags & AetherFlags.Aetherflow);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory WAR job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -21,4 +21,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public byte BeastGauge => this.Struct->BeastGauge;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
/// <summary>
|
||||
/// In-memory WHM job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -31,4 +31,3 @@ namespace Dalamud.Game.ClientState.JobGauge.Types
|
|||
/// </summary>
|
||||
public byte BloodLily => this.Struct->BloodLily;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ using Dalamud.IoC;
|
|||
using Dalamud.IoC.Internal;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Keys
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Keys;
|
||||
|
||||
/// <summary>
|
||||
/// Wrapper around the game keystate buffer, which contains the pressed state for all keyboard keys, indexed by virtual vkCode.
|
||||
/// </summary>
|
||||
|
|
@ -155,4 +155,3 @@ namespace Dalamud.Game.ClientState.Keys
|
|||
return ref *(int*)(this.bufferBase + (4 * vkCode));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.Keys
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Keys;
|
||||
|
||||
/// <summary>
|
||||
/// Virtual-key codes.
|
||||
/// </summary>
|
||||
|
|
@ -1244,4 +1244,3 @@ namespace Dalamud.Game.ClientState.Keys
|
|||
[VirtualKey("Clear")]
|
||||
OEM_CLEAR = 254,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Keys
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Keys;
|
||||
|
||||
/// <summary>
|
||||
/// Attribute describing a VirtualKey.
|
||||
/// </summary>
|
||||
|
|
@ -22,4 +22,3 @@ namespace Dalamud.Game.ClientState.Keys
|
|||
/// </summary>
|
||||
public string FancyName { get; init; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using Dalamud.Utility;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Keys
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Keys;
|
||||
|
||||
/// <summary>
|
||||
/// Extension methods for <see cref="VirtualKey"/>.
|
||||
/// </summary>
|
||||
|
|
@ -17,4 +17,3 @@ namespace Dalamud.Game.ClientState.Keys
|
|||
return key.GetAttribute<VirtualKeyAttribute>().FancyName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.Objects.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Objects.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// An Enum describing possible BattleNpc kinds.
|
||||
/// </summary>
|
||||
|
|
@ -25,4 +25,3 @@ namespace Dalamud.Game.ClientState.Objects.Enums
|
|||
/// </summary>
|
||||
Enemy = 5,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.Objects.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Objects.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// This enum describes the indices of the Customize array.
|
||||
/// </summary>
|
||||
|
|
@ -136,4 +136,3 @@ namespace Dalamud.Game.ClientState.Objects.Enums
|
|||
/// </summary>
|
||||
FacepaintColor = 0x19,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.Objects.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Objects.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// Enum describing possible entity kinds.
|
||||
/// </summary>
|
||||
|
|
@ -80,4 +80,3 @@ namespace Dalamud.Game.ClientState.Objects.Enums
|
|||
/// </summary>
|
||||
CardStand = 0x0E,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects.Enums
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Objects.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// Enum describing possible status flags.
|
||||
/// </summary>
|
||||
|
|
@ -53,4 +53,3 @@ namespace Dalamud.Game.ClientState.Objects.Enums
|
|||
/// </summary>
|
||||
IsCasting = 128,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ using Dalamud.IoC;
|
|||
using Dalamud.IoC.Internal;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Objects;
|
||||
|
||||
/// <summary>
|
||||
/// This collection represents the currently spawned FFXIV game objects.
|
||||
/// </summary>
|
||||
|
|
@ -143,4 +143,3 @@ namespace Dalamud.Game.ClientState.Objects
|
|||
/// <inheritdoc/>
|
||||
IEnumerator IEnumerable.GetEnumerator() => this.GetEnumerator();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ using System;
|
|||
|
||||
using Dalamud.Game.ClientState.Objects.Enums;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Objects.Types;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents a battle NPC.
|
||||
/// </summary>
|
||||
|
|
@ -27,4 +27,3 @@ namespace Dalamud.Game.ClientState.Objects.Types
|
|||
/// <inheritdoc/>
|
||||
public override uint TargetObjectId => this.Struct->Character.TargetObjectID;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ using System;
|
|||
|
||||
using Dalamud.Game.ClientState.Objects.Types;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects.SubKinds
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Objects.SubKinds;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents an EventObj.
|
||||
/// </summary>
|
||||
|
|
@ -19,4 +19,3 @@ namespace Dalamud.Game.ClientState.Objects.SubKinds
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ using System;
|
|||
|
||||
using Dalamud.Game.ClientState.Objects.Types;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects.SubKinds
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Objects.SubKinds;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents a NPC.
|
||||
/// </summary>
|
||||
|
|
@ -19,4 +19,3 @@ namespace Dalamud.Game.ClientState.Objects.SubKinds
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ using System;
|
|||
using Dalamud.Game.ClientState.Objects.Types;
|
||||
using Dalamud.Game.ClientState.Resolvers;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects.SubKinds
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Objects.SubKinds;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents a player character.
|
||||
/// </summary>
|
||||
|
|
@ -35,4 +35,3 @@ namespace Dalamud.Game.ClientState.Objects.SubKinds
|
|||
/// </summary>
|
||||
public override uint TargetObjectId => this.Struct->Character.PlayerTargetObjectID;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ using Dalamud.Game.ClientState.Objects.Types;
|
|||
using Dalamud.IoC;
|
||||
using Dalamud.IoC.Internal;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Objects;
|
||||
|
||||
/// <summary>
|
||||
/// Get and set various kinds of targets for the player.
|
||||
/// </summary>
|
||||
|
|
@ -165,4 +165,3 @@ namespace Dalamud.Game.ClientState.Objects
|
|||
/// </summary>
|
||||
public void ClearSoftTarget() => this.SetSoftTarget(IntPtr.Zero);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ using System;
|
|||
|
||||
using Dalamud.Game.ClientState.Statuses;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Objects.Types;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents the battle characters.
|
||||
/// </summary>
|
||||
|
|
@ -64,4 +64,3 @@ namespace Dalamud.Game.ClientState.Objects.Types
|
|||
/// </summary>
|
||||
protected internal new FFXIVClientStructs.FFXIV.Client.Game.Character.BattleChara* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Character.BattleChara*)this.Address;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ using Dalamud.Game.Text.SeStringHandling;
|
|||
using Dalamud.Memory;
|
||||
using Lumina.Excel.GeneratedSheets;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Objects.Types;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents the base for non-static entities.
|
||||
/// </summary>
|
||||
|
|
@ -109,4 +109,3 @@ namespace Dalamud.Game.ClientState.Objects.Types
|
|||
/// </summary>
|
||||
protected internal new FFXIVClientStructs.FFXIV.Client.Game.Character.Character* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Character.Character*)this.Address;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ using Dalamud.Game.ClientState.Objects.Enums;
|
|||
using Dalamud.Game.Text.SeStringHandling;
|
||||
using Dalamud.Memory;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects.Types
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Objects.Types;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents a GameObject in FFXIV.
|
||||
/// </summary>
|
||||
|
|
@ -172,4 +172,3 @@ namespace Dalamud.Game.ClientState.Objects.Types
|
|||
/// <inheritdoc/>
|
||||
public override string ToString() => $"{this.ObjectId:X}({this.Name.TextValue} - {this.ObjectKind}) at {this.Address:X}";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ using Dalamud.IoC;
|
|||
using Dalamud.IoC.Internal;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Party
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Party;
|
||||
|
||||
/// <summary>
|
||||
/// This collection represents the actors present in your party or alliance.
|
||||
/// </summary>
|
||||
|
|
@ -183,4 +183,3 @@ namespace Dalamud.Game.ClientState.Party
|
|||
/// <inheritdoc/>
|
||||
IEnumerator IEnumerable.GetEnumerator() => this.GetEnumerator();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ using Dalamud.Game.ClientState.Statuses;
|
|||
using Dalamud.Game.Text.SeStringHandling;
|
||||
using Dalamud.Memory;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Party
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Party;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents a party member in the group manager.
|
||||
/// </summary>
|
||||
|
|
@ -109,4 +109,3 @@ namespace Dalamud.Game.ClientState.Party
|
|||
|
||||
private FFXIVClientStructs.FFXIV.Client.Game.Group.PartyMember* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Group.PartyMember*)this.Address;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
using Dalamud.Data;
|
||||
using Lumina.Excel;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Resolvers
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Resolvers;
|
||||
|
||||
/// <summary>
|
||||
/// This object resolves a rowID within an Excel sheet.
|
||||
/// </summary>
|
||||
|
|
@ -35,4 +35,3 @@ namespace Dalamud.Game.ClientState.Resolvers
|
|||
/// <returns>The ExcelRow in the specified language.</returns>
|
||||
public T? GetWithLanguage(ClientLanguage language) => Service<DataManager>.Get().GetExcelSheet<T>(language)?.GetRow(this.Id);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ using Dalamud.Game.ClientState.Objects;
|
|||
using Dalamud.Game.ClientState.Objects.Types;
|
||||
using Dalamud.Game.ClientState.Resolvers;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Statuses
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Statuses;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents a status effect an actor is afflicted by.
|
||||
/// </summary>
|
||||
|
|
@ -65,4 +65,3 @@ namespace Dalamud.Game.ClientState.Statuses
|
|||
|
||||
private FFXIVClientStructs.FFXIV.Client.Game.Status* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Status*)this.Address;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ using System.Collections;
|
|||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Statuses
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Statuses;
|
||||
|
||||
/// <summary>
|
||||
/// This collection represents the status effects an actor is afflicted by.
|
||||
/// </summary>
|
||||
|
|
@ -158,4 +158,3 @@ namespace Dalamud.Game.ClientState.Statuses
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Structs
|
||||
{
|
||||
namespace Dalamud.Game.ClientState.Structs;
|
||||
|
||||
/// <summary>
|
||||
/// Native memory representation of a FFXIV status effect.
|
||||
/// </summary>
|
||||
|
|
@ -33,4 +33,3 @@ namespace Dalamud.Game.ClientState.Structs
|
|||
/// </summary>
|
||||
public int OwnerId;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System.Reflection;
|
||||
|
||||
namespace Dalamud.Game.Command
|
||||
{
|
||||
namespace Dalamud.Game.Command;
|
||||
|
||||
/// <summary>
|
||||
/// This class describes a registered command.
|
||||
/// </summary>
|
||||
|
|
@ -45,4 +45,3 @@ namespace Dalamud.Game.Command
|
|||
/// </summary>
|
||||
internal string LoaderAssemblyName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ using Dalamud.IoC;
|
|||
using Dalamud.IoC.Internal;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.Command
|
||||
{
|
||||
namespace Dalamud.Game.Command;
|
||||
|
||||
/// <summary>
|
||||
/// This class manages registered in-game slash commands.
|
||||
/// </summary>
|
||||
|
|
@ -180,4 +180,3 @@ namespace Dalamud.Game.Command
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ using Dalamud.IoC.Internal;
|
|||
using Dalamud.Utility;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game
|
||||
{
|
||||
namespace Dalamud.Game;
|
||||
|
||||
/// <summary>
|
||||
/// This class represents the Framework of the native game client and grants access to various subsystems.
|
||||
/// </summary>
|
||||
|
|
@ -551,4 +551,3 @@ namespace Dalamud.Game
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game
|
||||
{
|
||||
namespace Dalamud.Game;
|
||||
|
||||
/// <summary>
|
||||
/// The address resolver for the <see cref="Framework"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -46,4 +46,3 @@ namespace Dalamud.Game
|
|||
scanner.ScanText("40 53 48 83 EC 20 FF 81 ?? ?? ?? ?? 48 8B D9 48 8D 4C 24 ??");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ using System.Text;
|
|||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Dalamud.Game
|
||||
{
|
||||
namespace Dalamud.Game;
|
||||
|
||||
/// <summary>
|
||||
/// A GameVersion object contains give hierarchical numeric components: year, month,
|
||||
/// day, major and minor. All components may be unspecified, which is represented
|
||||
|
|
@ -406,4 +406,3 @@ namespace Dalamud.Game
|
|||
.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ using System;
|
|||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Dalamud.Game
|
||||
{
|
||||
namespace Dalamud.Game;
|
||||
|
||||
/// <summary>
|
||||
/// Converts a <see cref="GameVersion"/> to and from a string (e.g. <c>"2010.01.01.1234.5678"</c>).
|
||||
/// </summary>
|
||||
|
|
@ -77,4 +77,3 @@ namespace Dalamud.Game
|
|||
return objectType == typeof(GameVersion);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ using Dalamud.IoC.Internal;
|
|||
using Dalamud.Utility;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.Gui
|
||||
{
|
||||
namespace Dalamud.Game.Gui;
|
||||
|
||||
/// <summary>
|
||||
/// This class handles interacting with the native chat UI.
|
||||
/// </summary>
|
||||
|
|
@ -456,4 +456,3 @@ namespace Dalamud.Game.Gui
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.Gui
|
||||
{
|
||||
namespace Dalamud.Game.Gui;
|
||||
|
||||
/// <summary>
|
||||
/// The address resolver for the <see cref="ChatGui"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -101,4 +101,3 @@ namespace Dalamud.Game.Gui
|
|||
this.InteractableLinkClicked = sig.ScanText("E8 ?? ?? ?? ?? E9 ?? ?? ?? ?? 80 BB ?? ?? ?? ?? ?? 0F 85 ?? ?? ?? ?? 80 BB") + 9;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ using FFXIVClientStructs.FFXIV.Client.System.Memory;
|
|||
using FFXIVClientStructs.FFXIV.Component.GUI;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.Gui.Dtr
|
||||
{
|
||||
namespace Dalamud.Game.Gui.Dtr;
|
||||
|
||||
/// <summary>
|
||||
/// Class used to interface with the server info bar.
|
||||
/// </summary>
|
||||
|
|
@ -320,4 +320,3 @@ namespace Dalamud.Game.Gui.Dtr
|
|||
return newTextNode;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
using Dalamud.Game.Text.SeStringHandling;
|
||||
using FFXIVClientStructs.FFXIV.Component.GUI;
|
||||
|
||||
namespace Dalamud.Game.Gui.Dtr
|
||||
{
|
||||
namespace Dalamud.Game.Gui.Dtr;
|
||||
|
||||
/// <summary>
|
||||
/// Class representing an entry in the server info bar.
|
||||
/// </summary>
|
||||
|
|
@ -90,4 +90,3 @@ namespace Dalamud.Game.Gui.Dtr
|
|||
this.Remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ using Dalamud.IoC.Internal;
|
|||
using Dalamud.Memory;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.Gui.FlyText
|
||||
{
|
||||
namespace Dalamud.Game.Gui.FlyText;
|
||||
|
||||
/// <summary>
|
||||
/// This class facilitates interacting with and creating native in-game "fly text".
|
||||
/// </summary>
|
||||
|
|
@ -308,4 +308,3 @@ namespace Dalamud.Game.Gui.FlyText
|
|||
return retVal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.Gui.FlyText
|
||||
{
|
||||
namespace Dalamud.Game.Gui.FlyText;
|
||||
|
||||
/// <summary>
|
||||
/// An address resolver for the <see cref="FlyTextGui"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -29,4 +29,3 @@ namespace Dalamud.Game.Gui.FlyText
|
|||
this.CreateFlyText = sig.ScanText("48 89 74 24 ?? 48 89 7C 24 ?? 41 56 48 83 EC 40 48 63 FA");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.Gui.FlyText
|
||||
{
|
||||
namespace Dalamud.Game.Gui.FlyText;
|
||||
|
||||
/// <summary>
|
||||
/// Enum of FlyTextKind values. Members suffixed with
|
||||
/// a number seem to be a duplicate, or perform duplicate behavior.
|
||||
|
|
@ -295,4 +295,3 @@ namespace Dalamud.Game.Gui.FlyText
|
|||
/// </summary>
|
||||
CriticalDirectHit2 = 54,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ using FFXIVClientStructs.FFXIV.Component.GUI;
|
|||
using ImGuiNET;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.Gui
|
||||
{
|
||||
namespace Dalamud.Game.Gui;
|
||||
|
||||
/// <summary>
|
||||
/// A class handling many aspects of the in-game UI.
|
||||
/// </summary>
|
||||
|
|
@ -573,4 +573,3 @@ namespace Dalamud.Game.Gui
|
|||
return thisPtr; // this function shouldn't need to return but the original asm moves this into rax before returning so be safe?
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.Gui
|
||||
{
|
||||
namespace Dalamud.Game.Gui;
|
||||
|
||||
/// <summary>
|
||||
/// The address resolver for the <see cref="GameGui"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -77,4 +77,3 @@ namespace Dalamud.Game.Gui
|
|||
this.Utf8StringFromSequence = sig.ScanText("48 89 5C 24 ?? 48 89 74 24 ?? 57 48 83 EC 20 48 8D 41 22 66 C7 41 ?? ?? ?? 48 89 01 49 8B D8");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue