mirror of
https://github.com/Walter-Sparrow/lunar-tear.git
synced 2026-07-02 05:43:41 +03:00
Fix map replay flow and quest mission rewards
Build and Push Docker images to Docker Hub / build-and-push (push) Has been cancelled
Build and Push Docker images to Docker Hub / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -12,6 +12,15 @@ const (
|
||||
QuestFlowTypeAnotherRouteReplayFlow QuestFlowType = 4
|
||||
)
|
||||
|
||||
// IsReplayQuestFlowType reports whether the flow type indicates an active
|
||||
// replay session — either same-route REPLAY_FLOW or cross-route
|
||||
// ANOTHER_ROUTE_REPLAY_FLOW. Mirrors the client's Story.IsReplayQuestFlowType
|
||||
// predicate (dump.cs:768202).
|
||||
func IsReplayQuestFlowType(t int32) bool {
|
||||
return t == int32(QuestFlowTypeReplayFlow) ||
|
||||
t == int32(QuestFlowTypeAnotherRouteReplayFlow)
|
||||
}
|
||||
|
||||
func (t QuestFlowType) String() string {
|
||||
switch t {
|
||||
case QuestFlowTypeUnknown:
|
||||
|
||||
Reference in New Issue
Block a user