mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 20:33:40 +01:00
Add generated files for now
This commit is contained in:
parent
0690cce995
commit
1bce618684
502 changed files with 1276906 additions and 1 deletions
72
imgui/Dalamud.ImGui/Generated/Structs/StbttPackContext.cs
Normal file
72
imgui/Dalamud.ImGui/Generated/Structs/StbttPackContext.cs
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
// ------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using HexaGen.Runtime;
|
||||
using System.Numerics;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct StbttPackContext
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
#if NET5_0_OR_GREATER
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
#endif
|
||||
public unsafe struct StbttPackContextPtr : IEquatable<StbttPackContextPtr>
|
||||
{
|
||||
public StbttPackContextPtr(StbttPackContext* handle) { Handle = handle; }
|
||||
|
||||
public StbttPackContext* Handle;
|
||||
|
||||
public bool IsNull => Handle == null;
|
||||
|
||||
public static StbttPackContextPtr Null => new StbttPackContextPtr(null);
|
||||
|
||||
public StbttPackContext this[int index] { get => Handle[index]; set => Handle[index] = value; }
|
||||
|
||||
public static implicit operator StbttPackContextPtr(StbttPackContext* handle) => new StbttPackContextPtr(handle);
|
||||
|
||||
public static implicit operator StbttPackContext*(StbttPackContextPtr handle) => handle.Handle;
|
||||
|
||||
public static bool operator ==(StbttPackContextPtr left, StbttPackContextPtr right) => left.Handle == right.Handle;
|
||||
|
||||
public static bool operator !=(StbttPackContextPtr left, StbttPackContextPtr right) => left.Handle != right.Handle;
|
||||
|
||||
public static bool operator ==(StbttPackContextPtr left, StbttPackContext* right) => left.Handle == right;
|
||||
|
||||
public static bool operator !=(StbttPackContextPtr left, StbttPackContext* right) => left.Handle != right;
|
||||
|
||||
public bool Equals(StbttPackContextPtr other) => Handle == other.Handle;
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override bool Equals(object obj) => obj is StbttPackContextPtr handle && Equals(handle);
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override int GetHashCode() => ((nuint)Handle).GetHashCode();
|
||||
|
||||
#if NET5_0_OR_GREATER
|
||||
private string DebuggerDisplay => string.Format("StbttPackContextPtr [0x{0}]", ((nuint)Handle).ToString("X"));
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue