File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -3403,3 +3403,29 @@ message CMsgClientToGCGetEventRankingResponse {
3403
3403
optional float percentile = 4 ;
3404
3404
optional uint32 final_rank_bucket = 5 ;
3405
3405
}
3406
+
3407
+ message CMsgClientToGCGetEventCoupon {
3408
+ optional .EEvent event_id = 1 [default = EVENT_ID_NONE ];
3409
+ repeated uint32 coupon_ids = 2 ;
3410
+ }
3411
+
3412
+ message CMsgClientToGCGetEventCouponResponse {
3413
+ message Coupon {
3414
+ optional uint32 coupon_id = 1 ;
3415
+ optional string coupon_code = 2 ;
3416
+ }
3417
+
3418
+ enum ResultCode {
3419
+ Success = 0 ;
3420
+ InvalidEvent = 1 ;
3421
+ EventNotActive = 2 ;
3422
+ UserIneligible = 3 ;
3423
+ ServerError = 4 ;
3424
+ Timeout = 5 ;
3425
+ MultipleCoupons = 6 ;
3426
+ }
3427
+
3428
+ optional .CMsgClientToGCGetEventCouponResponse.ResultCode result = 1 [default = Success ];
3429
+ optional .EEvent event_id = 2 [default = EVENT_ID_NONE ];
3430
+ repeated .CMsgClientToGCGetEventCouponResponse.Coupon coupons = 3 ;
3431
+ }
Original file line number Diff line number Diff line change @@ -964,4 +964,6 @@ enum EDOTAGCMsg {
964
964
k_EMsgClientToGCClaimGatedEventResponse = 9044 ;
965
965
k_EMsgClientToGCGetEventRanking = 9107 ;
966
966
k_EMsgClientToGCGetEventRankingResponse = 9108 ;
967
+ k_EMsgClientToGCGetEventCoupon = 9109 ;
968
+ k_EMsgClientToGCGetEventCouponResponse = 9110 ;
967
969
}
You can’t perform that action at this time.
0 commit comments