mirror of
https://github.com/Anime-Game-Servers/anime-game-multi-proto.git
synced 2024-11-23 04:29:41 +00:00
[Packets/GI] Added Packets related to the hangout/coop mechanics
This commit is contained in:
parent
edf3f310bd
commit
df02995a42
@ -1,7 +1,6 @@
|
||||
import com.google.devtools.ksp.*
|
||||
import com.google.devtools.ksp.processing.*
|
||||
import com.google.devtools.ksp.symbol.*
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import java.io.File
|
||||
import java.io.OutputStream
|
||||
|
||||
|
12
gi/src/commonMain/kotlin/data/coop/AllCoopInfoNotify.kt
Normal file
12
gi/src/commonMain/kotlin/data/coop/AllCoopInfoNotify.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_1_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface AllCoopInfoNotify {
|
||||
var mainCoopList: List<MainCoop>
|
||||
}
|
12
gi/src/commonMain/kotlin/data/coop/CancelCoopTaskReq.kt
Normal file
12
gi/src/commonMain/kotlin/data/coop/CancelCoopTaskReq.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface CancelCoopTaskReq {
|
||||
var chapterId: Int
|
||||
}
|
13
gi/src/commonMain/kotlin/data/coop/CancelCoopTaskRsp.kt
Normal file
13
gi/src/commonMain/kotlin/data/coop/CancelCoopTaskRsp.kt
Normal file
@ -0,0 +1,13 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface CancelCoopTaskRsp {
|
||||
var chapterId: Int
|
||||
var retcode: Int
|
||||
}
|
12
gi/src/commonMain/kotlin/data/coop/CoopCg.kt
Normal file
12
gi/src/commonMain/kotlin/data/coop/CoopCg.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoModel
|
||||
internal interface CoopCg {
|
||||
var id: Int
|
||||
var isUnlock: Boolean
|
||||
}
|
12
gi/src/commonMain/kotlin/data/coop/CoopCgShowNotify.kt
Normal file
12
gi/src/commonMain/kotlin/data/coop/CoopCgShowNotify.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface CoopCgShowNotify {
|
||||
var cgList: List<Int>
|
||||
}
|
12
gi/src/commonMain/kotlin/data/coop/CoopCgUpdateNotify.kt
Normal file
12
gi/src/commonMain/kotlin/data/coop/CoopCgUpdateNotify.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface CoopCgUpdateNotify {
|
||||
var cgList: List<Int>
|
||||
}
|
20
gi/src/commonMain/kotlin/data/coop/CoopChapter.kt
Normal file
20
gi/src/commonMain/kotlin/data/coop/CoopChapter.kt
Normal file
@ -0,0 +1,20 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoModel
|
||||
internal interface CoopChapter {
|
||||
var coopCgList: List<CoopCg>
|
||||
var coopPointList: List<CoopPoint>
|
||||
var coopRewardList: List<CoopReward>
|
||||
var finishDialogList: List<Int>
|
||||
var finishedEndCount: Int
|
||||
var id: Int
|
||||
var lockReasonList: List<Int>
|
||||
var seenEndingMap: Map<Int, Int>
|
||||
var state: CoopChapterState
|
||||
var totalEndCount: Int
|
||||
}
|
14
gi/src/commonMain/kotlin/data/coop/CoopChapterState.kt
Normal file
14
gi/src/commonMain/kotlin/data/coop/CoopChapterState.kt
Normal file
@ -0,0 +1,14 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoEnum("CoopChapter", "State")
|
||||
internal enum class CoopChapterState {
|
||||
STATE_CLOSE,
|
||||
STATE_COND_NOT_MEET,
|
||||
STATE_COND_MEET,
|
||||
STATE_ACCEPT,
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface CoopChapterUpdateNotify {
|
||||
var chapterList: List<CoopChapter>
|
||||
}
|
15
gi/src/commonMain/kotlin/data/coop/CoopDataNotify.kt
Normal file
15
gi/src/commonMain/kotlin/data/coop/CoopDataNotify.kt
Normal file
@ -0,0 +1,15 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface CoopDataNotify {
|
||||
var chapterList: List<CoopChapter>
|
||||
var curCoopPoint: Int
|
||||
var isHaveProgress: Boolean
|
||||
var viewedChapterList: List<Int>
|
||||
}
|
13
gi/src/commonMain/kotlin/data/coop/CoopPoint.kt
Normal file
13
gi/src/commonMain/kotlin/data/coop/CoopPoint.kt
Normal file
@ -0,0 +1,13 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoModel
|
||||
internal interface CoopPoint {
|
||||
var id: Int
|
||||
var selfConfidence: Int
|
||||
var state: CoopPointState
|
||||
}
|
13
gi/src/commonMain/kotlin/data/coop/CoopPointState.kt
Normal file
13
gi/src/commonMain/kotlin/data/coop/CoopPointState.kt
Normal file
@ -0,0 +1,13 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoEnum("CoopPoint", "State")
|
||||
internal enum class CoopPointState {
|
||||
STATE_UNSTARTED,
|
||||
STATE_STARTED,
|
||||
STATE_FINISHED,
|
||||
}
|
12
gi/src/commonMain/kotlin/data/coop/CoopPointUpdateNotify.kt
Normal file
12
gi/src/commonMain/kotlin/data/coop/CoopPointUpdateNotify.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface CoopPointUpdateNotify {
|
||||
var coopPoint: CoopPoint
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface CoopProgressUpdateNotify {
|
||||
var curCoopPoint: Int
|
||||
var isHaveProgress: Boolean
|
||||
}
|
12
gi/src/commonMain/kotlin/data/coop/CoopReward.kt
Normal file
12
gi/src/commonMain/kotlin/data/coop/CoopReward.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoModel
|
||||
internal interface CoopReward {
|
||||
var id: Int
|
||||
var state: CoopRewardState
|
||||
}
|
13
gi/src/commonMain/kotlin/data/coop/CoopRewardState.kt
Normal file
13
gi/src/commonMain/kotlin/data/coop/CoopRewardState.kt
Normal file
@ -0,0 +1,13 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoEnum("CoopReward", "State")
|
||||
internal enum class CoopRewardState {
|
||||
STATE_UNLOCK,
|
||||
STATE_LOCK,
|
||||
STATE_TAKEN,
|
||||
}
|
12
gi/src/commonMain/kotlin/data/coop/CoopRewardUpdateNotify.kt
Normal file
12
gi/src/commonMain/kotlin/data/coop/CoopRewardUpdateNotify.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface CoopRewardUpdateNotify {
|
||||
var rewardList: List<CoopReward>
|
||||
}
|
13
gi/src/commonMain/kotlin/data/coop/FinishMainCoopReq.kt
Normal file
13
gi/src/commonMain/kotlin/data/coop/FinishMainCoopReq.kt
Normal file
@ -0,0 +1,13 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_1_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface FinishMainCoopReq {
|
||||
var endingSavePointId: Int
|
||||
var id: Int
|
||||
}
|
14
gi/src/commonMain/kotlin/data/coop/FinishMainCoopRsp.kt
Normal file
14
gi/src/commonMain/kotlin/data/coop/FinishMainCoopRsp.kt
Normal file
@ -0,0 +1,14 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_1_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface FinishMainCoopRsp {
|
||||
var endingSavePointId: Int
|
||||
var id: Int
|
||||
var retcode: Int
|
||||
}
|
17
gi/src/commonMain/kotlin/data/coop/MainCoop.kt
Normal file
17
gi/src/commonMain/kotlin/data/coop/MainCoop.kt
Normal file
@ -0,0 +1,17 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_1_1_0)
|
||||
@ProtoModel
|
||||
internal interface MainCoop {
|
||||
var id: Int
|
||||
var normalVarMap: Map<Int, Int>
|
||||
var savePointIdList: List<Int>
|
||||
var seenEndingMap: Map<Int, Int>
|
||||
var selfConfidence: Int
|
||||
var status: Status
|
||||
var tempVarMap: Map<Int, Int>
|
||||
}
|
13
gi/src/commonMain/kotlin/data/coop/MainCoopFailNotify.kt
Normal file
13
gi/src/commonMain/kotlin/data/coop/MainCoopFailNotify.kt
Normal file
@ -0,0 +1,13 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_5_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_5_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface MainCoopFailNotify {
|
||||
var chapterId: Int
|
||||
var textmapId: String
|
||||
}
|
12
gi/src/commonMain/kotlin/data/coop/MainCoopUpdateNotify.kt
Normal file
12
gi/src/commonMain/kotlin/data/coop/MainCoopUpdateNotify.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_1_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface MainCoopUpdateNotify {
|
||||
var mainCoopList: List<MainCoop>
|
||||
}
|
13
gi/src/commonMain/kotlin/data/coop/SaveCoopDialogReq.kt
Normal file
13
gi/src/commonMain/kotlin/data/coop/SaveCoopDialogReq.kt
Normal file
@ -0,0 +1,13 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface SaveCoopDialogReq {
|
||||
var dialogId: Int
|
||||
var mainCoopId: Int
|
||||
}
|
14
gi/src/commonMain/kotlin/data/coop/SaveCoopDialogRsp.kt
Normal file
14
gi/src/commonMain/kotlin/data/coop/SaveCoopDialogRsp.kt
Normal file
@ -0,0 +1,14 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface SaveCoopDialogRsp {
|
||||
var dialogId: Int
|
||||
var mainCoopId: Int
|
||||
var retcode: Int
|
||||
}
|
16
gi/src/commonMain/kotlin/data/coop/SaveMainCoopReq.kt
Normal file
16
gi/src/commonMain/kotlin/data/coop/SaveMainCoopReq.kt
Normal file
@ -0,0 +1,16 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_1_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface SaveMainCoopReq {
|
||||
var id: Int
|
||||
var normalVarMap: Map<Int, Int>
|
||||
var savePointId: Int
|
||||
var selfConfidence: Int
|
||||
var tempVarMap: Map<Int, Int>
|
||||
}
|
14
gi/src/commonMain/kotlin/data/coop/SaveMainCoopRsp.kt
Normal file
14
gi/src/commonMain/kotlin/data/coop/SaveMainCoopRsp.kt
Normal file
@ -0,0 +1,14 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_1_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface SaveMainCoopRsp {
|
||||
var id: Int
|
||||
var retcode: Int
|
||||
var savePointIdList: List<Int>
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface SetCoopChapterViewedReq {
|
||||
var chapterId: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface SetCoopChapterViewedRsp {
|
||||
var chapterId: Int
|
||||
var retcode: Int
|
||||
}
|
12
gi/src/commonMain/kotlin/data/coop/StartCoopPointReq.kt
Normal file
12
gi/src/commonMain/kotlin/data/coop/StartCoopPointReq.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface StartCoopPointReq {
|
||||
var coopPoint: Int
|
||||
}
|
15
gi/src/commonMain/kotlin/data/coop/StartCoopPointRsp.kt
Normal file
15
gi/src/commonMain/kotlin/data/coop/StartCoopPointRsp.kt
Normal file
@ -0,0 +1,15 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface StartCoopPointRsp {
|
||||
var coopPoint: Int
|
||||
var isStart: Boolean
|
||||
var retcode: Int
|
||||
var startMainCoop: MainCoop
|
||||
}
|
17
gi/src/commonMain/kotlin/data/coop/Status.kt
Normal file
17
gi/src/commonMain/kotlin/data/coop/Status.kt
Normal file
@ -0,0 +1,17 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.AltName
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
|
||||
|
||||
@AddedIn(GI_1_1_0)
|
||||
@ProtoEnum("MainCoop")
|
||||
internal enum class Status {
|
||||
@AltName("STATUS_INVALID")
|
||||
INVALID,
|
||||
@AltName("STATUS_RUNNING")
|
||||
RUNNING,
|
||||
@AltName("STATUS_FINISHED")
|
||||
FINISHED,
|
||||
}
|
12
gi/src/commonMain/kotlin/data/coop/TakeCoopRewardReq.kt
Normal file
12
gi/src/commonMain/kotlin/data/coop/TakeCoopRewardReq.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface TakeCoopRewardReq {
|
||||
var rewardConfigId: Int
|
||||
}
|
13
gi/src/commonMain/kotlin/data/coop/TakeCoopRewardRsp.kt
Normal file
13
gi/src/commonMain/kotlin/data/coop/TakeCoopRewardRsp.kt
Normal file
@ -0,0 +1,13 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface TakeCoopRewardRsp {
|
||||
var retcode: Int
|
||||
var rewardConfigId: Int
|
||||
}
|
12
gi/src/commonMain/kotlin/data/coop/UnlockCoopChapterReq.kt
Normal file
12
gi/src/commonMain/kotlin/data/coop/UnlockCoopChapterReq.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface UnlockCoopChapterReq {
|
||||
var chapterId: Int
|
||||
}
|
13
gi/src/commonMain/kotlin/data/coop/UnlockCoopChapterRsp.kt
Normal file
13
gi/src/commonMain/kotlin/data/coop/UnlockCoopChapterRsp.kt
Normal file
@ -0,0 +1,13 @@
|
||||
package data.coop
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface UnlockCoopChapterRsp {
|
||||
var chapterId: Int
|
||||
var retcode: Int
|
||||
}
|
Loading…
Reference in New Issue
Block a user