PJB3005
9a00570933
Previous commit except I don't check out the wrong commit this time.
2026-05-05 22:05:12 +02:00
PJB3005
4d9bfb146e
Make ComponentNetworkGenerator use IPartialTypeInfo
...
Allows it to support internal types and probably more stuff.
2026-05-05 22:02:59 +02:00
pathetic meowmeow and GitHub
1046bc9a73
More comprehensively tag auto-generated code ( #6541 )
2026-04-27 08:43:18 -04:00
Tayrtahn and GitHub
38f345f6fd
Fix bad cast syntax with IRobustCloneable field deltas ( #6536 )
...
Fix bad cast syntax with IRobustCloneable field deltas
2026-04-25 01:00:49 -04:00
PJB3005
8580ab93a6
Dependency update
2025-12-08 00:49:37 +01:00
fee67b648c
Allow AutoNetworkedField to work with inherited datafields ( #6090 )
...
* allow AutoNetworkedField to work for inherited datafields
* fix
* test fix
* typo
* Update Robust.UnitTesting/Shared/GameState/AutoNetworkingTest.cs
---------
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com >
2025-07-23 01:15:12 +02:00
Tayrtahn and GitHub
a45b72a1c5
IRobustCloneable and generator support ( #5692 )
...
* Add IRobustCloneable and check for it in compnet generator.
* Redo compnetgenerator support; add test
* Disconnect client at end of test
* Actually test for client entities
* Cleanup
* Cleanup 2
2025-06-27 20:37:43 +02:00
Leon Friedrich and GitHub
f29949a32c
Revert "Add ICloneable support to ComponentNetworkGenerator ( #5656 )" ( #5687 )
...
This reverts commit e14537074e .
2025-02-20 14:22:36 +11:00
Tayrtahn and GitHub
e14537074e
Add ICloneable support to ComponentNetworkGenerator ( #5656 )
2025-02-18 23:21:40 +11:00
DrSmugleaf
e03aec47ef
Fix component network generator not working for dicts with entityuid values but not keys
2025-01-21 19:09:22 -08:00
PJB3005
c463fc5e78
Make source generators emit EditorBrowsable(Never)
...
This hides the generated types from intellisense if you have the relevant option in Rider enabled.
Good because honestly these just bloat IntelliSense, and if you want to show them there's an IDE setting for it.
2025-01-18 01:23:35 +01:00
Pieter-Jan Briers and GitHub
dfc4894c8b
Dependencies update & cleanup ( #5590 )
...
* Dependencies update & cleanup
Fixes security vuln warnings etc
* Remove ILReader dependency
RIP in piss FastAccessors.
2025-01-08 02:19:27 +01:00
Leon Friedrich and GitHub
d08fdd3a18
Fix component delta state auto-generation ( #5589 )
...
* Fix component delta state auto-generation
* re-use ApplyToFullState
* release notes
2025-01-07 16:54:59 +01:00
sleepyyapril and GitHub
a2aec44ebb
Fix Build Error with Auto-networked EntityUid Dictionaries ( #5569 )
2024-12-22 21:12:44 +11:00
9837c33de7
Add sourcegenned field deltas ( #5155 )
...
* Remove full "delta" states
* Update MapGridComponentState
* abstract ComponentState
* Release notes
* Fix tests
* Fix nullable errors
* A
* Sourcegen component deltas
* Audio deltas + methids
* Also eye
* Optimise out the dictionary
* Minor fixes
* Physics deltas
* Also this
* Fix field deltas
* remove old release notes
* Make IComponentDelta implement IComponent
* add sourcegen launch settings
* make silent error loud
* Review
* UI deltas
* Slimmer
* Sourcegen bandaid
---------
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com >
2024-12-21 15:48:33 +11:00
Leon Friedrich and GitHub
1de8731465
Reduce uses of IComponentFactory.GetIndex(Type) ( #5242 )
...
* Update `RaiseComponentEvent` & component lifestatge methods
* Fix ComponentNetworkGenerator
* a
* A
2024-06-17 01:46:51 +10:00
DrSmugleaf and GitHub
179c6790b6
Add support for automatically networking component dictionary fields with entity keys and values ( #4932 )
...
* Add support for automatically networking component dictionary fields with entity keys and values
* Fix using
* Fix order
* Add support for both key and value being entity uid
2024-03-03 11:51:23 +11:00
Pieter-Jan Briers and GitHub
ae6cebbfbb
Source gen reorganizations + component unpause generator. ( #4896 )
...
* Source gen reorganizations + component unpause generator.
This commit (and subsequent commits) aims to clean up our Roslyn plugin (source gens + analyzers) stack to more sanely re-use common code
I also built a new source-gen that automatically generates unpausing implementations for components, incrementing attributed TimeSpan field when unpaused.
* Fix warnings in all Roslyn projects
2024-02-20 10:15:32 +01:00
metalgearsloth and GitHub
270326e188
Add IComponentState / struct support ( #4610 )
...
Still boxes but hey at least the struct dream is real.
2024-01-04 13:42:47 +11:00
b8fbe5e465
Compiler error for AutoNetworkedField fields in a component without a AutoGenerateComponentState attribute ( #4670 )
...
* yeah
* remove autonetfield
---------
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2024-01-03 17:24:08 +11:00
Leon Friedrich and GitHub
202182e3d4
Add new EnsureEntity variants ( #4586 )
2023-11-20 17:44:36 +11:00
DrSmugleaf and GitHub
4818c3aab4
Make auto comp states infer when data should be cloned ( #4461 )
2023-09-30 15:14:10 +10:00
DrSmugleaf and GitHub
d1eb3438d5
Add support for automatically networking entity lists and sets ( #4446 )
2023-09-25 18:02:53 +10:00
metalgearsloth and GitHub
3fd731d917
Network entity ids ( #4252 )
2023-09-11 09:42:55 +10:00
Leon Friedrich and GitHub
b6c8060af1
Add new PVS test ( #4312 )
2023-08-26 22:23:32 +10:00
metalgearsloth and GitHub
d5c3d4c0c9
Add system to CompNetworkGenerator ( #4310 )
...
Robust doesn't global using this but content does so any automatic comp states on engine don't work.
2023-08-24 04:26:30 -07:00
deltanedas and GitHub
ebc12410d4
fix wrong attribute name in autogen state errors ( #4000 )
2023-05-03 17:00:05 -07:00
DrSmugleaf and GitHub
4fd5f2bb64
Make AutoGenerateComponentState partial class compilation error clickable ( #3932 )
2023-04-13 19:33:21 -07:00
Kara and GitHub
85547a9be7
Auto-componentstate source generator ( #3684 )
...
* dog what am i doing
* finish gen source part from class symbol
* we are dangerously close to things happening
* generation fixes
* oh? on god?
* stop autogenerating the attribute for no reason + diagnostics
* testing diagnostics
* proper type name handling + clonedata bool
* thank you material storage for making me realize this
* forgot to commit
* p
* fixes for afterautohandlestate
* make it work with access
2023-04-06 12:32:57 -05:00