mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
70 lines
1.1 KiB
C#
70 lines
1.1 KiB
C#
// <auto-generated/> by Diplomat
|
|
|
|
#pragma warning disable 0105
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
using Devolutions.IronRdp.Diplomat;
|
|
#pragma warning restore 0105
|
|
|
|
namespace Devolutions.IronRdp;
|
|
|
|
#nullable enable
|
|
|
|
public partial class Position
|
|
{
|
|
private Raw.Position _inner;
|
|
|
|
public ushort X
|
|
{
|
|
get
|
|
{
|
|
unsafe
|
|
{
|
|
return _inner.x;
|
|
}
|
|
}
|
|
set
|
|
{
|
|
unsafe
|
|
{
|
|
_inner.x = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public ushort Y
|
|
{
|
|
get
|
|
{
|
|
unsafe
|
|
{
|
|
return _inner.y;
|
|
}
|
|
}
|
|
set
|
|
{
|
|
unsafe
|
|
{
|
|
_inner.y = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Creates a managed <c>Position</c> from the raw representation.
|
|
/// </summary>
|
|
public unsafe Position(Raw.Position data)
|
|
{
|
|
_inner = data;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Returns a copy of the underlying raw representation.
|
|
/// </summary>
|
|
public Raw.Position AsFFI()
|
|
{
|
|
return _inner;
|
|
}
|
|
}
|