daily update on 20240403 by nitload youmu

This commit is contained in:
YoumuLiu
2024-04-03 08:56:33 +08:00
parent b207f16616
commit 127fcdbfd3
631 changed files with 23499 additions and 2664 deletions
+2 -2
View File
@@ -47,12 +47,12 @@ namespace StgSharp.Logic
[FieldOffset(0)] public ulong all;
[FieldOffset(0)] public long all_s;
[FieldOffset(4)] public uint high;
[FieldOffset(4)] public int high_s;
[FieldOffset(0)] public uint low;
[FieldOffset(4)] public uint high;
[FieldOffset(0)] public int low_s;
[FieldOffset(4)] public int high_s;
public LogSeperator(uint high, uint low)
{
-21
View File
@@ -38,25 +38,4 @@ using System.Threading.Tasks;
namespace StgSharp.Logic
{
[System.Serializable]
internal class FrameTimeoutException : Exception
{
protected FrameTimeoutException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context) : base(info, context)
{
}
internal FrameTimeoutException()
{ }
internal FrameTimeoutException(string message) : base(message)
{
}
internal FrameTimeoutException(string message, Exception inner) : base(message, inner)
{
}
}
}
+9 -9
View File
@@ -44,26 +44,26 @@ namespace StgSharp.Logic
public struct Bool2
{
/// <summary>
/// A <see cref="ushort"/> value.
/// The lower byte is <see cref="bool0"/>,
/// and higher byte is <see cref="bool1"/>.
/// </summary>
[FieldOffset(0)] public ushort Value;
/// <summary>
/// The first <see cref="bool"/> value.
/// </summary>
[FieldOffset(0)] public bool bool0;
[FieldOffset(0)] public byte byte0;
/// <summary>
/// The second <see cref="bool"/> value.
/// </summary>
[FieldOffset(1)] public bool bool1;
[FieldOffset(0)] public byte byte0;
[FieldOffset(1)] public bool byte1;
/// <summary>
/// A <see cref="ushort"/> value.
/// The lower byte is <see cref="bool0"/>,
/// and higher byte is <see cref="bool1"/>.
/// </summary>
[FieldOffset(0)] public ushort Value;
}
}