mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
18
Brutal.RakNet/Generated/Handles/RakPeerInstance.gen.cs
Normal file
18
Brutal.RakNet/Generated/Handles/RakPeerInstance.gen.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
namespace Brutal.RakNetApi
|
||||
{
|
||||
public unsafe partial struct RakPeerInstance(nint impl) : INullable, IDisposable
|
||||
{
|
||||
public bool IsNull() => impl is 0;
|
||||
|
||||
internal nint Impl => impl;
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
if (impl is not 0)
|
||||
{
|
||||
RakPeerInterface.DestroyInstance(this);
|
||||
impl = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue