collinlunn
fabc580df9
ApcNet updating fix ( #3078 )
...
* GridPowerComponent
* ApcNet Powered update bugfix
* PowerTest fix
* Add GridPower to Saltern
* test fix
* Update canceling cleanup
* code cleanup
* nullable & code cleanup for test
* undo power test nullable
* Replaces GridPowerSystem with ApcNetSystem
* build fix
* Update Content.Server/GameObjects/EntitySystems/ApcNetSystem.cs
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2021-02-18 00:51:30 +11:00
py01
c80efdaf44
Node and NodeGroup nullability ( #3047 )
...
Co-authored-by: py01 <pyronetics01@gmail.com >
2021-01-29 13:21:08 +11:00
DrSmugleaf
5c0cf1b1a0
Use 'new' expression in places where the type is evident for content ( #2590 )
...
* Content.Client
* Content.Benchmarks
* Content.IntegrationTests
* Content.Server
* Content.Server.Database
* Content.Shared
* Content.Tests
* Merge fixes
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2020-11-27 21:00:49 +11:00
Julian Giebel
45b610f933
Disposal mailing ( #2194 )
...
* Implement device networking
* Implement device configuration menu
* Fix device network
* Implement disposal mailing unit
* Implement base network connection
Implement wired and wireless network connection
Implement device network metadata
* Fix dereference null error
* Fix wired network null checks
* Change BaseNetworks enum to NetworkUtils class
Add PingResponse function to NetworkUtils
Change device network file structure
* Add doc comments
* Apply suggestions from code review
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
* Add tag validation to disposal mailing unit
* Add tag validation to the mailing unit component
* Address reviews
Change WiredNetwork can connect check
Change device networking string literals to constants
* Address reviews
Revert changes to PowerProvider and PowerReceiver
Add new NodeGroup
WELP
* Fix recursive access to Owner property
* Integrate suggested changes
* Fix TryGetWireNet acting on NullPowerProvider
Fix network connections not checking if their owner has been deleted
* Close device network connection when the owning entity got deleted
Fix mailing unit not closing the device network connection on remove
* Remove GetWireNet from NullPowerProvider
Co-authored-by: Julian Giebel <j.giebel@netrocks.info >
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
2020-10-30 01:16:26 +01:00
py01
7b12d4e08c
PipeNet ( #1626 )
...
* PipeNode
* Pipe prototypes
* Fixes Default NodeGroup not being registered by NodeGroupFactory
* GasNet
* PumpComponent
* IPipeNet
* PipeComponent
* misc naming, yaml
* PipeComponent rework
* PipeNet gas transfer from pipes
* PipeNet correctly combines gas on combining with other group
* Client ignores piping components
* AfterRemake
* PipeNet remake simplification
* IGasMixtureHolder on PipeComponent, IPipeNet
* PipeContainerComponent
* BasePump
* DebugPump
* IgnoredComponent fix
* Pipe LocalAir and Air
* comments
* Pump fix
* PipeNet fix
* name simplification
* PipeDirection name changes
* BaseVentComponent and DebugVentComponent
* Moves Pipe to own file
* DebugVentComponent moved to own file
* BaseScrubberComponent
* DebugScrubberComponent
* IgnoredComponents update
* scrubber prototype
* vent prototype fix
* comments
* Removes vent and scrubber PipeDirection check
* PipeContainer, Pipe, and PipeNode refactor
* Yaml cleanup
* pump prototype fix
* Removes AssumeAir usage from old IGasMixtureHolders
* Simplfies Vent & Scrubber to use AtmosHelper methods
* Vents and scrubbers invalidate the coordinate they changed the gas of
* UpdatedPipingComponent
* ScrubberComponent renamed to SiphonComponent
* Removes PumpSystem
* Removes framTime from UpdatedPiping
* PipeNetDevices
* PipeNetDevice updated by GridAtmosphereComponent
* PipeNets react from update in GridAtmosphereComponent
* GridAtmosphereComponent stores PipeNets/PipeNetDevices to be updated in queue
* diff fix
* Removes debug gas starting in pipes
* type safety in IPipeNet when combining groups
* null checks
* GridAtmos stores PipeNets and PipeNetDevices in List
* comments
* rogue curly bracket
* ProcessPipeNets update fix
* RemovePipeNet fix
* PipeNet update() unique index
* fix diff
* Integration test fixes
* Error Logging
* error fix
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-08-27 17:45:27 +02:00
DrSmugleaf
4a8ed41e3a
Fix namespaces and optimize imports ( #1651 )
...
* Fix namespaces and optimize imports
* Cleanup fixes
* Merge conflict fixes
* Merge conflict fixes
* Merge conflict fixes
2020-08-13 14:40:27 +02:00
py01
fbbe43fff8
Powernet Recalculation simplification ( #1427 )
...
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-07-26 12:14:03 +02:00
py01
137511d8b9
NodeGroup remake deferment ( #1268 )
...
* Remove Unnecessary AnchorUpdate() call
* NodeGroupManager
* NodeGroupManager issues NodeGroup remake attempts
* Code cleanup
* NodeGroupManager only stores dirty groups, handles them on next frame
* Removes unused NodeGroupManager dependency
* Prevents OnRemoveNode from iterating over every connector after the first time
* Revert "Prevents OnRemoveNode from iterating over every connector after the first time"
This reverts commit c72af4b18d55192af789514f74bef893cf076fbc.
* Dependancy warning fix
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-07-06 15:48:18 +02:00
py01
23cc6b1d4e
Power Rework ( #863 )
...
Co-authored-by: py01 <pyronetics01@gmail.com >
2020-06-28 17:23:26 +02:00