初始化 monorepo: Go后端(7微服务) + Unity客户端(9模块) + 启动器 HTML5原型: Three.js 3D体素世界, Perlin噪声地形, 原版材质, 22种方块 Minecraft创造模式背包: 双栏布局, 拖拽移动物品, 方向性元件引脚 AI助搭策划文档 + 客户端/服务端骨架 + Docker Compose + CI
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
|
||||
namespace PCL.Core.Utils.WinRT.Interface;
|
||||
|
||||
public unsafe struct IInspectable
|
||||
{
|
||||
public IInspectableVtbl* lpVtbl;
|
||||
}
|
||||
|
||||
public unsafe struct IInspectableVtbl
|
||||
{
|
||||
// IUnknown
|
||||
public delegate* unmanaged<void*, Guid*, void**, int> QueryInterface;
|
||||
public delegate* unmanaged<void*, uint> AddRef;
|
||||
public delegate* unmanaged<void*, uint> Release;
|
||||
|
||||
// IInspectable
|
||||
public delegate* unmanaged<void*, uint*, Guid**, int> GetIids;
|
||||
public delegate* unmanaged<void*, IntPtr*, int> GetRuntimeClassName;
|
||||
public delegate* unmanaged<void*, int*, int> GetTrustLevel;
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
|
||||
namespace PCL.Core.Utils.WinRT.Interface.Windows.Data.Xml.Dom;
|
||||
|
||||
public static class IXmlDocumentIOInfo
|
||||
{
|
||||
public static readonly string ActivatableClassId = "Windows.Data.Xml.Dom.XmlDocument";
|
||||
public static readonly Guid Iid = new("6cd0e74e-ee65-4489-9ebf-ca43e87ba637");
|
||||
}
|
||||
|
||||
public unsafe struct IXmlDocumentIO
|
||||
{
|
||||
public IXmlDocumentIOVtbl* lpVtbl;
|
||||
}
|
||||
|
||||
public unsafe struct IXmlDocumentIOVtbl
|
||||
{
|
||||
// IUnknown
|
||||
public delegate* unmanaged<void*, Guid*, void**, int> QueryInterface;
|
||||
public delegate* unmanaged<void*, uint> AddRef;
|
||||
public delegate* unmanaged<void*, uint> Release;
|
||||
|
||||
// IInspectable
|
||||
public delegate* unmanaged<void*, uint*, Guid**, int> GetIids;
|
||||
public delegate* unmanaged<void*, IntPtr*, int> GetRuntimeClassName;
|
||||
public delegate* unmanaged<void*, int*, int> GetTrustLevel;
|
||||
|
||||
// IXmlDocumentIO
|
||||
|
||||
/// <summary>
|
||||
/// void LoadXml(string xml)
|
||||
/// </summary>
|
||||
public delegate* unmanaged<void*, IntPtr, int> LoadXml;
|
||||
|
||||
/// <summary>
|
||||
/// void LoadXml(string xml, XmlLoadSettings settings)
|
||||
/// </summary>
|
||||
public delegate* unmanaged<void*, IntPtr, void*, int> LoadXmlWithSettings;
|
||||
|
||||
/// <summary>
|
||||
/// IAsyncAction SaveToFileAsync(IStorageFile file)
|
||||
/// </summary>
|
||||
public delegate* unmanaged<void*, void*, void**, int> SaveToFileAsync;
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
|
||||
namespace PCL.Core.Utils.WinRT.Interface.Windows.UI.Notifications;
|
||||
|
||||
public static class IToastNotificationFactoryInfo
|
||||
{
|
||||
public static readonly string ActivatableClassId = "Windows.UI.Notifications.ToastNotification";
|
||||
public static readonly Guid Iid = new("04124b20-82c6-4229-b109-fd9ed4662b53");
|
||||
}
|
||||
|
||||
public unsafe struct IToastNotificationFactory
|
||||
{
|
||||
public IToastNotificationFactoryVtbl* lpVtbl;
|
||||
}
|
||||
|
||||
public unsafe struct IToastNotificationFactoryVtbl
|
||||
{
|
||||
// IUnknown
|
||||
public delegate* unmanaged<void*, Guid*, void**, int> QueryInterface;
|
||||
public delegate* unmanaged<void*, uint> AddRef;
|
||||
public delegate* unmanaged<void*, uint> Release;
|
||||
|
||||
// IInspectable
|
||||
public delegate* unmanaged<void*, uint*, Guid**, int> GetIids;
|
||||
public delegate* unmanaged<void*, IntPtr*, int> GetRuntimeClassName;
|
||||
public delegate* unmanaged<void*, int*, int> GetTrustLevel;
|
||||
|
||||
// IToastNotificationFactory
|
||||
|
||||
/// <summary>
|
||||
/// ToastNotification CreateToastNotification(XmlDocument content)
|
||||
/// </summary>
|
||||
public delegate* unmanaged<void*, void*, void**, int> CreateToastNotification;
|
||||
}
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
|
||||
namespace PCL.Core.Utils.WinRT.Interface.Windows.UI.Notifications;
|
||||
|
||||
public static class IToastNotificationManagerStaticsInfo
|
||||
{
|
||||
public static readonly string ActivatableClassId = "Windows.UI.Notifications.ToastNotificationManager";
|
||||
public static readonly Guid Iid = new("50ac103f-d235-4598-bbef-98fe4d1a3ad4");
|
||||
}
|
||||
|
||||
public unsafe struct IToastNotificationManagerStatics
|
||||
{
|
||||
public IToastNotificationManagerStaticsVtbl* lpVtbl;
|
||||
}
|
||||
|
||||
public unsafe struct IToastNotificationManagerStaticsVtbl
|
||||
{
|
||||
// IUnknown
|
||||
public delegate* unmanaged<void*, Guid*, void**, int> QueryInterface;
|
||||
public delegate* unmanaged<void*, uint> AddRef;
|
||||
public delegate* unmanaged<void*, uint> Release;
|
||||
|
||||
// IInspectable
|
||||
public delegate* unmanaged<void*, uint*, Guid**, int> GetIids;
|
||||
public delegate* unmanaged<void*, IntPtr*, int> GetRuntimeClassName;
|
||||
public delegate* unmanaged<void*, int*, int> GetTrustLevel;
|
||||
|
||||
// IToastNotificationManagerStatics
|
||||
|
||||
/// <summary>
|
||||
/// ToastNotifier CreateToastNotifier()
|
||||
/// </summary>
|
||||
public delegate* unmanaged<void*, void**, int> CreateToastNotifier;
|
||||
|
||||
/// <summary>
|
||||
/// ToastNotifier CreateToastNotifier(string applicationId)
|
||||
/// </summary>
|
||||
public delegate* unmanaged<void*, IntPtr, void**, int> CreateToastNotifierWithId;
|
||||
|
||||
/// <summary>
|
||||
/// XmlDocument GetTemplateContent(ToastTemplateType type)
|
||||
/// </summary>
|
||||
public delegate* unmanaged<void*, int, void**, int> GetTemplateContent;
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
|
||||
namespace PCL.Core.Utils.WinRT.Interface.Windows.UI.Notifications;
|
||||
|
||||
public static class IToastNotifierInfo
|
||||
{
|
||||
public static readonly string ActivatableClassId = "Windows.UI.Notifications.ToastNotifier";
|
||||
public static readonly Guid Iid = new("75927b93-03f3-41ec-91d3-6e5bac1b38e7");
|
||||
}
|
||||
|
||||
public unsafe struct IToastNotifier
|
||||
{
|
||||
public IToastNotifierVtbl* lpVtbl;
|
||||
}
|
||||
|
||||
public unsafe struct IToastNotifierVtbl
|
||||
{
|
||||
// IUnknown
|
||||
public delegate* unmanaged<void*, Guid*, void**, int> QueryInterface;
|
||||
public delegate* unmanaged<void*, uint> AddRef;
|
||||
public delegate* unmanaged<void*, uint> Release;
|
||||
|
||||
// IInspectable
|
||||
public delegate* unmanaged<void*, uint*, Guid**, int> GetIids;
|
||||
public delegate* unmanaged<void*, IntPtr*, int> GetRuntimeClassName;
|
||||
public delegate* unmanaged<void*, int*, int> GetTrustLevel;
|
||||
|
||||
// IToastNotifier
|
||||
|
||||
/// <summary>
|
||||
/// void Show(ToastNotification notification)
|
||||
/// </summary>
|
||||
public delegate* unmanaged<void*, void*, int> Show;
|
||||
|
||||
/// <summary>
|
||||
/// void Hide(ToastNotification notification)
|
||||
/// </summary>
|
||||
public delegate* unmanaged<void*, void*, int> Hide;
|
||||
|
||||
/// <summary>
|
||||
/// NotificationSetting Setting { get; }
|
||||
/// </summary>
|
||||
public delegate* unmanaged<void*, int, int> get_Setting;
|
||||
|
||||
/// <summary>
|
||||
/// void AddToSchedule(ScheduledToastNotification scheduledToast)
|
||||
/// </summary>
|
||||
public delegate* unmanaged<void*, void*, int> AddToSchedule;
|
||||
|
||||
/// <summary>
|
||||
/// void RemoveFromSchedule(ScheduledToastNotification scheduledToast)
|
||||
/// </summary>
|
||||
public delegate* unmanaged<void*, void*, int> RemoveFromSchedule;
|
||||
|
||||
/// <summary>
|
||||
/// IVectorView<ScheduledToastNotification> GetScheduledToastNotifications()
|
||||
/// </summary>
|
||||
public delegate* unmanaged<void*, void**, int> GetScheduledToastNotifications;
|
||||
}
|
||||
Reference in New Issue
Block a user