mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Revert "refactor(Dalamud): switch to file-scoped namespaces"
This reverts commit b5f34c3199.
This commit is contained in:
parent
d473826247
commit
1561fbac00
325 changed files with 45549 additions and 45209 deletions
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud;
|
||||
|
||||
namespace Dalamud
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum describing the language the game loads in.
|
||||
/// </summary>
|
||||
|
|
@ -25,3 +25,4 @@ public enum ClientLanguage
|
|||
/// </summary>
|
||||
French,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud;
|
||||
|
||||
namespace Dalamud
|
||||
{
|
||||
/// <summary>
|
||||
/// Extension methods for the <see cref="ClientLanguage"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -24,3 +24,4 @@ public static class ClientLanguageExtensions
|
|||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Configuration;
|
||||
|
||||
namespace Dalamud.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// Configuration to store settings for a dalamud plugin.
|
||||
/// </summary>
|
||||
|
|
@ -10,3 +10,4 @@ public interface IPluginConfiguration
|
|||
/// </summary>
|
||||
int Version { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ using Newtonsoft.Json;
|
|||
using Serilog;
|
||||
using Serilog.Events;
|
||||
|
||||
namespace Dalamud.Configuration.Internal;
|
||||
|
||||
namespace Dalamud.Configuration.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// Class containing Dalamud settings.
|
||||
/// </summary>
|
||||
|
|
@ -272,3 +272,4 @@ internal sealed class DalamudConfiguration
|
|||
this.DalamudConfigurationSaved?.Invoke(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Configuration.Internal;
|
||||
|
||||
namespace Dalamud.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// Additional locations to load dev plugins from.
|
||||
/// </summary>
|
||||
|
|
@ -21,3 +21,4 @@ internal sealed class DevPluginLocationSettings
|
|||
/// <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,3 +15,4 @@ internal sealed class DevPluginSettings
|
|||
/// </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,3 +35,4 @@ internal class EnvironmentConfiguration
|
|||
private static bool GetEnvironmentVariable(string name)
|
||||
=> bool.Parse(Environment.GetEnvironmentVariable(name) ?? "false");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Configuration.Internal;
|
||||
|
||||
namespace Dalamud.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// Third party repository for dalamud plugins.
|
||||
/// </summary>
|
||||
|
|
@ -26,3 +26,4 @@ internal sealed class ThirdPartyRepoSettings
|
|||
/// <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>
|
||||
|
|
@ -127,3 +127,4 @@ public sealed class PluginConfigurations
|
|||
|
||||
private DirectoryInfo GetDirectoryPath(string pluginName) => new(Path.Combine(this.configDirectory.FullName, pluginName));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@ using Serilog.Events;
|
|||
|
||||
[assembly: InternalsVisibleTo("Dalamud.Test")]
|
||||
|
||||
namespace Dalamud;
|
||||
|
||||
namespace Dalamud
|
||||
{
|
||||
/// <summary>
|
||||
/// The main Dalamud class containing all subsystems.
|
||||
/// </summary>
|
||||
|
|
@ -408,3 +408,4 @@ internal sealed class Dalamud : IDisposable
|
|||
this.processMonoHook = new MonoMod.RuntimeDetour.Hook(handleTarget, handlePatch);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ using System;
|
|||
using Dalamud.Game;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Dalamud;
|
||||
|
||||
namespace Dalamud
|
||||
{
|
||||
/// <summary>
|
||||
/// Struct containing information needed to initialize Dalamud.
|
||||
/// </summary>
|
||||
|
|
@ -57,3 +57,4 @@ public record DalamudStartInfo
|
|||
/// </summary>
|
||||
public int DelayInitializeMs { get; init; } = 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,8 +18,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>
|
||||
|
|
@ -344,3 +344,4 @@ public sealed class DataManager : IDisposable
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ using Serilog.Events;
|
|||
|
||||
using static Dalamud.NativeFunctions;
|
||||
|
||||
namespace Dalamud;
|
||||
|
||||
namespace Dalamud
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entrypoint for the Dalamud system.
|
||||
/// </summary>
|
||||
|
|
@ -279,3 +279,4 @@ public sealed class EntryPoint
|
|||
Log.Error(args.Exception, "Unobserved exception in Task.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Game;
|
||||
|
||||
namespace Dalamud.Game
|
||||
{
|
||||
/// <summary>
|
||||
/// Base memory address resolver.
|
||||
/// </summary>
|
||||
|
|
@ -111,3 +111,4 @@ public abstract class BaseAddressResolver
|
|||
// Do nothing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ using Dalamud.Plugin.Internal;
|
|||
using Dalamud.Utility;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game;
|
||||
|
||||
namespace Dalamud.Game
|
||||
{
|
||||
/// <summary>
|
||||
/// Chat events and public helper functions.
|
||||
/// </summary>
|
||||
|
|
@ -329,3 +329,4 @@ public class ChatHandlers
|
|||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
@ -183,3 +183,4 @@ public sealed partial class BuddyList : IReadOnlyCollection<BuddyMember>
|
|||
/// <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>
|
||||
|
|
@ -70,3 +70,4 @@ public unsafe class BuddyMember
|
|||
|
||||
private FFXIVClientStructs.FFXIV.Client.Game.UI.Buddy.BuddyMember* Struct => (FFXIVClientStructs.FFXIV.Client.Game.UI.Buddy.BuddyMember*)this.Address;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ using Dalamud.IoC;
|
|||
using Dalamud.IoC.Internal;
|
||||
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>
|
||||
|
|
@ -177,3 +177,4 @@ public sealed class ClientState : IDisposable
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState;
|
||||
|
||||
namespace Dalamud.Game.ClientState
|
||||
{
|
||||
/// <summary>
|
||||
/// Client state memory address resolver.
|
||||
/// </summary>
|
||||
|
|
@ -111,3 +111,4 @@ public sealed class ClientStateAddressResolver : BaseAddressResolver
|
|||
this.GamepadPoll = sig.ScanText("40 ?? 57 41 ?? 48 81 EC ?? ?? ?? ?? 44 0F ?? ?? ?? ?? ?? ?? ?? 48 8B");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -155,3 +155,4 @@ public sealed partial class Condition : IDisposable
|
|||
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.
|
||||
///
|
||||
|
|
@ -450,3 +450,4 @@ public enum ConditionFlag
|
|||
/// </summary>
|
||||
BoundByDuty95 = 95,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,3 +133,4 @@ public unsafe partial class Fate
|
|||
/// </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,3 +30,4 @@ public enum FateState : byte
|
|||
/// </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>
|
||||
|
|
@ -145,3 +145,4 @@ public sealed partial class FateTable : IReadOnlyCollection<Fate>
|
|||
/// <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,3 +93,4 @@ public enum GamepadButtons : ushort
|
|||
/// </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,3 +73,4 @@ public struct GamepadInput
|
|||
[FieldOffset(0xA4)]
|
||||
public ushort ButtonsRepeat;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ using Dalamud.Hooking;
|
|||
using ImGuiNET;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.ClientState.GamePad;
|
||||
|
||||
namespace Dalamud.Game.ClientState.GamePad
|
||||
{
|
||||
/// <summary>
|
||||
/// Exposes the game gamepad state to dalamud.
|
||||
///
|
||||
|
|
@ -258,3 +258,4 @@ public unsafe class GamepadState : IDisposable
|
|||
this.isDisposed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// DRG Blood of the Dragon state types.
|
||||
/// </summary>
|
||||
|
|
@ -20,3 +20,4 @@ public enum BOTDState : byte
|
|||
/// </summary>
|
||||
LOTD = 2,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// AST Arcanum (card) types.
|
||||
/// </summary>
|
||||
|
|
@ -50,3 +50,4 @@ public enum CardType : byte
|
|||
/// </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,3 +15,4 @@ public enum DismissedFairy : byte
|
|||
/// </summary>
|
||||
SELENE = 7,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// NIN Mudra types.
|
||||
/// </summary>
|
||||
|
|
@ -20,3 +20,4 @@ public enum Mudras : byte
|
|||
/// </summary>
|
||||
JIN = 3,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// SMN summoned pet glam types.
|
||||
/// </summary>
|
||||
|
|
@ -25,3 +25,4 @@ public enum PetGlam : byte
|
|||
/// </summary>
|
||||
RUBY = 3,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// AST Divination seal types.
|
||||
/// </summary>
|
||||
|
|
@ -25,3 +25,4 @@ public enum SealType : byte
|
|||
/// </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,3 +28,4 @@ public enum Sen : byte
|
|||
/// </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,3 +25,4 @@ public enum Song : byte
|
|||
/// </summary>
|
||||
WANDERER = 15,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.ClientState.JobGauge.Enums;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// SMN summoned pet types.
|
||||
/// </summary>
|
||||
|
|
@ -25,3 +25,4 @@ public enum SummonPet : byte
|
|||
/// </summary>
|
||||
GARUDA = 5,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -51,3 +51,4 @@ public class JobGauges
|
|||
return (T)gauge;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 AST job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -37,3 +37,4 @@ public unsafe class ASTGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -64,3 +64,4 @@ public unsafe class BLMGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||
public bool IsEnochianActive => this.Struct->Enochian != 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 BRD job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -38,3 +38,4 @@ public unsafe class BRDGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// </summary>
|
||||
public Song Song => (Song)this.Struct->Song;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,3 +57,4 @@ public unsafe class DNCGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||
public bool IsDancing => this.Struct->DanceSteps[0] != 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 DRG job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -33,3 +33,4 @@ public unsafe class DRGGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// </summary>
|
||||
public byte EyeCount => this.Struct->EyeCount;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,3 +37,4 @@ public unsafe class DRKGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// <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,3 +31,4 @@ public unsafe class GNBGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// </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,3 +21,4 @@ public abstract unsafe class JobGaugeBase
|
|||
/// </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,3 +22,4 @@ public unsafe class JobGaugeBase<T> : JobGaugeBase where T : unmanaged
|
|||
/// </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,3 +53,4 @@ public unsafe class MCHGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||
public bool IsRobotActive => (this.Struct->TimerActive & 2) != 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types;
|
||||
|
||||
namespace Dalamud.Game.ClientState.JobGauge.Types
|
||||
{
|
||||
/// <summary>
|
||||
/// In-memory MNK job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -21,3 +21,4 @@ public unsafe class MNKGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// </summary>
|
||||
public byte Chakra => this.Struct->Chakra;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,3 +31,4 @@ public unsafe class NINGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// </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,3 +21,4 @@ public unsafe class PLDGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// </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>
|
||||
|
|
@ -26,3 +26,4 @@ public unsafe class RDMGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// </summary>
|
||||
public byte BlackMana => this.Struct->BlackMana;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -51,3 +51,4 @@ public unsafe class SAMGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// <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,3 +38,4 @@ public unsafe class SCHGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// </summary>
|
||||
public DismissedFairy DismissedFairy => (DismissedFairy)this.Struct->DismissedFairy;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 SMN job gauge.
|
||||
/// </summary>
|
||||
|
|
@ -57,3 +57,4 @@ public unsafe class SMNGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// <returns><c>true</c> or <c>false</c>.</returns>
|
||||
public bool HasAetherflowStacks => (this.AetherFlags & 3) > 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,3 +21,4 @@ public unsafe class WARGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// </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,3 +31,4 @@ public unsafe class WHMGauge : JobGaugeBase<FFXIVClientStructs.FFXIV.Client.Game
|
|||
/// </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>
|
||||
|
|
@ -157,3 +157,4 @@ public class KeyState
|
|||
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>
|
||||
|
|
@ -1041,3 +1041,4 @@ public enum VirtualKey : ushort
|
|||
/// </summary>
|
||||
OEM_CLEAR = 254,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,3 +25,4 @@ public enum BattleNpcSubKind : byte
|
|||
/// </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,3 +136,4 @@ public enum CustomizeIndex
|
|||
/// </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,3 +80,4 @@ public enum ObjectKind : byte
|
|||
/// </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,3 +53,4 @@ public enum StatusFlags : byte
|
|||
/// </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>
|
||||
|
|
@ -145,3 +145,4 @@ public sealed partial class ObjectTable : IReadOnlyCollection<GameObject>
|
|||
/// <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,3 +27,4 @@ public unsafe class BattleNpc : BattleChara
|
|||
/// <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,3 +19,4 @@ public unsafe class EventObj : GameObject
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,3 +19,4 @@ public unsafe class Npc : Character
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,3 +35,4 @@ public unsafe class PlayerCharacter : BattleChara
|
|||
/// </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>
|
||||
|
|
@ -161,3 +161,4 @@ public sealed unsafe class TargetManager
|
|||
/// </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,3 +64,4 @@ public unsafe class BattleChara : Character
|
|||
/// </summary>
|
||||
private protected new FFXIVClientStructs.FFXIV.Client.Game.Character.BattleChara* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Character.BattleChara*)this.Address;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ using Dalamud.Game.ClientState.Resolvers;
|
|||
using Dalamud.Game.Text.SeStringHandling;
|
||||
using Dalamud.Memory;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects.Types;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Objects.Types
|
||||
{
|
||||
/// <summary>
|
||||
/// This class represents the base for non-static entities.
|
||||
/// </summary>
|
||||
|
|
@ -103,3 +103,4 @@ public unsafe class Character : GameObject
|
|||
/// </summary>
|
||||
private protected 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,3 +172,4 @@ public unsafe partial class GameObject
|
|||
/// <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>
|
||||
|
|
@ -181,3 +181,4 @@ public sealed partial class PartyList : IReadOnlyCollection<PartyMember>
|
|||
/// <inheritdoc/>
|
||||
IEnumerator IEnumerable.GetEnumerator() => this.GetEnumerator();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ using Dalamud.Game.Text.SeStringHandling;
|
|||
using Dalamud.Memory;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Party;
|
||||
|
||||
namespace Dalamud.Game.ClientState.Party
|
||||
{
|
||||
/// <summary>
|
||||
/// This class represents a party member in the group manager.
|
||||
/// </summary>
|
||||
|
|
@ -110,3 +110,4 @@ public unsafe class PartyMember
|
|||
|
||||
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>
|
||||
|
|
@ -28,3 +28,4 @@ public class ExcelResolver<T> where T : ExcelRow
|
|||
/// </summary>
|
||||
public T GameData => Service<DataManager>.Get().GetExcelSheet<T>().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,3 +65,4 @@ public unsafe class Status
|
|||
|
||||
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,3 +158,4 @@ public sealed partial class StatusList : IReadOnlyCollection<Status>, ICollectio
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,3 +33,4 @@ public struct StatusEffect
|
|||
/// </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,3 +45,4 @@ public sealed class CommandInfo
|
|||
/// </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>
|
||||
|
|
@ -174,3 +174,4 @@ public sealed class CommandManager
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,8 +16,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>
|
||||
|
|
@ -313,3 +313,4 @@ public sealed class Framework : IDisposable
|
|||
return originalPtr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Game;
|
||||
using Dalamud.Game.Internal;
|
||||
|
||||
namespace Dalamud.Game
|
||||
{
|
||||
/// <summary>
|
||||
/// The address resolver for the <see cref="Framework"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -52,3 +54,4 @@ public sealed class FrameworkAddressResolver : BaseAddressResolver
|
|||
this.BaseAddress = Marshal.ReadIntPtr(pFramework);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,3 +406,4 @@ public sealed class GameVersion : ICloneable, IComparable, IComparable<GameVersi
|
|||
.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,3 +77,4 @@ public sealed class GameVersionConverter : JsonConverter
|
|||
return objectType == typeof(GameVersion);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ using Dalamud.IoC;
|
|||
using Dalamud.IoC.Internal;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.Gui;
|
||||
|
||||
namespace Dalamud.Game.Gui
|
||||
{
|
||||
/// <summary>
|
||||
/// This class handles interacting with the native chat UI.
|
||||
/// </summary>
|
||||
|
|
@ -480,3 +480,4 @@ public sealed class ChatGui : IDisposable
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.Gui;
|
||||
using Dalamud.Game.Internal;
|
||||
|
||||
namespace Dalamud.Game.Gui
|
||||
{
|
||||
/// <summary>
|
||||
/// The address resolver for the <see cref="ChatGui"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -115,3 +117,4 @@ public sealed class ChatGuiAddressResolver : BaseAddressResolver
|
|||
this.InteractableLinkClicked = sig.ScanText("E8 ?? ?? ?? ?? E9 ?? ?? ?? ?? 80 BB ?? ?? ?? ?? ?? 0F 85 ?? ?? ?? ?? 80 BB") + 9;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,3 +308,4 @@ public sealed class FlyTextGui : IDisposable
|
|||
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,3 +29,4 @@ public class FlyTextGuiAddressResolver : BaseAddressResolver
|
|||
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.
|
||||
|
|
@ -280,3 +280,4 @@ public enum FlyTextKind : int
|
|||
/// </summary>
|
||||
CriticalDirectHit2 = 51,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ using Dalamud.Utility;
|
|||
using ImGuiNET;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.Gui;
|
||||
|
||||
namespace Dalamud.Game.Gui
|
||||
{
|
||||
/// <summary>
|
||||
/// A class handling many aspects of the in-game UI.
|
||||
/// </summary>
|
||||
|
|
@ -594,3 +594,4 @@ public sealed class GameGui : IDisposable
|
|||
: result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Game.Gui;
|
||||
|
||||
namespace Dalamud.Game.Gui
|
||||
{
|
||||
/// <summary>
|
||||
/// The address resolver for the <see cref="GameGui"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -101,3 +101,4 @@ internal sealed class GameGuiAddressResolver : BaseAddressResolver
|
|||
this.ChatManager = this.BaseAddress + 0x13E0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.Gui;
|
||||
|
||||
namespace Dalamud.Game.Gui
|
||||
{
|
||||
/// <summary>
|
||||
/// ActionKinds used in AgentActionDetail.
|
||||
/// These describe the possible kinds of actions being hovered.
|
||||
|
|
@ -46,3 +46,4 @@ public enum HoverActionKind
|
|||
/// </summary>
|
||||
Trait = 29,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.Gui;
|
||||
|
||||
namespace Dalamud.Game.Gui
|
||||
{
|
||||
/// <summary>
|
||||
/// This class represents the hotbar action currently hovered over by the cursor.
|
||||
/// </summary>
|
||||
|
|
@ -20,3 +20,4 @@ public class HoveredAction
|
|||
/// </summary>
|
||||
public HoverActionKind ActionKind { get; set; } = HoverActionKind.None;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ using ImGuiNET;
|
|||
|
||||
using static Dalamud.NativeFunctions;
|
||||
|
||||
namespace Dalamud.Game.Gui.Internal;
|
||||
|
||||
namespace Dalamud.Game.Gui.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// This class handles IME for non-English users.
|
||||
/// </summary>
|
||||
|
|
@ -240,3 +240,4 @@ internal class DalamudIME : IDisposable
|
|||
return CallWindowProcW(this.oldWndProcPtr, hWnd, msg, wParam, lParam);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Game.Gui.PartyFinder.Internal;
|
||||
|
||||
namespace Dalamud.Game.Gui.PartyFinder.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// The structure of the PartyFinder packet.
|
||||
/// </summary>
|
||||
|
|
@ -25,3 +25,4 @@ internal readonly struct PartyFinderPacket
|
|||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
|
||||
internal readonly PartyFinderPacketListing[] Listings;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ using System.Diagnostics.CodeAnalysis;
|
|||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Game.Gui.PartyFinder.Internal;
|
||||
|
||||
namespace Dalamud.Game.Gui.PartyFinder.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// The structure of an individual listing within a packet.
|
||||
/// </summary>
|
||||
|
|
@ -96,3 +96,4 @@ internal readonly struct PartyFinderPacketListing
|
|||
return this.Slots.All(slot => slot == 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.Gui.PartyFinder;
|
||||
|
||||
namespace Dalamud.Game.Gui.PartyFinder
|
||||
{
|
||||
/// <summary>
|
||||
/// The address resolver for the <see cref="PartyFinderGui"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -18,3 +18,4 @@ public class PartyFinderAddressResolver : BaseAddressResolver
|
|||
this.ReceiveListing = sig.ScanText("40 53 41 57 48 83 EC 28 48 8B D9");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ using Dalamud.IoC;
|
|||
using Dalamud.IoC.Internal;
|
||||
using Serilog;
|
||||
|
||||
namespace Dalamud.Game.Gui.PartyFinder;
|
||||
|
||||
namespace Dalamud.Game.Gui.PartyFinder
|
||||
{
|
||||
/// <summary>
|
||||
/// This class handles interacting with the native PartyFinder window.
|
||||
/// </summary>
|
||||
|
|
@ -137,3 +137,4 @@ public sealed class PartyFinderGui : IDisposable
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.Gui.PartyFinder.Types;
|
||||
|
||||
namespace Dalamud.Game.Gui.PartyFinder.Types
|
||||
{
|
||||
/// <summary>
|
||||
/// Condition flags for the <see cref="PartyFinderGui"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -23,3 +23,4 @@ public enum ConditionFlags : uint
|
|||
/// </summary>
|
||||
DutyIncomplete = 4,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
namespace Dalamud.Game.Gui.PartyFinder.Types;
|
||||
|
||||
namespace Dalamud.Game.Gui.PartyFinder.Types
|
||||
{
|
||||
/// <summary>
|
||||
/// Category flags for the <see cref="PartyFinderGui"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -45,3 +45,4 @@ public enum DutyCategory
|
|||
/// </summary>
|
||||
AdventuringForays = 1 << 6,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.Gui.PartyFinder.Types;
|
||||
|
||||
namespace Dalamud.Game.Gui.PartyFinder.Types
|
||||
{
|
||||
/// <summary>
|
||||
/// Duty finder settings flags for the <see cref="PartyFinderGui"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -28,3 +28,4 @@ public enum DutyFinderSettingsFlags : uint
|
|||
/// </summary>
|
||||
SilenceEcho = 1 << 2,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
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