Skip to content

Commit

Permalink
readme updated and VS tasks added (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdahlblom authored Nov 26, 2023
1 parent f957ae6 commit d577ddf
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/src/client/DCSInsight/bin/Debug/net6.0-windows/dcs-insight.dll",
"args": [],
"cwd": "${workspaceFolder}/src/client/DCSInsight",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
41 changes: 41 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/src/client/DCSInsight/DCSInsight.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary;ForceNoAlign"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/src/client/DCSInsight/DCSInsight.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary;ForceNoAlign"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/src/client/DCSInsight/DCSInsight.sln"
],
"problemMatcher": "$msCompile"
}
]
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Install server in ```Scripts``` folder and add entry to Export.lua.
* You can poll an API for changes
* You can search for API

```
* 1 : GetDevice(device_id):get_argument_value(argument_id)
* 2 : GetDevice(device_id):set_argument_value(argument_id, new_value)
* 3 : GetDevice(device_id):performClickableAction(command_id, argument_id)
Expand Down Expand Up @@ -80,6 +81,7 @@ Install server in ```Scripts``` folder and add entry to Export.lua.
* 58 : LoIsOwnshipExportAllowed()
* 59 : LoIsObjectExportAllowed()
* 60 : LoIsSensorExportAllowed()
```

![insight1](https://github.com/DCS-Skunkworks/dcs-insight/assets/10453261/a99b72b9-b13b-4b3e-b35b-35188b907bd5)

Expand Down

0 comments on commit d577ddf

Please sign in to comment.