Commit Graph
172 Commits
Author SHA1 Message Date
Leon FriedrichandGitHub ad0cb05dd6 Add EnsureComponent(ref Entity<T?>) (#4516) 2023-10-24 17:19:38 +11:00
DrSmugleafandGitHub b737ecf9b3 Add generic EntityUid, remove some usages of .Owner (#4498) 2023-10-19 12:23:48 -07:00
DrSmugleafandGitHub 1745a12e5a Remove casts to Component (#4495) 2023-10-17 20:45:21 -07:00
DrSmugleafandGitHub 6b6ec844e8 Replace all T : Component constraints with T : IComponent (#4494) 2023-10-17 19:37:46 -07:00
DrSmugleafandGitHub 0152f9d1d8 Move Component lifecycle methods to EntityManager (#4483) 2023-10-10 17:34:40 -07:00
metalgearslothandGitHub 24d5ce4bd4 Make AddCompUninit obsolete (#4470) 2023-10-10 04:41:10 +11:00
Leon FriedrichandGitHub 526a88293e Use CollectionsMarshal in AddComponentInternal() (#4435) 2023-09-19 23:09:41 +10:00
Leon FriedrichandGitHub a22cce7783 Fix metadata assert (#4419) 2023-09-17 17:18:44 +10:00
metalgearslothandGitHub e5e738b8cd Maybe fix heisentest (#4418) 2023-09-17 16:13:37 +10:00
1ea7071ffb Backport some arch comp net changes (#4408)
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
2023-09-17 11:03:11 +10:00
metalgearslothandGitHub 4879252e99 Remove comprefs entirely (#4367) 2023-09-15 21:52:47 +10:00
metalgearslothandGitHub 3fd731d917 Network entity ids (#4252) 2023-09-11 09:42:55 +10:00
PrPleGooandGitHub 6e8ab5ce78 Ignore deleted components while raising events. (#4311) 2023-09-10 10:48:00 +10:00
metalgearslothandGitHub f905ea631b Raise MapInitEvent on components added after spawn (#4290) 2023-09-10 10:47:18 +10:00
DrSmugleafandGitHub 6b49a86ee5 Make EntityManager.AddComponent with a comp instance set the owner if its default, add system proxy (#4328) 2023-08-28 15:31:17 -07:00
Pieter-Jan Briers 409fe1a125 Some warning fixes 2023-08-27 15:35:15 +02:00
metalgearslothandGitHub fc3116fca5 Remove ComponentDeleted C# event (#4317)
No one's used it for 12 years probably no reason to obs first.
2023-08-26 09:24:33 +12:00
Leon FriedrichandGitHub 4eaf624555 Allow pre-startup components to be shut down. (#4281) 2023-08-21 13:45:57 +10:00
DrSmugleafandGitHub d3dc89832a Add component that lets entities ignore BUI range checks (#4264) 2023-08-16 15:41:01 +10:00
metalgearslothandGitHub 161b1874c2 Some comp query optimisations (#4203) 2023-07-30 03:34:35 +10:00
Leon FriedrichandGitHub cc0cc6afb1 Don't recreate _entTraitDict on disconnect (#4200) 2023-07-29 16:16:25 +10:00
metalgearslothandGitHub e4a14d1ec8 Start MapGrid ECS (#4185) 2023-07-23 20:50:23 +10:00
metalgearslothandGitHub b69b4fd8fe Kill comp getstate / handlestate (#4183) 2023-07-13 20:19:58 +10:00
metalgearslothandGitHub cb63499ec9 Add EntityQuery<MetaDataComponent> to EntityManager (#4166) 2023-07-13 20:14:47 +10:00
metalgearslothandGitHub e763d59617 Remove some unnecessary EntityQuery<T> and warns (#4167) 2023-07-02 01:12:45 +10:00
f398ad8a22 Slightly speed up entity deletion (#4061)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-05-18 00:00:51 +10:00
Leon FriedrichandGitHub f06beeb6f6 Remove static logs from EntityManager (#4062) 2023-05-17 14:18:49 +10:00
metalgearslothandGitHub 46b4d57a8c Add non-generic comp lookups (#4054) 2023-05-17 03:47:37 +10:00
DrSmugleafandGitHub ce086833b6 Fix log for adding duplicate component reference (#4031) 2023-05-14 10:28:56 +10:00
metalgearslothandGitHub 071e211cfe Crude IsDefault checks for entities (#3945) 2023-05-08 00:58:27 +10:00
metalgearslothandGitHub 0581dbe99f Add CompOrNull to entityquery struct (#3986) 2023-04-30 19:03:16 +10:00
metalgearslothandGitHub 9f9900751d Delete some entity init code (#3947) 2023-04-20 20:33:32 +10:00
Pieter-Jan BriersandGitHub 00814e8608 out EntityUid overloads for entity queries. (#3797) 2023-02-22 12:39:24 +11:00
Leon FriedrichandGitHub 49e4fe8c4c Warn on repeated component deletion (#3728) 2023-02-12 08:05:44 +11:00
Leon FriedrichandGitHub 87ce6dd4b5 Allow EnsureComp to override deferred deletion (#3691)
Fixes https://github.com/space-wizards/RobustToolbox/issues/3690
2023-01-14 15:40:58 +11:00
metalgearslothandGitHub fb0907a1a4 Remove EntityInitializedMessage (#3657) 2023-01-05 20:00:47 +11:00
metalgearslothandGitHub d518d55897 Remove IPhysBody (#3646) 2023-01-03 17:45:36 +11:00
metalgearslothandGitHub b39adf0095 Fix some build warnings (#3573) 2022-12-12 22:12:51 +01:00
Leon FriedrichandGitHub 445a3aa8fb Adds basic delta state support (#3492) 2022-12-11 21:36:49 +01:00
metalgearslothandGitHub d9c59164f2 Refactor maploader to a system (#3385) 2022-11-13 17:29:57 +11:00
Leon FriedrichandGitHub 603b88c77a Client entity deletion error tolerance (#3435) 2022-11-06 03:45:28 +11:00
metalgearslothandGitHub d3edd10714 Entity query struct enumerators (#3334) 2022-11-04 11:46:43 +11:00
Vera Aguilera PuertoandGitHub 467d391ec8 Extra-graceful entity deletions. (#3405) 2022-10-29 18:10:19 +02:00
Leon FriedrichandGitHub 3f4ae0f02a Better AddComponent error (#3394) 2022-10-28 17:16:11 +11:00
Leon FriedrichandGitHub 2bae6abbc0 Entity deletion changes (#3355) 2022-10-24 03:50:58 +11:00
Leon FriedrichandGitHub cd40916df0 Remove Dirty(comp) on component init. (#3303) 2022-10-11 16:14:08 +11:00
metalgearslothandGitHub 55217c982d Fix build (#3307) 2022-10-09 16:45:22 +11:00
Leon FriedrichandGitHub 7b0c4dd7fb Fix component removal / PVS bugs (#3275) 2022-10-08 13:22:32 +11:00
Leon FriedrichandGitHub 4c341f0289 Replace Logger.Error with IRuntimeLog (#3267) 2022-09-28 11:07:45 +10:00
Leon FriedrichandGitHub d87d6f7f8c Session specific state support (#3249) 2022-09-14 19:29:46 +10:00