DismissedLight

Results 97 comments of DismissedLight

> They have existed since v1.7-exp and only work in that version. They actually works in all version after that exp (including formal release) As long as you cast the...

If you are using C# 14, you can even write a extension(AppWindow) to make PlacementRestorationBehavior/PersistedStateId be extension properties instead of odd extension method. Something like: ``` c# public static class...

> @Lightczx > That was a very clever workaround, > but I’d rather not use an approach that relies on unsafe casts and manual interface access. > It’s a lot...

Try `OverlappedPresenter.CreateForContextMenu()`

Just did some reverse work: CreateForContextMenu = WS_BORDER CreateForDialog = WS_SYSMENU | WS_CAPTION CreateForToolWindow = WS_OVERLAPPEDWINDOW IsAlwaysOnTop = WS_EX_TOPMOST IsMaximizable = WS_MAXIMIZEBOX IsMinimizable = WS_MINIMIZEBOX IsModal = Enable/Disable parent Window...

You can cast it to `Windows.ApplicationModel.Activation.ILaunchActivatedEventArgs`.

place this line of code inside your App's OnLaunched method to set `m_isRequestedThemeSettable` to true ``` c# *(bool*)(((IWinRTObject)this).NativeObject.As(IApplicationIID).ThisPtr + 0x118U) = true; ``` IApplicationIID is defined like below. ``` c#...

> what is IApplicationIID ? @ghost1372 My bad, you can find through looking the code decompiled by VS. There is a `Make___objRef_global__Microsoft_UI_Xaml_IApplication` method in `Application` ![Image](https://github.com/user-attachments/assets/065821d5-5bb7-4abb-9ef0-ce52f60d7032) And finally get this...

> 1. 新字段**建议**命名 _hk4eb/hk4ebyd/hk4eugc_ `hk4e_beyond` or `hk4e_ugc` > 3\. 由于`timezone`既可以由`region`推导又可以由`uid`推导,故`region`字段进行了剔除 Optional? item.region > parent.region > infer timezone也和其他游戏一样允许任意时区吧 > item_type: string; > item_id: string; > item_name: string; > rank_type: string; item_type,...