//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // *************************************************************************** // * 作者: 曾振东 // * 创建时间: 2019-08-02 // * 用途: 成就 // *************************************************************************** // Generated from: achievementHandler.proto // Note: requires additional types generated from: common.proto namespace pomelo.achievement { //--------------------------------------------------------------------------------------- /// /// 成就内容 /// [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Achievement")] public partial class Achievement : global::ProtoBuf.IExtensible { public Achievement() {} private int _id; /// /// 成就id /// [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int id { get { return _id; } set { _id = value; } } private long _scheduleCurr; /// /// 成就进度 /// [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"scheduleCurr", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public long scheduleCurr { get { return _scheduleCurr; } set { _scheduleCurr = value; } } private int _status; /// /// 完成状态(0:未达成 1:已达成,未领取 2:已领取) /// [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"status", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int status { get { return _status; } set { _status = value; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- /// /// 获取成就列表 请求 /// [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetAchievementsRequest")] public partial class GetAchievementsRequest : global::ProtoBuf.IExtensible { public GetAchievementsRequest() {} private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- /// /// 获取成就列表 返回 /// [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetAchievementsResponse")] public partial class GetAchievementsResponse : global::ProtoBuf.IExtensible { public GetAchievementsResponse() {} private int _s2c_code; [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int s2c_code { get { return _s2c_code; } set { _s2c_code = value; } } private string _s2c_msg = ""; [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue("")] public string s2c_msg { get { return _s2c_msg; } set { _s2c_msg = value; } } private readonly global::System.Collections.Generic.List _s2c_achievements = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(3, Name=@"s2c_achievements", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List s2c_achievements { get { return _s2c_achievements; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- /// /// 领取奖励 请求 /// [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AchievementGetAwardRequest")] public partial class AchievementGetAwardRequest : global::ProtoBuf.IExtensible { public AchievementGetAwardRequest() {} private int _c2s_id; /// /// 成就id /// [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int c2s_id { get { return _c2s_id; } set { _c2s_id = value; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- /// /// 领取奖励 返回 /// [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AchievementGetAwardResponse")] public partial class AchievementGetAwardResponse : global::ProtoBuf.IExtensible { public AchievementGetAwardResponse() {} private int _s2c_code; [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int s2c_code { get { return _s2c_code; } set { _s2c_code = value; } } private string _s2c_msg = ""; [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)] [global::System.ComponentModel.DefaultValue("")] public string s2c_msg { get { return _s2c_msg; } set { _s2c_msg = value; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- /// /// 更新成就推送 /// [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpdateAchievementPush")] public partial class UpdateAchievementPush : global::ProtoBuf.IExtensible { public UpdateAchievementPush() {} private readonly global::System.Collections.Generic.List _s2c_achievement = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(1, Name=@"s2c_achievement", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List s2c_achievement { get { return _s2c_achievement; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } }