mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-22 19:18:47 +00:00
Add blank lines to end of files
This commit is contained in:
parent
17fa114a98
commit
c432437da7
@ -1,4 +1,4 @@
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
@ -150,4 +150,4 @@ public readonly struct Cell : IEquatable<Cell>, IFormattable
|
|||||||
builder.Append('>');
|
builder.Append('>');
|
||||||
return builder.ToString();
|
return builder.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using VpSharp.Internal;
|
using VpSharp.Internal;
|
||||||
|
|
||||||
namespace VpSharp;
|
namespace VpSharp;
|
||||||
@ -160,4 +160,4 @@ public readonly struct ColorF : IEquatable<ColorF>
|
|||||||
{
|
{
|
||||||
return HashCode.Combine(A, R, G, B);
|
return HashCode.Combine(A, R, G, B);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,4 +8,4 @@ public enum ColorSpace
|
|||||||
Linear,
|
Linear,
|
||||||
// ReSharper disable once InconsistentNaming
|
// ReSharper disable once InconsistentNaming
|
||||||
sRGB
|
sRGB
|
||||||
}
|
}
|
||||||
|
@ -9,9 +9,9 @@ public enum DisconnectReason
|
|||||||
/// Indicates that connection to the server was lost unexpectedly.
|
/// Indicates that connection to the server was lost unexpectedly.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
ConnectionLost,
|
ConnectionLost,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Indicates that disconnection was requested and graceful.
|
/// Indicates that disconnection was requested and graceful.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Disconnected
|
Disconnected
|
||||||
}
|
}
|
||||||
|
@ -37,4 +37,4 @@ public sealed class AvatarClickedEventArgs : EventArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The click point.</value>
|
/// <value>The click point.</value>
|
||||||
public Vector3d ClickPoint { get; }
|
public Vector3d ClickPoint { get; }
|
||||||
}
|
}
|
||||||
|
@ -21,4 +21,4 @@ public sealed class AvatarJoinedEventArgs : EventArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The newly-joined avatar.</value>
|
/// <value>The newly-joined avatar.</value>
|
||||||
public VirtualParadiseAvatar Avatar { get; }
|
public VirtualParadiseAvatar Avatar { get; }
|
||||||
}
|
}
|
||||||
|
@ -21,4 +21,4 @@ public sealed class AvatarLeftEventArgs : EventArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The newly-departed avatar.</value>
|
/// <value>The newly-departed avatar.</value>
|
||||||
public VirtualParadiseAvatar Avatar { get; }
|
public VirtualParadiseAvatar Avatar { get; }
|
||||||
}
|
}
|
||||||
|
@ -27,14 +27,14 @@ public sealed class AvatarMovedEventArgs : EventArgs
|
|||||||
public VirtualParadiseAvatar Avatar { get; }
|
public VirtualParadiseAvatar Avatar { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the avatar's location after the change.
|
/// Gets the avatar's location after the change.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The avatar's new location.</value>
|
/// <value>The avatar's new location.</value>
|
||||||
public Location LocationAfter { get; }
|
public Location LocationAfter { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the avatar's location before the change.
|
/// Gets the avatar's location before the change.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The avatar's old location.</value>
|
/// <value>The avatar's old location.</value>
|
||||||
public Location? LocationBefore { get; }
|
public Location? LocationBefore { get; }
|
||||||
}
|
}
|
||||||
|
@ -27,14 +27,14 @@ public sealed class AvatarTypeChangedEventArgs : EventArgs
|
|||||||
public VirtualParadiseAvatar Avatar { get; }
|
public VirtualParadiseAvatar Avatar { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the avatar's type after the change.
|
/// Gets the avatar's type after the change.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The avatar's new type.</value>
|
/// <value>The avatar's new type.</value>
|
||||||
public int TypeAfter { get; }
|
public int TypeAfter { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the avatar's type before the change.
|
/// Gets the avatar's type before the change.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The avatar's old type.</value>
|
/// <value>The avatar's old type.</value>
|
||||||
public int? TypeBefore { get; }
|
public int? TypeBefore { get; }
|
||||||
}
|
}
|
||||||
|
@ -20,4 +20,4 @@ public sealed class DisconnectedEventArgs : EventArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The reason for the disconnect.</value>
|
/// <value>The reason for the disconnect.</value>
|
||||||
public DisconnectReason Reason { get; }
|
public DisconnectReason Reason { get; }
|
||||||
}
|
}
|
||||||
|
@ -19,4 +19,4 @@ public sealed class InviteRequestReceivedEventArgs : EventArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The invite request.</value>
|
/// <value>The invite request.</value>
|
||||||
public InviteRequest InviteRequest { get; }
|
public InviteRequest InviteRequest { get; }
|
||||||
}
|
}
|
||||||
|
@ -19,4 +19,4 @@ public sealed class JoinRequestReceivedEventArgs : EventArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The join request.</value>
|
/// <value>The join request.</value>
|
||||||
public JoinRequest JoinRequest { get; }
|
public JoinRequest JoinRequest { get; }
|
||||||
}
|
}
|
||||||
|
@ -21,4 +21,4 @@ public sealed class MessageReceivedEventArgs : EventArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The message.</value>
|
/// <value>The message.</value>
|
||||||
public VirtualParadiseMessage Message { get; }
|
public VirtualParadiseMessage Message { get; }
|
||||||
}
|
}
|
||||||
|
@ -37,4 +37,4 @@ public sealed class ObjectBumpEventArgs : EventArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The bump phase.</value>
|
/// <value>The bump phase.</value>
|
||||||
public BumpPhase Phase { get; }
|
public BumpPhase Phase { get; }
|
||||||
}
|
}
|
||||||
|
@ -44,4 +44,4 @@ public sealed class ObjectChangedEventArgs : EventArgs
|
|||||||
/// previously have the object cached.
|
/// previously have the object cached.
|
||||||
/// </value>
|
/// </value>
|
||||||
public VirtualParadiseObject ObjectBefore { get; }
|
public VirtualParadiseObject ObjectBefore { get; }
|
||||||
}
|
}
|
||||||
|
@ -40,4 +40,4 @@ public sealed class ObjectClickedEventArgs : EventArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The clicked object.</value>
|
/// <value>The clicked object.</value>
|
||||||
public VirtualParadiseObject Object { get; }
|
public VirtualParadiseObject Object { get; }
|
||||||
}
|
}
|
||||||
|
@ -29,4 +29,4 @@ public sealed class ObjectCreatedEventArgs : EventArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The object which was created.</value>
|
/// <value>The object which was created.</value>
|
||||||
public VirtualParadiseObject Object { get; }
|
public VirtualParadiseObject Object { get; }
|
||||||
}
|
}
|
||||||
|
@ -46,4 +46,4 @@ public sealed class ObjectDeletedEventArgs : EventArgs
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <seealso cref="Object" />
|
/// <seealso cref="Object" />
|
||||||
public int ObjectId { get; }
|
public int ObjectId { get; }
|
||||||
}
|
}
|
||||||
|
@ -29,4 +29,4 @@ public sealed class TeleportedEventArgs : EventArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The target location of the teleport.</value>
|
/// <value>The target location of the teleport.</value>
|
||||||
public Location Location { get; }
|
public Location Location { get; }
|
||||||
}
|
}
|
||||||
|
@ -37,4 +37,4 @@ public sealed class UriReceivedEventArgs : EventArgs
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The received URI.</value>
|
/// <value>The received URI.</value>
|
||||||
public Uri Uri { get; }
|
public Uri Uri { get; }
|
||||||
}
|
}
|
||||||
|
@ -22,4 +22,4 @@ public sealed class VersionMismatchException : Exception
|
|||||||
: base(message, innerException)
|
: base(message, innerException)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -31,4 +31,4 @@ internal static class ColorExtensions
|
|||||||
(r, g, b) = color;
|
(r, g, b) = color;
|
||||||
a = color.A;
|
a = color.A;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using Cysharp.Text;
|
using Cysharp.Text;
|
||||||
|
|
||||||
@ -246,4 +246,4 @@ internal static class SpanExtensions
|
|||||||
|
|
||||||
return new Vector4(x, y, z, w);
|
return new Vector4(x, y, z, w);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,4 +33,4 @@ public static class VectorExtensions
|
|||||||
z = vector.Z;
|
z = vector.Z;
|
||||||
w = vector.W;
|
w = vector.W;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,4 +11,4 @@ public enum FogMode
|
|||||||
Exponential = Exp,
|
Exponential = Exp,
|
||||||
Exp2,
|
Exp2,
|
||||||
Exponential2 = Exp2
|
Exponential2 = Exp2
|
||||||
}
|
}
|
||||||
|
@ -240,4 +240,4 @@ internal static class Native
|
|||||||
|
|
||||||
[DllImport(VpSdkLibrary, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(VpSdkLibrary, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern int vp_net_notify(nint vpConnection, int type, int status);
|
public static extern int vp_net_notify(nint vpConnection, int type, int status);
|
||||||
}
|
}
|
||||||
|
@ -40,4 +40,4 @@ internal enum FloatAttribute
|
|||||||
InviteZ,
|
InviteZ,
|
||||||
InviteYaw,
|
InviteYaw,
|
||||||
InvitePitch
|
InvitePitch
|
||||||
}
|
}
|
||||||
|
@ -46,4 +46,4 @@ internal enum IntegerAttribute
|
|||||||
InviteId,
|
InviteId,
|
||||||
InviteUserId,
|
InviteUserId,
|
||||||
WorldSize
|
WorldSize
|
||||||
}
|
}
|
||||||
|
@ -25,4 +25,4 @@ internal enum StringAttribute
|
|||||||
ApplicationVersion,
|
ApplicationVersion,
|
||||||
AvatarApplicationName,
|
AvatarApplicationName,
|
||||||
AvatarApplicationVersion
|
AvatarApplicationVersion
|
||||||
}
|
}
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
namespace VpSharp.Internal;
|
namespace VpSharp.Internal;
|
||||||
|
|
||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
internal delegate void NativeCallbackHandler(nint sender, [MarshalAs(UnmanagedType.I4)] ReasonCode reason, int reference);
|
internal delegate void NativeCallbackHandler(nint sender, [MarshalAs(UnmanagedType.I4)] ReasonCode reason, int reference);
|
||||||
|
@ -27,4 +27,4 @@ internal enum NativeEvent
|
|||||||
TerrainNodeChanged,
|
TerrainNodeChanged,
|
||||||
Join,
|
Join,
|
||||||
Invite
|
Invite
|
||||||
}
|
}
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
namespace VpSharp.Internal;
|
namespace VpSharp.Internal;
|
||||||
|
|
||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
internal delegate void NativeEventHandler(nint sender);
|
internal delegate void NativeEventHandler(nint sender);
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
namespace VpSharp.Internal;
|
namespace VpSharp.Internal;
|
||||||
|
|
||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
internal delegate nint SocketCreateFunction(nint connection, nint context);
|
internal delegate nint SocketCreateFunction(nint connection, nint context);
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
namespace VpSharp.Internal;
|
namespace VpSharp.Internal;
|
||||||
|
|
||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
internal delegate void SocketDestroyFunction(nint socket);
|
internal delegate void SocketDestroyFunction(nint socket);
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
namespace VpSharp.Internal;
|
namespace VpSharp.Internal;
|
||||||
|
|
||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
internal delegate int SocketReceiveFunction(nint socket, nint data, uint length);
|
internal delegate int SocketReceiveFunction(nint socket, nint data, uint length);
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
namespace VpSharp.Internal;
|
namespace VpSharp.Internal;
|
||||||
|
|
||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
internal delegate int SocketSendFunction(nint socket, nint data, uint length);
|
internal delegate int SocketSendFunction(nint socket, nint data, uint length);
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
namespace VpSharp.Internal;
|
namespace VpSharp.Internal;
|
||||||
|
|
||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
internal delegate int SocketTimeoutFunction(nint socket, int seconds);
|
internal delegate int SocketTimeoutFunction(nint socket, int seconds);
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
namespace VpSharp.Internal;
|
namespace VpSharp.Internal;
|
||||||
|
|
||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
internal delegate int SocketWaitFunction(nint context, int duration);
|
internal delegate int SocketWaitFunction(nint context, int duration);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace VpSharp.Internal;
|
namespace VpSharp.Internal;
|
||||||
@ -39,4 +39,4 @@ internal sealed class Utf8StringToNative : ICustomMarshaler
|
|||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,4 +27,4 @@ internal sealed class HexToColorConverter : ValueConverter<Color>
|
|||||||
{
|
{
|
||||||
writer.Write($"{value.R:X2}{value.G:X2}{value.B:X2}");
|
writer.Write($"{value.R:X2}{value.G:X2}{value.B:X2}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,4 +24,4 @@ internal sealed class IntToBoolConverter : ValueConverter<bool>
|
|||||||
{
|
{
|
||||||
writer.Write(value ? 1 : 0);
|
writer.Write(value ? 1 : 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,4 +15,4 @@ internal sealed class IntToEnumConverter<T> : ValueConverter<T>
|
|||||||
{
|
{
|
||||||
writer.Write(Convert.ToInt32(value));
|
writer.Write(Convert.ToInt32(value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,4 +24,4 @@ internal sealed class MillisecondToTimeSpanConverter : ValueConverter<TimeSpan>
|
|||||||
{
|
{
|
||||||
writer.Write(value.TotalMilliseconds);
|
writer.Write(value.TotalMilliseconds);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using VpSharp.Internal.Attributes;
|
using VpSharp.Internal.Attributes;
|
||||||
|
|
||||||
namespace VpSharp.Internal.ValueConverters;
|
namespace VpSharp.Internal.ValueConverters;
|
||||||
@ -27,4 +27,4 @@ internal sealed class StringToEnumConverter<T> : ValueConverter<T>
|
|||||||
{
|
{
|
||||||
writer.Write(value.ToString().ToLowerInvariant());
|
writer.Write(value.ToString().ToLowerInvariant());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,4 +17,4 @@ internal sealed class UriConverter : ValueConverter<Uri>
|
|||||||
writer.Write(value.ToString());
|
writer.Write(value.ToString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace VpSharp.Internal.ValueConverters;
|
namespace VpSharp.Internal.ValueConverters;
|
||||||
|
|
||||||
[Obsolete]
|
[Obsolete]
|
||||||
internal abstract class ValueConverter
|
internal abstract class ValueConverter
|
||||||
@ -28,4 +28,4 @@ internal abstract class ValueConverter<T> : ValueConverter
|
|||||||
public abstract void Deserialize(TextReader reader, out T result);
|
public abstract void Deserialize(TextReader reader, out T result);
|
||||||
|
|
||||||
public abstract void Serialize(TextWriter writer, T value);
|
public abstract void Serialize(TextWriter writer, T value);
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using Cysharp.Text;
|
using Cysharp.Text;
|
||||||
using VpSharp.Extensions;
|
using VpSharp.Extensions;
|
||||||
|
|
||||||
@ -37,4 +37,4 @@ internal sealed class Vector2Converter : ValueConverter<Vector2>
|
|||||||
{
|
{
|
||||||
writer.Write($"{value.X} {value.Y}");
|
writer.Write($"{value.X} {value.Y}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using Cysharp.Text;
|
using Cysharp.Text;
|
||||||
using VpSharp.Extensions;
|
using VpSharp.Extensions;
|
||||||
|
|
||||||
@ -37,4 +37,4 @@ internal sealed class Vector3Converter : ValueConverter<Vector3>
|
|||||||
{
|
{
|
||||||
writer.Write($"{value.X} {value.Y} {value.Z}");
|
writer.Write($"{value.X} {value.Y} {value.Z}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Cysharp.Text;
|
using Cysharp.Text;
|
||||||
using VpSharp.Extensions;
|
using VpSharp.Extensions;
|
||||||
|
|
||||||
namespace VpSharp.Internal.ValueConverters;
|
namespace VpSharp.Internal.ValueConverters;
|
||||||
@ -37,4 +37,4 @@ internal sealed class Vector3ToColorConverter : ValueConverter<ColorF>
|
|||||||
{
|
{
|
||||||
writer.Write($"{value.R} {value.G} {value.B} {value.A}");
|
writer.Write($"{value.R} {value.G} {value.B} {value.A}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Cysharp.Text;
|
using Cysharp.Text;
|
||||||
using VpSharp.Extensions;
|
using VpSharp.Extensions;
|
||||||
|
|
||||||
namespace VpSharp.Internal.ValueConverters;
|
namespace VpSharp.Internal.ValueConverters;
|
||||||
@ -36,4 +36,4 @@ internal sealed class Vector3dConverter : ValueConverter<Vector3d>
|
|||||||
{
|
{
|
||||||
writer.Write($"{value.X} {value.Y} {value.Z}");
|
writer.Write($"{value.X} {value.Y} {value.Z}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Cysharp.Text;
|
using Cysharp.Text;
|
||||||
using VpSharp.Extensions;
|
using VpSharp.Extensions;
|
||||||
|
|
||||||
namespace VpSharp.Internal.ValueConverters;
|
namespace VpSharp.Internal.ValueConverters;
|
||||||
@ -37,4 +37,4 @@ internal sealed class Vector4ToColorConverter : ValueConverter<ColorF>
|
|||||||
{
|
{
|
||||||
writer.Write($"{value.R} {value.G} {value.B} {value.A}");
|
writer.Write($"{value.R} {value.G} {value.B} {value.A}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using Cysharp.Text;
|
using Cysharp.Text;
|
||||||
using VpSharp.Extensions;
|
using VpSharp.Extensions;
|
||||||
|
|
||||||
@ -42,4 +42,4 @@ internal sealed class Vector4ToVector3Converter : ValueConverter<Vector3>
|
|||||||
writer.Write(value.Z);
|
writer.Write(value.Z);
|
||||||
writer.Flush();
|
writer.Flush();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Cysharp.Text;
|
using Cysharp.Text;
|
||||||
using VpSharp.Extensions;
|
using VpSharp.Extensions;
|
||||||
|
|
||||||
namespace VpSharp.Internal.ValueConverters;
|
namespace VpSharp.Internal.ValueConverters;
|
||||||
@ -47,4 +47,4 @@ internal sealed class VectorToNthComponentConverter : ValueConverter<float>
|
|||||||
{
|
{
|
||||||
writer.Write(value);
|
writer.Write(value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using VpSharp.Internal.Attributes;
|
using VpSharp.Internal.Attributes;
|
||||||
|
|
||||||
@ -156,4 +156,4 @@ internal static class WorldSettingsConverter
|
|||||||
|
|
||||||
return settings;
|
return settings;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using VpSharp.Entities;
|
using VpSharp.Entities;
|
||||||
using VpSharp.Internal;
|
using VpSharp.Internal;
|
||||||
|
|
||||||
namespace VpSharp;
|
namespace VpSharp;
|
||||||
@ -110,4 +110,4 @@ public sealed class InviteRequest : IEquatable<InviteRequest>
|
|||||||
public static bool operator ==(InviteRequest left, InviteRequest right) => Equals(left, right);
|
public static bool operator ==(InviteRequest left, InviteRequest right) => Equals(left, right);
|
||||||
|
|
||||||
public static bool operator !=(InviteRequest left, InviteRequest right) => !Equals(left, right);
|
public static bool operator !=(InviteRequest left, InviteRequest right) => !Equals(left, right);
|
||||||
}
|
}
|
||||||
|
@ -19,4 +19,4 @@ public enum InviteResponse
|
|||||||
/// The invite request timed out.
|
/// The invite request timed out.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
TimeOut
|
TimeOut
|
||||||
}
|
}
|
||||||
|
@ -19,4 +19,4 @@ public enum JoinResponse
|
|||||||
/// The join request timed out.
|
/// The join request timed out.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
TimeOut
|
TimeOut
|
||||||
}
|
}
|
||||||
|
@ -27,4 +27,4 @@ public readonly struct JoinResult
|
|||||||
{
|
{
|
||||||
return result.Response == JoinResponse.Accepted;
|
return result.Response == JoinResponse.Accepted;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,4 +5,4 @@ internal enum NetworkReturnCode
|
|||||||
Success = 0,
|
Success = 0,
|
||||||
ConnectionError = -1,
|
ConnectionError = -1,
|
||||||
WouldBlock = -2
|
WouldBlock = -2
|
||||||
}
|
}
|
||||||
|
@ -11,4 +11,4 @@ internal enum ProxyType
|
|||||||
/// Connection uses socks 4A.
|
/// Connection uses socks 4A.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
ProxySocks4A
|
ProxySocks4A
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using VpSharp.Internal;
|
using VpSharp.Internal;
|
||||||
using VpSharp.Internal.Attributes;
|
using VpSharp.Internal.Attributes;
|
||||||
@ -401,4 +401,4 @@ public sealed class WorldSettingsBuilder
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user