// Code generated by protoc-gen-go. DO NOT EDIT.
// source: model/shield_fight.proto

package proto

import (
	fmt "fmt"
	math "math"
	proto "github.com/golang/protobuf/proto"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

//盾斗结果
type ShieldFightResult struct {
	//结果 1：攻击方胜 2：防守方胜
	Result int32 `protobuf:"zigzag32,1,opt,name=result,proto3" json:"result,omitempty"`
	//攻击者
	Attacker *ShieldFighter `protobuf:"bytes,2,opt,name=attacker,proto3" json:"attacker,omitempty"`
	//防守者
	Defender             *ShieldFighter `protobuf:"bytes,3,opt,name=defender,proto3" json:"defender,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *ShieldFightResult) Reset()         { *m = ShieldFightResult{} }
func (m *ShieldFightResult) String() string { return proto.CompactTextString(m) }
func (*ShieldFightResult) ProtoMessage()    {}
func (*ShieldFightResult) Descriptor() ([]byte, []int) {
	return fileDescriptor_76d23690bf017169, []int{0}
}

func (m *ShieldFightResult) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShieldFightResult.Unmarshal(m, b)
}
func (m *ShieldFightResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShieldFightResult.Marshal(b, m, deterministic)
}
func (m *ShieldFightResult) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShieldFightResult.Merge(m, src)
}
func (m *ShieldFightResult) XXX_Size() int {
	return xxx_messageInfo_ShieldFightResult.Size(m)
}
func (m *ShieldFightResult) XXX_DiscardUnknown() {
	xxx_messageInfo_ShieldFightResult.DiscardUnknown(m)
}

var xxx_messageInfo_ShieldFightResult proto.InternalMessageInfo

func (m *ShieldFightResult) GetResult() int32 {
	if m != nil {
		return m.Result
	}
	return 0
}

func (m *ShieldFightResult) GetAttacker() *ShieldFighter {
	if m != nil {
		return m.Attacker
	}
	return nil
}

func (m *ShieldFightResult) GetDefender() *ShieldFighter {
	if m != nil {
		return m.Defender
	}
	return nil
}

//盾斗者
type ShieldFighter struct {
	//总实力（战斗前后保持一致）
	TotalPower int64 `protobuf:"zigzag64,1,opt,name=total_power,json=totalPower,proto3" json:"total_power,omitempty"`
	//战前血量
	PowerBeforeFight int64 `protobuf:"zigzag64,2,opt,name=power_before_fight,json=powerBeforeFight,proto3" json:"power_before_fight,omitempty"`
	//战后血量
	PowerAfterFight      int64    `protobuf:"zigzag64,3,opt,name=power_after_fight,json=powerAfterFight,proto3" json:"power_after_fight,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ShieldFighter) Reset()         { *m = ShieldFighter{} }
func (m *ShieldFighter) String() string { return proto.CompactTextString(m) }
func (*ShieldFighter) ProtoMessage()    {}
func (*ShieldFighter) Descriptor() ([]byte, []int) {
	return fileDescriptor_76d23690bf017169, []int{1}
}

func (m *ShieldFighter) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShieldFighter.Unmarshal(m, b)
}
func (m *ShieldFighter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShieldFighter.Marshal(b, m, deterministic)
}
func (m *ShieldFighter) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShieldFighter.Merge(m, src)
}
func (m *ShieldFighter) XXX_Size() int {
	return xxx_messageInfo_ShieldFighter.Size(m)
}
func (m *ShieldFighter) XXX_DiscardUnknown() {
	xxx_messageInfo_ShieldFighter.DiscardUnknown(m)
}

var xxx_messageInfo_ShieldFighter proto.InternalMessageInfo

func (m *ShieldFighter) GetTotalPower() int64 {
	if m != nil {
		return m.TotalPower
	}
	return 0
}

func (m *ShieldFighter) GetPowerBeforeFight() int64 {
	if m != nil {
		return m.PowerBeforeFight
	}
	return 0
}

func (m *ShieldFighter) GetPowerAfterFight() int64 {
	if m != nil {
		return m.PowerAfterFight
	}
	return 0
}

func init() {
	proto.RegisterType((*ShieldFightResult)(nil), "proto.ShieldFightResult")
	proto.RegisterType((*ShieldFighter)(nil), "proto.ShieldFighter")
}

func init() { proto.RegisterFile("model/shield_fight.proto", fileDescriptor_76d23690bf017169) }

var fileDescriptor_76d23690bf017169 = []byte{
	// 218 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x8f, 0xc1, 0x4a, 0xc4, 0x30,
	0x10, 0x86, 0x89, 0x8b, 0x8b, 0xcc, 0x22, 0xda, 0x41, 0x24, 0x37, 0x97, 0x3d, 0x2d, 0x22, 0x55,
	0xf4, 0x09, 0xf4, 0xe0, 0x59, 0xe2, 0x03, 0x94, 0xd4, 0x4c, 0x6c, 0x31, 0x9a, 0x32, 0x1d, 0xf1,
	0x1d, 0xbc, 0xf8, 0xca, 0x92, 0x69, 0x15, 0xbd, 0xec, 0x29, 0xc9, 0x7c, 0xdf, 0xfc, 0xfc, 0x01,
	0xfb, 0x9a, 0x03, 0xa5, 0xcb, 0xb1, 0xeb, 0x29, 0x85, 0x26, 0xf6, 0xcf, 0x9d, 0xd4, 0x03, 0x67,
	0xc9, 0xb8, 0xaf, 0xc7, 0xe6, 0xcb, 0x40, 0xf5, 0xa8, 0xf4, 0xbe, 0x40, 0x47, 0xe3, 0x7b, 0x12,
	0x3c, 0x85, 0x25, 0xeb, 0xcd, 0x9a, 0xb5, 0xd9, 0x56, 0x6e, 0x7e, 0xe1, 0x15, 0x1c, 0x78, 0x11,
	0xff, 0xf4, 0x42, 0x6c, 0xf7, 0xd6, 0x66, 0xbb, 0xba, 0x3e, 0x99, 0xe2, 0xea, 0x3f, 0x19, 0xc4,
	0xee, 0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