//------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
// ***************************************************************************
// * 作者: 范金乔
// * 创建时间: 2015-12-11
// * 用途: 交互
// ***************************************************************************
// Generated from: interactHandler.proto
// Note: requires additional types generated from: common.proto
namespace pomelo.area
{
//---------------------------------------------------------------------------------------
///
/// 交互请求 (送花,...)
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"InteractRequest")]
public partial class InteractRequest : global::ProtoBuf.IExtensible
{
public InteractRequest() {}
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 string _c2s_playerId;
///
/// 目标玩家id
///
[global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"c2s_playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string c2s_playerId
{
get { return _c2s_playerId; }
set { _c2s_playerId = value; }
}
private string _c2s_playerName;
///
/// 目标玩家名称
///
[global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"c2s_playerName", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string c2s_playerName
{
get { return _c2s_playerName; }
set { _c2s_playerName = 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=@"InteractResponse")]
public partial class InteractResponse : global::ProtoBuf.IExtensible
{
public InteractResponse() {}
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=@"InteractConfigRequest")]
public partial class InteractConfigRequest : global::ProtoBuf.IExtensible
{
public InteractConfigRequest() {}
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=@"InteractConfig")]
public partial class InteractConfig : global::ProtoBuf.IExtensible
{
public InteractConfig() {}
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 string _name = "";
///
/// 交互名称
///
[global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue("")]
public string name
{
get { return _name; }
set { _name = value; }
}
private int _type = default(int);
[global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int type
{
get { return _type; }
set { _type = value; }
}
private int _charm = default(int);
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"charm", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int charm
{
get { return _charm; }
set { _charm = value; }
}
private int _gold = default(int);
[global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"gold", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int gold
{
get { return _gold; }
set { _gold = value; }
}
private int _diamond = default(int);
[global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"diamond", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int diamond
{
get { return _diamond; }
set { _diamond = value; }
}
private string _show = "";
///
/// 空串表示不需要特效
///
[global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"show", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue("")]
public string show
{
get { return _show; }
set { _show = 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=@"InteractConfigResponse")]
public partial class InteractConfigResponse : global::ProtoBuf.IExtensible
{
public InteractConfigResponse() {}
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_data = new global::System.Collections.Generic.List();
[global::ProtoBuf.ProtoMember(3, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List s2c_data
{
get { return _s2c_data; }
}
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=@"InteractTimesRequest")]
public partial class InteractTimesRequest : global::ProtoBuf.IExtensible
{
public InteractTimesRequest() {}
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=@"InteractTimes")]
public partial class InteractTimes : global::ProtoBuf.IExtensible
{
public InteractTimes() {}
private int _type;
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int type
{
get { return _type; }
set { _type = value; }
}
private int _times = default(int);
///
/// 剩余次数
///
[global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"times", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int times
{
get { return _times; }
set { _times = 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=@"InteractTimesResponse")]
public partial class InteractTimesResponse : global::ProtoBuf.IExtensible
{
public InteractTimesResponse() {}
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_data = new global::System.Collections.Generic.List();
[global::ProtoBuf.ProtoMember(3, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List s2c_data
{
get { return _s2c_data; }
}
private int _s2c_charm = default(int);
///
/// 魅力值
///
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_charm", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int s2c_charm
{
get { return _s2c_charm; }
set { _s2c_charm = 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=@"ReceiveInteractPush")]
public partial class ReceiveInteractPush : global::ProtoBuf.IExtensible
{
public ReceiveInteractPush() {}
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 int _id = default(int);
///
/// 交互类型id
///
[global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int id
{
get { return _id; }
set { _id = value; }
}
private string _sendPlayerName = "";
///
/// 发送的玩家名称
///
[global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"sendPlayerName", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue("")]
public string sendPlayerName
{
get { return _sendPlayerName; }
set { _sendPlayerName = value; }
}
private string _show = "";
///
/// 特效
///
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"show", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue("")]
public string show
{
get { return _show; }
set { _show = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
}