-
Notifications
You must be signed in to change notification settings - Fork 12
/
transit.pb.go
65 lines (54 loc) · 1.52 KB
/
transit.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
// Code generated by protoc-gen-go.
// source: protocol/transit.proto
// DO NOT EDIT!
package protocol
import proto "code.google.com/p/goprotobuf/proto"
import json "encoding/json"
import math "math"
// Reference proto, json, and math imports to suppress error if they are not otherwise used.
var _ = proto.Marshal
var _ = &json.SyntaxError{}
var _ = math.Inf
type SSPacketTransit struct {
SArea *int32 `protobuf:"varint,1,req" json:"SArea,omitempty"`
SType *int32 `protobuf:"varint,2,req" json:"SType,omitempty"`
SId *int32 `protobuf:"varint,3,req" json:"SId,omitempty"`
PacketId *int32 `protobuf:"varint,4,req" json:"PacketId,omitempty"`
Data []byte `protobuf:"bytes,5,req" json:"Data,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *SSPacketTransit) Reset() { *m = SSPacketTransit{} }
func (m *SSPacketTransit) String() string { return proto.CompactTextString(m) }
func (*SSPacketTransit) ProtoMessage() {}
func (m *SSPacketTransit) GetSArea() int32 {
if m != nil && m.SArea != nil {
return *m.SArea
}
return 0
}
func (m *SSPacketTransit) GetSType() int32 {
if m != nil && m.SType != nil {
return *m.SType
}
return 0
}
func (m *SSPacketTransit) GetSId() int32 {
if m != nil && m.SId != nil {
return *m.SId
}
return 0
}
func (m *SSPacketTransit) GetPacketId() int32 {
if m != nil && m.PacketId != nil {
return *m.PacketId
}
return 0
}
func (m *SSPacketTransit) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func init() {
}