引导修改
This commit is contained in:
parent
01bc6bfd63
commit
6f6926dd9f
|
@ -811,9 +811,10 @@ var (
|
|||
)
|
||||
|
||||
const (
|
||||
AttributeGuideStep = 1 // 引导步骤
|
||||
AttributeGuideSkip = 2 // 跳过引导
|
||||
AttributeGuideTest = 3 // 测试引导
|
||||
AttributeGuideStep = 1 // 引导步骤
|
||||
AttributeGuideSkip = 2 // 跳过引导
|
||||
AttributeGuideTest = 3 // 测试引导
|
||||
AttributeGuideCustom = 4 // 竞技馆引导页
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1344,7 +1344,7 @@ message WindowsInfo{
|
|||
|
||||
//PACKET_CSUpdateAttribute
|
||||
message CSUpdateAttribute{
|
||||
int32 Tp = 1; // 1.更新引导阶段 2.跳过引导 3.更新引导状态(测试用)
|
||||
int32 Tp = 1; // 1.更新引导阶段 2.跳过引导 3.更新引导状态(测试用) 4.标记竞技馆引导页面已经显示过
|
||||
repeated int64 Param = 2;
|
||||
int32 GuideId = 3; //引导ID 1-新手引导 2-竞技馆引导
|
||||
}
|
||||
|
@ -1364,7 +1364,7 @@ message GuideInfo {
|
|||
int32 On = 2; // 引导开关 1开启 2关闭
|
||||
int32 Skip = 3; // 引导跳过开关 1开启 2关闭
|
||||
int32 GuideId = 4; // 引导类型 1-新手引导 2-竞技馆引导
|
||||
repeated ItemInfo Awards = 5; // 进入房间消耗
|
||||
repeated ItemInfo Awards = 5; //奖励
|
||||
int32 MaxStep = 6; // 步骤长度
|
||||
int32 AwardStep = 7;//领奖步骤
|
||||
}
|
||||
|
|
|
@ -3249,6 +3249,11 @@ func CSUpdateAttribute(s *netlib.Session, packetId int, data interface{}, sid in
|
|||
pack.OpRetCode = player_proto.OpResultCode_OPRC_Sucess
|
||||
send()
|
||||
return nil
|
||||
case common.AttributeGuideCustom:
|
||||
p.MarkFlag(common.PlayerFlagsGuideCustom)
|
||||
pack.OpRetCode = player_proto.OpResultCode_OPRC_Sucess
|
||||
send()
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue