Conveyor Belt optimization and prediction (#12929)
* belt multithreading * moves away from multithreading and changes setting awake directly to physics system method * prediction for conveyors * Fixes missing reference in FaxSystem * Fixes oddities * Adds networked to conveyor components * Some more cleanup. * reverts power change event * Removes the event, fixes a file * Should fix the rest of the weird additions * More cleanup to fix extra files * Fixes again * fix * fixes fax system * Adds component state, cleans up the dependencies * Checks for prediction * Merge conflicts * powa --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -70,6 +70,7 @@ namespace Content.Server.Power.Components
|
||||
|
||||
/// <summary>
|
||||
/// Raised whenever an ApcPowerReceiver becomes powered / unpowered.
|
||||
/// Does nothing on the client.
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public readonly record struct PowerChangedEvent(bool Powered, float ReceivingPower)
|
||||
@@ -77,4 +78,5 @@ namespace Content.Server.Power.Components
|
||||
public readonly bool Powered = Powered;
|
||||
public readonly float ReceivingPower = ReceivingPower;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user