forked from topfreegames/pitaya
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kick.pb.go
113 lines (98 loc) · 3.8 KB
/
kick.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: kick.proto
package protos
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
type KickMsg struct {
UserId string `protobuf:"bytes,1,opt,name=userId" json:"userId,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *KickMsg) Reset() { *m = KickMsg{} }
func (m *KickMsg) String() string { return proto.CompactTextString(m) }
func (*KickMsg) ProtoMessage() {}
func (*KickMsg) Descriptor() ([]byte, []int) {
return fileDescriptor_kick_71de7c6289e550fd, []int{0}
}
func (m *KickMsg) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KickMsg.Unmarshal(m, b)
}
func (m *KickMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KickMsg.Marshal(b, m, deterministic)
}
func (dst *KickMsg) XXX_Merge(src proto.Message) {
xxx_messageInfo_KickMsg.Merge(dst, src)
}
func (m *KickMsg) XXX_Size() int {
return xxx_messageInfo_KickMsg.Size(m)
}
func (m *KickMsg) XXX_DiscardUnknown() {
xxx_messageInfo_KickMsg.DiscardUnknown(m)
}
var xxx_messageInfo_KickMsg proto.InternalMessageInfo
func (m *KickMsg) GetUserId() string {
if m != nil {
return m.UserId
}
return ""
}
type KickAnswer struct {
Kicked bool `protobuf:"varint,1,opt,name=kicked" json:"kicked,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *KickAnswer) Reset() { *m = KickAnswer{} }
func (m *KickAnswer) String() string { return proto.CompactTextString(m) }
func (*KickAnswer) ProtoMessage() {}
func (*KickAnswer) Descriptor() ([]byte, []int) {
return fileDescriptor_kick_71de7c6289e550fd, []int{1}
}
func (m *KickAnswer) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KickAnswer.Unmarshal(m, b)
}
func (m *KickAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KickAnswer.Marshal(b, m, deterministic)
}
func (dst *KickAnswer) XXX_Merge(src proto.Message) {
xxx_messageInfo_KickAnswer.Merge(dst, src)
}
func (m *KickAnswer) XXX_Size() int {
return xxx_messageInfo_KickAnswer.Size(m)
}
func (m *KickAnswer) XXX_DiscardUnknown() {
xxx_messageInfo_KickAnswer.DiscardUnknown(m)
}
var xxx_messageInfo_KickAnswer proto.InternalMessageInfo
func (m *KickAnswer) GetKicked() bool {
if m != nil {
return m.Kicked
}
return false
}
func init() {
proto.RegisterType((*KickMsg)(nil), "protos.KickMsg")
proto.RegisterType((*KickAnswer)(nil), "protos.KickAnswer")
}
func init() { proto.RegisterFile("kick.proto", fileDescriptor_kick_71de7c6289e550fd) }
var fileDescriptor_kick_71de7c6289e550fd = []byte{
// 97 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xca, 0xce, 0x4c, 0xce,
0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x03, 0x53, 0xc5, 0x4a, 0x8a, 0x5c, 0xec, 0xde,
0x99, 0xc9, 0xd9, 0xbe, 0xc5, 0xe9, 0x42, 0x62, 0x5c, 0x6c, 0xa5, 0xc5, 0xa9, 0x45, 0x9e, 0x29,
0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x50, 0x9e, 0x92, 0x0a, 0x17, 0x17, 0x48, 0x89, 0x63,
0x5e, 0x71, 0x79, 0x6a, 0x11, 0x48, 0x15, 0xc8, 0x98, 0x54, 0x88, 0x2a, 0x8e, 0x20, 0x28, 0x2f,
0x09, 0x62, 0xa0, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x57, 0xec, 0x62, 0xe2, 0x65, 0x00, 0x00,
0x00,
}