public void ReceiveFromHelmStation(FromHelmStation payload) { EnginePower.SetPowerLevel(payload.enginePower, payload.enginePendingPower); JumpPower.SetPowerLevel(payload.jumpPower, payload.jumpPendingPower); ThrusterPower.SetPowerLevel(payload.thrusterPower, payload.thrusterPendingPower); Crew.SetToNumber(payload.crew); Jump.SetLampColor(payload.jumpIsAvailable); Evac.SetLampColor(payload.crewIsEvac); Action1.interactable = payload.action1IsAvailable; Action2.interactable = payload.action2IsAvailable; Action3.interactable = payload.action3IsAvailable; Shields.SetShields( payload.maxShields, payload.foreShields, payload.aftShields, payload.portShields, payload.starShields ); ReservePower.SetPowerLevel(payload.reserve, payload.maxReserve); }