//------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
// ***************************************************************************
// * 作者: XXX
// * 创建时间: 2015-08-27
// * 用途: 在线奖励处理器
// * 维护人员: XXX
// ***************************************************************************
// Generated from: giftOnlineHandler.proto
namespace pomelo.area
{
//---------------------------------------------------------------------------------------
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetOnLineGiftRequest")]
public partial class GetOnLineGiftRequest : global::ProtoBuf.IExtensible
{
public GetOnLineGiftRequest() {}
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=@"GiftOnLineStruct")]
public partial class GiftOnLineStruct : global::ProtoBuf.IExtensible
{
public GiftOnLineStruct() {}
private int _templateId;
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"templateId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int templateId
{
get { return _templateId; }
set { _templateId = value; }
}
private int _count;
[global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int count
{
get { return _count; }
set { _count = value; }
}
private int _quality;
[global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"quality", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int quality
{
get { return _quality; }
set { _quality = value; }
}
private int _picId;
[global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"picId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int picId
{
get { return _picId; }
set { _picId = value; }
}
private string _name;
[global::ProtoBuf.ProtoMember(5, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string name
{
get { return _name; }
set { _name = 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=@"GiftOnlineData")]
public partial class GiftOnlineData : global::ProtoBuf.IExtensible
{
public GiftOnlineData() {}
private int _s2c_time;
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_time", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int s2c_time
{
get { return _s2c_time; }
set { _s2c_time = value; }
}
private readonly global::System.Collections.Generic.List _s2c_items = new global::System.Collections.Generic.List();
[global::ProtoBuf.ProtoMember(2, Name=@"s2c_items", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List s2c_items
{
get { return _s2c_items; }
}
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=@"GetOnLineGiftResponse")]
public partial class GetOnLineGiftResponse : global::ProtoBuf.IExtensible
{
public GetOnLineGiftResponse() {}
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 pomelo.area.GiftOnlineData _s2c_data = null;
[global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue(null)]
public pomelo.area.GiftOnlineData s2c_data
{
get { return _s2c_data; }
set { _s2c_data = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
}