mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
108 lines
4.8 KiB
C#
108 lines
4.8 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using Brutal.Interop;
|
|
using Brutal.Numerics;
|
|
namespace Brutal.JoltApi
|
|
{
|
|
public static partial class Jolt
|
|
{
|
|
public static unsafe partial class PInvoke
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterID.h#L20">Jolt/Physics/Character/CharacterID.h:20</see>
|
|
/// <br/>
|
|
/// <c>CharacterID()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Construct invalid character ID
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterID_Create")]
|
|
public static partial CharacterID CharacterID_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterID.h#L26">Jolt/Physics/Character/CharacterID.h:26</see>
|
|
/// <br/>
|
|
/// <c>explicit CharacterID(uint32 inID)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Construct with specific value, make sure you don't use the same value twice!
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterID_Create_2")]
|
|
public static partial CharacterID CharacterID_Create_2(uint iD);
|
|
[LibraryImport("jolt", EntryPoint = "CharacterID_Destroy")]
|
|
public static partial void CharacterID_Destroy(CharacterID self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterID.h#L32">Jolt/Physics/Character/CharacterID.h:32</see>
|
|
/// <br/>
|
|
/// <c>inline uint32 GetValue() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get the numeric value of the ID
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterID_GetValue")]
|
|
public static partial uint CharacterID_GetValue(CharacterID self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterID.h#L38">Jolt/Physics/Character/CharacterID.h:38</see>
|
|
/// <br/>
|
|
/// <c>inline bool IsInvalid() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Check if the ID is valid
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterID_IsInvalid")]
|
|
public static partial Brutal.Bool8 CharacterID_IsInvalid(CharacterID self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterID.h#L68">Jolt/Physics/Character/CharacterID.h:68</see>
|
|
/// <br/>
|
|
/// <c>inline uint64 GetHash() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get the hash for this character ID
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterID_GetHash")]
|
|
public static partial ulong CharacterID_GetHash(CharacterID self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterID.h#L85">Jolt/Physics/Character/CharacterID.h:85</see>
|
|
/// <br/>
|
|
/// <c>static void sSetNextCharacterID(uint32 inNextValue = 1)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Set the next available character ID, can be used after destroying all character to prepare for a
|
|
/// second deterministic run
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterID_sSetNextCharacterID")]
|
|
public static partial void CharacterID_sSetNextCharacterID(uint nextValue);
|
|
}
|
|
}
|
|
}
|