Update Ref in Array SubsystemTimer Changing To ref Array
This commit is contained in:
@ -463,6 +463,7 @@ void UDTFluxDataStorage::UpdateStageRanking(const FDTFluxStageRankingResponse& S
|
|||||||
NewStageRanking.TimeRun = StageRankingResp.TimeRun;
|
NewStageRanking.TimeRun = StageRankingResp.TimeRun;
|
||||||
FTimespan StartTimeSpan;
|
FTimespan StartTimeSpan;
|
||||||
FTimespan::Parse(StageRankingResp.TimeStart, StartTimeSpan);
|
FTimespan::Parse(StageRankingResp.TimeStart, StartTimeSpan);
|
||||||
|
NewStageRanking.Time = StageRankingResp.Time;
|
||||||
NewStageRanking.TimeStart = Contest.Date + StartTimeSpan;
|
NewStageRanking.TimeStart = Contest.Date + StartTimeSpan;
|
||||||
NewStageRanking.TimeTransition = StageRankingResp.TimeTransition;
|
NewStageRanking.TimeTransition = StageRankingResp.TimeTransition;
|
||||||
NewStageRanking.TimeSwim = StageRankingResp.TimeSwim;
|
NewStageRanking.TimeSwim = StageRankingResp.TimeSwim;
|
||||||
|
|||||||
@ -169,22 +169,22 @@ void UDTFluxSubsystemTimer::ClearTimer(const int HandleIndex)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void UDTFluxSubsystemTimer::TriggerOnCutOff(const TArray<int> ContestIds, const int StageId)
|
void UDTFluxSubsystemTimer::TriggerOnCutOff(const TArray<int>& ContestIds, const int StageId)
|
||||||
{
|
{
|
||||||
OnCutoff.Broadcast(ContestIds, StageId);
|
OnCutoff.Broadcast(ContestIds, StageId);
|
||||||
}
|
}
|
||||||
|
|
||||||
void UDTFluxSubsystemTimer::TriggerStartTime(const TArray<int> ContestIds, const int StageId)
|
void UDTFluxSubsystemTimer::TriggerStartTime(const TArray<int>& ContestIds, const int StageId)
|
||||||
{
|
{
|
||||||
OnStageStarted.Broadcast(ContestIds, StageId);
|
OnStageStarted.Broadcast(ContestIds, StageId);
|
||||||
}
|
}
|
||||||
|
|
||||||
void UDTFluxSubsystemTimer::TriggerStageLoading(const TArray<int> ContestIds, const int StageId, int DelayBeforeStageStart)
|
void UDTFluxSubsystemTimer::TriggerStageLoading(const TArray<int>& ContestIds, const int StageId, int DelayBeforeStageStart)
|
||||||
{
|
{
|
||||||
OnStageLoading.Broadcast(ContestIds, StageId, DelayBeforeStageStart);
|
OnStageLoading.Broadcast(ContestIds, StageId, DelayBeforeStageStart);
|
||||||
}
|
}
|
||||||
|
|
||||||
void UDTFluxSubsystemTimer::TriggerOnDeleteRequested(const TArray<int> LineIndex)
|
void UDTFluxSubsystemTimer::TriggerOnDeleteRequested(const TArray<int>& LineIndex)
|
||||||
{
|
{
|
||||||
OnRemoveLineRequested.Broadcast(LineIndex);
|
OnRemoveLineRequested.Broadcast(LineIndex);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -32,8 +32,8 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnCutoff, TArray<int>, ContestIds, int, StageId);
|
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnCutoff, TArray<int>, ContestIds, int, StageId);
|
||||||
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnStageStarted, TArray<int>, ContestIds, int, StageId);
|
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnStageStarted, const TArray<int>&, ContestIds, int, StageId);
|
||||||
DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnStageLoading, TArray<int>, ContestIds, int, StageId, int, DelayBeforeStageStart);
|
DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnStageLoading, const TArray<int>&, ContestIds, int, StageId, int, DelayBeforeStageStart);
|
||||||
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnRemoveLineRequested, const TArray<int>&, LineIndex);
|
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnRemoveLineRequested, const TArray<int>&, LineIndex);
|
||||||
|
|
||||||
|
|
||||||
@ -83,15 +83,15 @@ public:
|
|||||||
void ClearTimer(const int HandleIndex);
|
void ClearTimer(const int HandleIndex);
|
||||||
|
|
||||||
UFUNCTION(BlueprintCallable, Category="DTFlux|Timer")
|
UFUNCTION(BlueprintCallable, Category="DTFlux|Timer")
|
||||||
void TriggerOnCutOff(const TArray<int> ContestIds, const int StageId);
|
void TriggerOnCutOff(const TArray<int>& ContestIds, const int StageId);
|
||||||
|
|
||||||
UFUNCTION(BlueprintCallable, Category="DTFlux|Timer")
|
UFUNCTION(BlueprintCallable, Category="DTFlux|Timer")
|
||||||
void TriggerStartTime(const TArray<int> ContestIds, const int StageId);
|
void TriggerStartTime(const TArray<int>& ContestIds, const int StageId);
|
||||||
|
|
||||||
UFUNCTION(BlueprintCallable, Category="DTFlux|Timer")
|
UFUNCTION(BlueprintCallable, Category="DTFlux|Timer")
|
||||||
void TriggerStageLoading(const TArray<int> ContestIds, const int StageId, int DelayBeforeStageStart);
|
void TriggerStageLoading(const TArray<int>& ContestIds, int StageId, int DelayBeforeStageStart);
|
||||||
UFUNCTION(BlueprintCallable, Category="DTFlux|Timer")
|
UFUNCTION(BlueprintCallable, Category="DTFlux|Timer")
|
||||||
void TriggerOnDeleteRequested(const TArray<int> LineIndex);
|
void TriggerOnDeleteRequested( const TArray<int>& LineIndex);
|
||||||
|
|
||||||
static UDTFluxSubsystem* GetDTFluxSubSystem();
|
static UDTFluxSubsystem* GetDTFluxSubSystem();
|
||||||
static UDTFluxDataStorage* GetDTFluxDataStorage();
|
static UDTFluxDataStorage* GetDTFluxDataStorage();
|
||||||
|
|||||||
Reference in New Issue
Block a user