小编Kyo*_*ore的帖子

使用“随机”键反序列化 JSON

我正在尝试反序列化此 Json 代码:

"hotkeyOptions": {
        "autoSwitchHotkeyPreset": true,
        "currentHotkeySetName": "Paladin",
        "hotkeySets": {
            "Newbie": {
                "F10": {
                    "useObject": 5645,
                    "useType": "SelectUseTarget"
                },
                "F11": {
                    "useObject": 5456,
                    "useType": "SelectUseTarget"
                },
                "F12": {
                    "useObject": 7565,
                    "useType": "Use"
                },
                "F8": {
                    "useObject": 7547,
                    "useType": "UseOnYourself"
                },
                "F9": {
                    "useObject": 4214,
                    "useType": "SelectUseTarget"
                }
            },
            "Mega Mage": {
                "Ctrl+F1": {
                    "chatText": "heal friend",
                    "sendAutomatically": true
                },
                "Ctrl+F4": {
                    "chatText": "mega haste",
                    "sendAutomatically": true
                },
                "F1": {
                    "chatText": "haste",
                    "sendAutomatically": true
                },
                "F10": {
                    "useObject": 3412,
                    "useType": …
Run Code Online (Sandbox Code Playgroud)

c# json json.net

3
推荐指数
1
解决办法
2101
查看次数

获取没有边框的进程窗口大小

使用WinApi GetWindowRect()它返回完整的窗口大小,但我想获得没有边框和标题栏的大小,类似于红色方块:

在此输入图像描述

有什么功能吗?

谢谢

c# winapi

1
推荐指数
1
解决办法
2626
查看次数

标签 统计

c# ×2

json ×1

json.net ×1

winapi ×1