wrestle with writing to sim
This commit is contained in:
@ -23,6 +23,24 @@ UTheracAdapterComponent::UTheracAdapterComponent() {
|
||||
// ...
|
||||
}
|
||||
|
||||
void UTheracAdapterComponent::UpdateSimulator(
|
||||
ExtCallType ect,
|
||||
HsStablePtr wrapped_comms,
|
||||
BeamType beam_type,
|
||||
CollimatorPosition collimator_position,
|
||||
HsInt beam_energy
|
||||
) {
|
||||
if (wrapped_comms == nullptr)
|
||||
wrapped_comms = wrappedComms;
|
||||
wrap_external_call(
|
||||
wrapped_comms,
|
||||
ect,
|
||||
beam_type,
|
||||
collimator_position,
|
||||
beam_energy
|
||||
);
|
||||
}
|
||||
|
||||
// Called when the game starts
|
||||
void UTheracAdapterComponent::BeginPlay() {
|
||||
/*
|
||||
|
@ -46,6 +46,14 @@ public:
|
||||
UPROPERTY(BlueprintReadOnly, VisibleAnywhere)
|
||||
FText BeamEnergy;
|
||||
|
||||
void UpdateSimulator(
|
||||
ExtCallType ect,
|
||||
HsStablePtr wrapped_comms = nullptr,
|
||||
BeamType beam_type = BeamTypeUndefined,
|
||||
CollimatorPosition collimator_position = CollimatorPositionUndefined,
|
||||
HsInt beam_energy = 25000
|
||||
);
|
||||
|
||||
protected:
|
||||
// Called when the game starts
|
||||
virtual void BeginPlay() override;
|
||||
|
Reference in New Issue
Block a user