mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix warnings
This commit is contained in:
parent
df51fc17e6
commit
d41682b66e
7 changed files with 28 additions and 26 deletions
|
|
@ -6,27 +6,27 @@
|
|||
public enum CreatureFlags : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// Pom flag present
|
||||
/// Pom flag present.
|
||||
/// </summary>
|
||||
Pom = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Wings flag present
|
||||
/// Wings flag present.
|
||||
/// </summary>
|
||||
Wings = 2,
|
||||
|
||||
/// <summary>
|
||||
/// Claw flag present
|
||||
/// Claw flag present.
|
||||
/// </summary>
|
||||
Claw = 4,
|
||||
|
||||
/// <summary>
|
||||
/// Moogle portrait present
|
||||
/// Moogle portrait present.
|
||||
/// </summary>
|
||||
MooglePortait = 16,
|
||||
|
||||
/// <summary>
|
||||
/// Madeen portrait present
|
||||
/// Madeen portrait present.
|
||||
/// </summary>
|
||||
MadeenPortrait = 32,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,47 +20,47 @@ public unsafe class PCTGauge : JobGaugeBase<PictomancerGauge>
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Tracks use of subjective pallete
|
||||
/// Gets the use of subjective pallete.
|
||||
/// </summary>
|
||||
public byte PalleteGauge => Struct->PalleteGauge;
|
||||
|
||||
/// <summary>
|
||||
/// Number of paint the player has.
|
||||
/// Gets the amount of paint the player has.
|
||||
/// </summary>
|
||||
public byte Paint => Struct->Paint;
|
||||
|
||||
/// <summary>
|
||||
/// Creature Motif Stack
|
||||
/// Gets a value indicating whether or not a creature motif is drawn.
|
||||
/// </summary>
|
||||
public bool CreatureMotifDrawn => Struct->CreatureMotifDrawn;
|
||||
|
||||
/// <summary>
|
||||
/// Weapon Motif Stack
|
||||
/// Gets a value indicating whether or not a weapon motif is drawn.
|
||||
/// </summary>
|
||||
public bool WeaponMotifDrawn => Struct->WeaponMotifDrawn;
|
||||
|
||||
/// <summary>
|
||||
/// Landscape Motif Stack
|
||||
/// Gets a value indicating whether or not a landscape motif is drawn.
|
||||
/// </summary>
|
||||
public bool LandscapeMotifDrawn => Struct->LandscapeMotifDrawn;
|
||||
|
||||
/// <summary>
|
||||
/// Moogle Portrait Stack
|
||||
/// Gets a value indicating whether or not a moogle portrait is ready.
|
||||
/// </summary>
|
||||
public bool MooglePortraitReady => Struct->MooglePortraitReady;
|
||||
|
||||
/// <summary>
|
||||
/// Madeen Portrait Stack
|
||||
/// Gets a value indicating whether or not a madeen portrait is ready.
|
||||
/// </summary>
|
||||
public bool MadeenPortraitReady => Struct->MadeenPortraitReady;
|
||||
|
||||
/// <summary>
|
||||
/// Which creature flags are present.
|
||||
/// Gets which creature flags are present.
|
||||
/// </summary>
|
||||
public CreatureFlags CreatureFlags => (CreatureFlags)Struct->CreatureFlags;
|
||||
|
||||
/// <summary>
|
||||
/// Which canvas flags are present.
|
||||
/// Gets which canvas flags are present.
|
||||
/// </summary>
|
||||
public CanvasFlags CanvasFlags => (CanvasFlags)Struct->CanvasFlags;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,22 +21,22 @@ public unsafe class VPRGauge : JobGaugeBase<ViperGauge>
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// How many uses of uncoiled fury the player has.
|
||||
/// Gets how many uses of uncoiled fury the player has.
|
||||
/// </summary>
|
||||
public byte RattlingCoilStacks => Struct->RattlingCoilStacks;
|
||||
|
||||
/// <summary>
|
||||
/// Tracks AnguineTribute stacks and gauge.
|
||||
/// Gets Serpent Offering stacks and gauge.
|
||||
/// </summary>
|
||||
public byte SerpentOffering => Struct->SerpentOffering;
|
||||
|
||||
/// <summary>
|
||||
/// Allows the use of 1st, 2nd, 3rd, 4th generation and Ouroboros.
|
||||
/// Gets value indicating the use of 1st, 2nd, 3rd, 4th generation and Ouroboros.
|
||||
/// </summary>
|
||||
public byte AnguineTribute => Struct->AnguineTribute;
|
||||
|
||||
/// <summary>
|
||||
/// Keeps track of last Weaponskill used in DreadWinder/Pit of Dread combo.
|
||||
/// Gets the last Weaponskill used in DreadWinder/Pit of Dread combo.
|
||||
/// </summary>
|
||||
public DreadCombo DreadCombo => (DreadCombo)Struct->DreadCombo;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -223,6 +223,7 @@ internal sealed unsafe class GameGui : IInternalDisposableService, IGameGui
|
|||
worldPos = Vector3.Zero;
|
||||
return false;
|
||||
}
|
||||
|
||||
var ray = camera->ScreenPointToRay(screenPos);
|
||||
var result = BGCollisionModule.RaycastMaterialFilter(ray.Origin, ray.Direction, out var hit);
|
||||
worldPos = hit.Point;
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ internal sealed class GameGuiAddressResolver : BaseAddressResolver
|
|||
/// Gets the address of the native HandleImm method.
|
||||
/// </summary>
|
||||
public IntPtr HandleImm { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the address of the native ToggleUiHide method.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -65,12 +65,6 @@ internal unsafe struct PartyFinderPacketListing
|
|||
|
||||
private fixed byte padding14[4];
|
||||
|
||||
internal bool IsNull()
|
||||
{
|
||||
// a valid party finder must have at least one slot set
|
||||
return this.Slots.All(slot => slot == 0);
|
||||
}
|
||||
|
||||
#region Helper
|
||||
|
||||
internal ulong[] Slots
|
||||
|
|
@ -118,4 +112,10 @@ internal unsafe struct PartyFinderPacketListing
|
|||
}
|
||||
|
||||
#endregion
|
||||
|
||||
internal bool IsNull()
|
||||
{
|
||||
// a valid party finder must have at least one slot set
|
||||
return this.Slots.All(slot => slot == 0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ internal class MarketBoardItemRequest
|
|||
|
||||
/// <summary>
|
||||
/// Gets the request status. Nonzero statuses are errors.
|
||||
/// Known values: default=0; rate limited=0x70000003
|
||||
/// Known values: default=0; rate limited=0x70000003.
|
||||
/// </summary>
|
||||
public uint Status { get; private set; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue