Commit Graph

186 Commits

Author SHA1 Message Date
Oliver Booth a06bb4be54
docs: use flat-square style. fix build status badge 2023-05-25 19:17:46 +01:00
Oliver Booth f078a5e053
docs: bump license year to 2023 2023-05-25 19:17:24 +01:00
Oliver Booth 4a3e790767
feat(commands): add RequireBotOwnerAttribute 2023-05-08 17:29:39 +01:00
Oliver Booth 9171872ec4
refactor: offer cls-compliant attribute ctors 2023-05-08 16:02:30 +01:00
Oliver Booth 7084fc3f4a
style: reduce complexity of command arg parsing 2023-05-08 15:59:39 +01:00
Oliver Booth 268c359f3a
fix: dispose ObjectChanged observable 2023-05-08 15:54:29 +01:00
Oliver Booth 01c3b53612
fix: dispose MessageReceived observable 2023-05-08 15:54:00 +01:00
Oliver Booth 32056224d8
fix: dispose observables and completion sources from Dispose method 2023-05-08 15:53:09 +01:00
Oliver Booth 1f761668f7
fix(commands): swap out unreferenced MessageReceivedEventArgs 2023-05-08 15:44:06 +01:00
Oliver Booth ee005f30a8
refactor: replace events with observables 2023-05-08 15:40:18 +01:00
Oliver Booth 65a9a0e1e3
feat(commands): add support for optional args 2023-05-06 16:00:41 +01:00
Oliver Booth 487bb8ca88
feat(commands): add support for enums and other arg types 2023-05-06 15:56:16 +01:00
Oliver Booth 2f7bc2a547
chore: update dependencies
* Microsoft.Extensions.Hosting 7.0.1
* X10D 3.2.0
2023-05-06 15:45:16 +01:00
Oliver Booth 2fc22fa8a6
Move instance creation to VpSharp base
Introduces internal DepdencyInjectionUtility class
2022-12-10 13:40:47 +00:00
Oliver Booth 18f26925da
Expose Client from CommandContext 2022-12-08 20:26:10 +00:00
Oliver Booth a1e018b32e
Bind vp_console_message 2022-12-08 20:25:44 +00:00
Oliver Booth 29ed6155a5
Validate parameter length before invoking 2022-12-08 18:31:06 +00:00
Oliver Booth 2f3069d1bf
Add ToQuaternion to Rotation struct 2022-12-08 17:55:36 +00:00
Oliver Booth 703f099187
Offer Position in Coordinates struct 2022-12-08 17:55:17 +00:00
Oliver Booth b1b9d59cfd
%360 for Coordinates.Yaw 2022-12-08 16:35:50 +00:00
Oliver Booth 90211f1647
Fix formatting of Coordinates and Rotation 2022-12-08 16:28:42 +00:00
Oliver Booth 2b80c4c8c5
Specify culture when formatting 2022-12-08 16:03:03 +00:00
Oliver Booth ca0769faeb
Implement ToString for Rotation 2022-12-08 15:55:04 +00:00
Oliver Booth 6804959f93
Accept IFormatProvider in Coordinates.ToString 2022-12-08 15:52:22 +00:00
Oliver Booth 342820b444
Replace usages of Quaternion with custom Rotation struct 2022-12-08 15:22:47 +00:00
Oliver Booth b7e43666b5
Query by order of closest to center outward 2022-12-07 22:59:37 +00:00
Oliver Booth 11d8d23339
Specify default, not null, in Optional xmldoc 2022-12-07 22:59:05 +00:00
Oliver Booth 0563e45511
Fix object query
VP's calculation for coordinate -> cell was not quite floor(n)
2022-12-07 22:58:40 +00:00
Oliver Booth 26766389ad
[ci skip] Remove redundant event from VB sample 2022-12-06 20:03:39 +00:00
Oliver Booth 0abffb669a
[ci skip] Add samples to solution 2022-12-06 19:58:28 +00:00
Oliver Booth 1085e0d21e
[ci skip] Fix syntax in C# sample 2022-12-06 19:52:31 +00:00
Oliver Booth 434dc204d9
[ci skip] Add VpSharp.Commands example to samples 2022-12-06 19:50:08 +00:00
Oliver Booth 4c31eb58a9
Add samples 2022-12-06 19:28:14 +00:00
Oliver Booth 76dc485ad7
Allow set of Application property 2022-12-06 19:27:55 +00:00
Oliver Booth c53ef04da8
0 axis and +inf angle if resulting axis is NaN 2022-12-06 13:28:49 +00:00
Oliver Booth c58fe6a2a3
Extract updated properties after modifying object 2022-12-06 13:28:16 +00:00
Oliver Booth 7422a663af
Remove With_ methods 2022-12-06 13:27:56 +00:00
Oliver Booth 35684cccca
Move exception messages to resource file 2022-12-06 02:35:37 +00:00
Oliver Booth 148fd22c7d
Remove VectorExtensions and some QuaternionExtensions
These are now provided by X10D 3.2.0-nightly.145
2022-12-06 02:20:16 +00:00
Oliver Booth 68fa2203d6
Add Heading enum 2022-12-05 19:53:19 +00:00
Oliver Booth 5e30ef3877
Add xmldoc to ColorSpace 2022-12-05 19:52:55 +00:00
Oliver Booth 02f1d1394c
Convert Quaternion extensions to AI-generated implementations
Yes, seriously. ChatGPT sure is nice.
2022-12-05 19:37:36 +00:00
Oliver Booth d40129856a
Convert rad<->deg where appropriate 2022-12-05 15:21:04 +00:00
Oliver Booth 8c4ed9d955
Use double-precision overload of ToAxisAngle 2022-12-05 15:20:26 +00:00
Oliver Booth bac905e742
Cleanup 2022-12-05 15:19:04 +00:00
Oliver Booth 80f30b36bb
Track VP_OBJECT_DATA 2022-12-05 15:18:36 +00:00
Oliver Booth ec35a7a13d
Remove inherited Position/Rotation properties 2022-12-05 15:15:52 +00:00
Oliver Booth 33d2ffa306
Map VP_CALLBACK_OBJECT_CHANGE 2022-12-05 15:15:32 +00:00
Oliver Booth d82a4d2e5e
Add pre-execution checks 2022-12-05 01:43:40 +00:00
Oliver Booth a30f15b452
Cleanup unused import 2022-12-05 01:02:05 +00:00