bec88c87a7
Add NotNullWhenTrue to EntityPrototype.TryComp factory overload ( #132 )
...
Co-authored-by: deltanedas <@deltanedas:goida.zip>
2026-06-21 18:08:51 +10:00
metalgearsloth and GitHub
8f6ebad5b9
Reduce game memory usage a crumb ( #30 )
2026-06-19 21:55:44 +10:00
deltanedas
a008dda4fa
add pure
2026-06-18 15:15:42 +01:00
deltanedas and deltanedas
dc2cbd952f
CompName gaming
2026-06-17 19:54:42 +01:00
6522ff42ec
Apply suggestions from code review
...
Co-authored-by: Tayrtahn <tayrtahn@gmail.com >
2026-06-17 19:54:42 +01:00
deltanedas and deltanedas
1be04a5882
add HasComp methods to EntityPrototype
2026-06-17 19:54:42 +01:00
dd86bf980d
Add MeansDataDefinition support to DataDefinitionAnalyzer ( #5699 )
...
* Add MeansDataDefinition support to DataDefinitionAnalyzer
* Poke tests
* Fix violations in engine
* Fix more lacking partials
* Fix tests
---------
Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com >
2025-12-17 19:47:30 +01:00
121b58ee9a
feat: added generic method for getting component from ComponentRegistry ( #6082 )
...
* feat: added generic method for getting component from ComponentRegistry
* refactor: corrected xml-doc
* refactor: moved emthod to ComponentRegistry
* Fix release notes entry.
Wording + it was in the template.
* Fix doc comments
* Do not use inappropriate fallible cast.
---------
Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru >
Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com >
2025-08-02 18:55:49 +02:00
metalgearsloth and GitHub
2c5604432b
Update some GetComponentName usages ( #5942 )
...
Rider tells me to use generic and generic one seems better.
2025-06-01 17:54:43 +10:00
Tayrtahn and GitHub
ccc383b1bf
Cleanup: Remove redundant Prototype names ( #5721 )
...
* Cleanup: Remove redundant Prototype names
* Actually this one probably should stay
* Suppress warning
* Remove warning suppression on AudioMetadataPrototype
* But wait, there's more!
2025-03-26 01:39:10 +01:00
fbc706f37b
Refactor map loading & saving ( #5572 )
...
* Refactor map loading & saving
* test fixes
* ISerializationManager tweaks
* Fix component composition
* Try fix entity deserialization component composition
* comments
* CL
* error preinit
* a
* cleanup
* error if version is too new
* Add AlwaysPushSerializationTest
* Add auto-inclusion test
* Better categorization
* Combine test components
* Save -> TrySave
Also better handling for saving multiple entities individually
* Create new partial class for map loading
* Add OrphanSerializationTest
* Include MapIds in BeforeSerializationEvent
* Addd LifetimeSerializationTest
* Add TestMixedLifetimeSerialization
* Add CategorizationTest
* explicitly serialize list of nullspace entities
* Add backwards compatibility test
* Version comments
also fixes wrong v4 format
* add MapMergeTest
* Add NetEntity support
* Optimize EntityDeserializer
Avoid unnecessary component deserialization
* fix assert & other bugs
* fucking containers strike again
* Fix deletion of pre-init entities
* fix release note merge conflict
* Update Robust.Shared/Map/MapManager.GridCollection.cs
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
* VV
---------
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2025-02-16 21:25:07 +11:00
Leon Friedrich and GitHub
5d84be9c78
Make ComponentRegistry not implement ISerializationContext ( #5613 )
2025-01-17 15:01:25 +01:00
Plykiya and GitHub
0fa21ee2d2
Completely obsolete noSpawn ( #5364 )
2024-09-18 11:48:13 +10:00
Leon Friedrich and GitHub
f285c62674
Rework entity prototype categories ( #5061 )
...
* Improve entity categories
* A
2024-06-02 14:10:11 +10:00
688b0b0458
make EntityPrototype.Categories use ProtoId ( #5171 )
...
Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-05-27 15:38:51 -07:00
Leon Friedrich and GitHub
2dc610907d
Make IComponentFactory argument in EntityPrototype mandatory ( #5101 )
2024-05-05 23:00:10 +02:00
Leon Friedrich and GitHub
20a411e6ce
Remove non-networked comps from NetComponents dictionary ( #4686 )
2023-12-10 13:56:34 +11:00
metalgearsloth and GitHub
24b0165ec9
Revert Arch ( #4613 )
2023-11-27 21:41:01 +11:00
7dce51e2cf
Arch PR two electric boogaloo ( #4388 )
...
Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com >
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com >
2023-11-23 14:29:37 +11:00
DrSmugleaf and GitHub
b737ecf9b3
Add generic EntityUid, remove some usages of .Owner ( #4498 )
2023-10-19 12:23:48 -07:00
DrSmugleaf and GitHub
1745a12e5a
Remove casts to Component ( #4495 )
2023-10-17 20:45:21 -07:00
Leon Friedrich and GitHub
ef8b278b47
Fix HideSpawnMenu ( #4437 )
2023-09-20 07:57:50 +10:00
Leon Friedrich and GitHub
7da22557fe
Add entity categories ( #4356 )
2023-09-18 12:14:26 +10:00
DrSmugleaf and GitHub
66239d23ea
Refactor serialization copying to use source generators ( #4286 )
2023-08-22 17:37:13 -07:00
06f5c78152
Allow specifiying overrides for components when spawning an entity. ( #4068 )
...
* Oh goddamnit this is a refactor now.
* aaaaaaaaaaa
---------
Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com >
2023-05-19 15:38:45 -05:00
Leon Friedrich and GitHub
f917748809
Make map loading log errors on invalid UIDs ( #3970 )
2023-04-25 13:58:10 +10:00
Paul Ritter and GitHub
bafbdb6363
Analyzer to check that notnullableflag is being properly used ( #3569 )
2022-12-21 00:11:04 +01:00
Mervill and GitHub
fa94ef0df2
Warn about invalid placement type ( #3467 )
2022-12-02 10:22:06 +11:00
be8147a722
serv4 ( #3527 )
...
Co-authored-by: Paul <ritter.paul1@gmail.com >
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
2022-11-27 19:23:58 +01:00
DrSmugleaf and GitHub
96938ca85a
Remove redundant read-only VV from datafields ( #3494 )
2022-11-16 21:02:39 +01:00
Leon Friedrich and GitHub
9920e409ca
Add support for saving missing prototype components ( #3462 )
...
Fixes https://github.com/space-wizards/RobustToolbox/issues/2824
2022-11-13 14:49:18 +11:00
Pieter-Jan Briers
2017d943fb
Move entity prototype reload logic to entity system.
...
Removes dependency of IPrototypeManager -> IEntityManager.
2022-11-12 12:03:15 +01:00
752d4dfe8b
prototype composition ( #3070 )
...
* prototype composition
* oops
* better
* fixes build
* should fix
* misc fixes & circle test
* moar circle checks
* adds tests
Co-authored-by: Paul <ritter.paul1@gmail.com >
2022-08-01 14:22:46 +02:00
metalgearsloth and GitHub
db3f3e5b32
Allow maps to be saved ( #3055 )
...
* Allow maps to be saved
* I hate myself
* fix?
* Fix maybe?
2022-07-25 15:30:20 +10:00
Pieter-Jan Briers and GitHub
832672149b
Entity creation performance improvements ( #2911 )
2022-06-06 14:49:36 +02:00
Alex Evgrashin and GitHub
3c16779d68
Add helper function in entity prototype ( #2868 )
2022-06-01 17:28:47 +02:00
Paul
d60bbe9fe9
misc client optimizations
2022-04-18 22:34:49 +02:00
Paul
79f114ad5b
work
2022-04-12 02:04:41 +02:00
Paul Ritter and GitHub
6bb66ae70e
fixes loc ( #2685 )
2022-04-05 18:50:27 +02:00
8491f7be24
New Serv3 api just dropped ( #2605 )
...
Co-authored-by: Paul Ritter <ritter.paul1@gmail.com >
2022-04-03 01:59:48 +02:00
metalgearsloth and GitHub
21f2fe6b1b
Minor spawn opt ( #2651 )
2022-03-29 12:34:42 +02:00
de4d255841
Analyzer to enforce classes to be either [Virtual], abstract, or sealed. ( #2469 )
...
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2022-02-05 19:31:58 +01:00
Paul Ritter and GitHub
013a3e3e8c
removes componentdependencies ( #2423 )
2022-01-15 13:06:29 +11:00
Vera Aguilera Puerto
db996b9fb3
A bunch more resolves removed wooo
2021-12-08 11:37:11 +01:00
20kdc
5e7d617736
Susser Todd: Robust.Shared, Error Pass 1
2021-12-03 18:40:55 +00:00
Vera Aguilera Puerto
7a06db60cf
Inline UID
2021-12-03 15:53:10 +01:00
Vera Aguilera Puerto
af964b52ed
Inline one TryGetComponent overload
2021-12-03 12:18:25 +01:00
Vera Aguilera Puerto
19f50d60c9
Inline AddComponent
2021-12-03 11:33:40 +01:00
Vera Aguilera Puerto
61aa73ffe3
Fix Prototype inline errors
2021-12-03 11:28:14 +01:00
Vera Aguilera Puerto
69158de99b
Inline Prototype
2021-12-03 11:13:58 +01:00