Documentation ¶
Overview ¶
Package gen contains the generated protobuf code. It is separated from the protobuf package so it can be skipped for code coverage. Use 'go generate' to generate the code from the .proto files inside the proto sub directory.
Index ¶
- Variables
- type Point
- func (*Point) Descriptor() ([]byte, []int)
- func (m *Point) GetX() int32
- func (m *Point) GetY() int32
- func (m *Point) GetZ() int32
- func (m *Point) Marshal() (dAtA []byte, err error)
- func (m *Point) MarshalTo(dAtA []byte) (int, error)
- func (m *Point) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Point) ProtoMessage()
- func (m *Point) Reset()
- func (m *Point) Size() (n int)
- func (m *Point) String() string
- func (m *Point) Unmarshal(dAtA []byte) error
- func (m *Point) XXX_DiscardUnknown()
- func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Point) XXX_Merge(src proto.Message)
- func (m *Point) XXX_Size() int
- func (m *Point) XXX_Unmarshal(b []byte) error
- type Replay
- func (*Replay) Descriptor() ([]byte, []int)
- func (m *Replay) GetEntities() []*Replay_Entity
- func (m *Replay) GetHeader() *Replay_Header
- func (m *Replay) GetSnapshots() []*Replay_Snapshot
- func (m *Replay) GetTicks() []*Replay_Tick
- func (m *Replay) Marshal() (dAtA []byte, err error)
- func (m *Replay) MarshalTo(dAtA []byte) (int, error)
- func (m *Replay) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Replay) ProtoMessage()
- func (m *Replay) Reset()
- func (m *Replay) Size() (n int)
- func (m *Replay) String() string
- func (m *Replay) Unmarshal(dAtA []byte) error
- func (m *Replay) XXX_DiscardUnknown()
- func (m *Replay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Replay) XXX_Merge(src proto.Message)
- func (m *Replay) XXX_Size() int
- func (m *Replay) XXX_Unmarshal(b []byte) error
- type Replay_Entity
- func (*Replay_Entity) Descriptor() ([]byte, []int)
- func (m *Replay_Entity) GetId() int32
- func (m *Replay_Entity) GetIsNpc() bool
- func (m *Replay_Entity) GetName() string
- func (m *Replay_Entity) GetTeam() Team
- func (m *Replay_Entity) Marshal() (dAtA []byte, err error)
- func (m *Replay_Entity) MarshalTo(dAtA []byte) (int, error)
- func (m *Replay_Entity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Replay_Entity) ProtoMessage()
- func (m *Replay_Entity) Reset()
- func (m *Replay_Entity) Size() (n int)
- func (m *Replay_Entity) String() string
- func (m *Replay_Entity) Unmarshal(dAtA []byte) error
- func (m *Replay_Entity) XXX_DiscardUnknown()
- func (m *Replay_Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Replay_Entity) XXX_Merge(src proto.Message)
- func (m *Replay_Entity) XXX_Size() int
- func (m *Replay_Entity) XXX_Unmarshal(b []byte) error
- type Replay_Header
- func (*Replay_Header) Descriptor() ([]byte, []int)
- func (m *Replay_Header) GetMap() string
- func (m *Replay_Header) GetSnapshotRate() int32
- func (m *Replay_Header) GetTickRate() float64
- func (m *Replay_Header) Marshal() (dAtA []byte, err error)
- func (m *Replay_Header) MarshalTo(dAtA []byte) (int, error)
- func (m *Replay_Header) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Replay_Header) ProtoMessage()
- func (m *Replay_Header) Reset()
- func (m *Replay_Header) Size() (n int)
- func (m *Replay_Header) String() string
- func (m *Replay_Header) Unmarshal(dAtA []byte) error
- func (m *Replay_Header) XXX_DiscardUnknown()
- func (m *Replay_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Replay_Header) XXX_Merge(src proto.Message)
- func (m *Replay_Header) XXX_Size() int
- func (m *Replay_Header) XXX_Unmarshal(b []byte) error
- type Replay_Snapshot
- func (*Replay_Snapshot) Descriptor() ([]byte, []int)
- func (m *Replay_Snapshot) GetEntityUpdates() []*Replay_Snapshot_EntityUpdate
- func (m *Replay_Snapshot) GetTick() int32
- func (m *Replay_Snapshot) Marshal() (dAtA []byte, err error)
- func (m *Replay_Snapshot) MarshalTo(dAtA []byte) (int, error)
- func (m *Replay_Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Replay_Snapshot) ProtoMessage()
- func (m *Replay_Snapshot) Reset()
- func (m *Replay_Snapshot) Size() (n int)
- func (m *Replay_Snapshot) String() string
- func (m *Replay_Snapshot) Unmarshal(dAtA []byte) error
- func (m *Replay_Snapshot) XXX_DiscardUnknown()
- func (m *Replay_Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Replay_Snapshot) XXX_Merge(src proto.Message)
- func (m *Replay_Snapshot) XXX_Size() int
- func (m *Replay_Snapshot) XXX_Unmarshal(b []byte) error
- type Replay_Snapshot_EntityEquipment
- func (*Replay_Snapshot_EntityEquipment) Descriptor() ([]byte, []int)
- func (m *Replay_Snapshot_EntityEquipment) GetAmmoInMagazine() int32
- func (m *Replay_Snapshot_EntityEquipment) GetAmmoReserve() int32
- func (m *Replay_Snapshot_EntityEquipment) GetType() int32
- func (m *Replay_Snapshot_EntityEquipment) Marshal() (dAtA []byte, err error)
- func (m *Replay_Snapshot_EntityEquipment) MarshalTo(dAtA []byte) (int, error)
- func (m *Replay_Snapshot_EntityEquipment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Replay_Snapshot_EntityEquipment) ProtoMessage()
- func (m *Replay_Snapshot_EntityEquipment) Reset()
- func (m *Replay_Snapshot_EntityEquipment) Size() (n int)
- func (m *Replay_Snapshot_EntityEquipment) String() string
- func (m *Replay_Snapshot_EntityEquipment) Unmarshal(dAtA []byte) error
- func (m *Replay_Snapshot_EntityEquipment) XXX_DiscardUnknown()
- func (m *Replay_Snapshot_EntityEquipment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Replay_Snapshot_EntityEquipment) XXX_Merge(src proto.Message)
- func (m *Replay_Snapshot_EntityEquipment) XXX_Size() int
- func (m *Replay_Snapshot_EntityEquipment) XXX_Unmarshal(b []byte) error
- type Replay_Snapshot_EntityUpdate
- func (*Replay_Snapshot_EntityUpdate) Descriptor() ([]byte, []int)
- func (m *Replay_Snapshot_EntityUpdate) GetAngleX() int32
- func (m *Replay_Snapshot_EntityUpdate) GetAngleY() int32
- func (m *Replay_Snapshot_EntityUpdate) GetArmor() int32
- func (m *Replay_Snapshot_EntityUpdate) GetEntityId() int32
- func (m *Replay_Snapshot_EntityUpdate) GetEquipment() []*Replay_Snapshot_EntityEquipment
- func (m *Replay_Snapshot_EntityUpdate) GetFlashDuration() float32
- func (m *Replay_Snapshot_EntityUpdate) GetHasDefuseKit() bool
- func (m *Replay_Snapshot_EntityUpdate) GetHasHelmet() bool
- func (m *Replay_Snapshot_EntityUpdate) GetHp() int32
- func (m *Replay_Snapshot_EntityUpdate) GetIsNpc() bool
- func (m *Replay_Snapshot_EntityUpdate) GetPositions() []*Point
- func (m *Replay_Snapshot_EntityUpdate) GetTeam() Team
- func (m *Replay_Snapshot_EntityUpdate) Marshal() (dAtA []byte, err error)
- func (m *Replay_Snapshot_EntityUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *Replay_Snapshot_EntityUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Replay_Snapshot_EntityUpdate) ProtoMessage()
- func (m *Replay_Snapshot_EntityUpdate) Reset()
- func (m *Replay_Snapshot_EntityUpdate) Size() (n int)
- func (m *Replay_Snapshot_EntityUpdate) String() string
- func (m *Replay_Snapshot_EntityUpdate) Unmarshal(dAtA []byte) error
- func (m *Replay_Snapshot_EntityUpdate) XXX_DiscardUnknown()
- func (m *Replay_Snapshot_EntityUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Replay_Snapshot_EntityUpdate) XXX_Merge(src proto.Message)
- func (m *Replay_Snapshot_EntityUpdate) XXX_Size() int
- func (m *Replay_Snapshot_EntityUpdate) XXX_Unmarshal(b []byte) error
- type Replay_Tick
- func (*Replay_Tick) Descriptor() ([]byte, []int)
- func (m *Replay_Tick) GetEvents() []*Replay_Tick_Event
- func (m *Replay_Tick) GetNr() int32
- func (m *Replay_Tick) Marshal() (dAtA []byte, err error)
- func (m *Replay_Tick) MarshalTo(dAtA []byte) (int, error)
- func (m *Replay_Tick) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Replay_Tick) ProtoMessage()
- func (m *Replay_Tick) Reset()
- func (m *Replay_Tick) Size() (n int)
- func (m *Replay_Tick) String() string
- func (m *Replay_Tick) Unmarshal(dAtA []byte) error
- func (m *Replay_Tick) XXX_DiscardUnknown()
- func (m *Replay_Tick) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Replay_Tick) XXX_Merge(src proto.Message)
- func (m *Replay_Tick) XXX_Size() int
- func (m *Replay_Tick) XXX_Unmarshal(b []byte) error
- type Replay_Tick_Event
- func (*Replay_Tick_Event) Descriptor() ([]byte, []int)
- func (m *Replay_Tick_Event) GetAttributes() []*Replay_Tick_Event_Attribute
- func (m *Replay_Tick_Event) GetKind() Replay_Tick_Event_Kind
- func (m *Replay_Tick_Event) Marshal() (dAtA []byte, err error)
- func (m *Replay_Tick_Event) MarshalTo(dAtA []byte) (int, error)
- func (m *Replay_Tick_Event) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Replay_Tick_Event) ProtoMessage()
- func (m *Replay_Tick_Event) Reset()
- func (m *Replay_Tick_Event) Size() (n int)
- func (m *Replay_Tick_Event) String() string
- func (m *Replay_Tick_Event) Unmarshal(dAtA []byte) error
- func (m *Replay_Tick_Event) XXX_DiscardUnknown()
- func (m *Replay_Tick_Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Replay_Tick_Event) XXX_Merge(src proto.Message)
- func (m *Replay_Tick_Event) XXX_Size() int
- func (m *Replay_Tick_Event) XXX_Unmarshal(b []byte) error
- type Replay_Tick_Event_Attribute
- func (*Replay_Tick_Event_Attribute) Descriptor() ([]byte, []int)
- func (m *Replay_Tick_Event_Attribute) GetCustomName() string
- func (m *Replay_Tick_Event_Attribute) GetKind() Replay_Tick_Event_Attribute_Kind
- func (m *Replay_Tick_Event_Attribute) GetNumberValue() float64
- func (m *Replay_Tick_Event_Attribute) GetStringValue() string
- func (m *Replay_Tick_Event_Attribute) Marshal() (dAtA []byte, err error)
- func (m *Replay_Tick_Event_Attribute) MarshalTo(dAtA []byte) (int, error)
- func (m *Replay_Tick_Event_Attribute) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Replay_Tick_Event_Attribute) ProtoMessage()
- func (m *Replay_Tick_Event_Attribute) Reset()
- func (m *Replay_Tick_Event_Attribute) Size() (n int)
- func (m *Replay_Tick_Event_Attribute) String() string
- func (m *Replay_Tick_Event_Attribute) Unmarshal(dAtA []byte) error
- func (m *Replay_Tick_Event_Attribute) XXX_DiscardUnknown()
- func (m *Replay_Tick_Event_Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Replay_Tick_Event_Attribute) XXX_Merge(src proto.Message)
- func (m *Replay_Tick_Event_Attribute) XXX_Size() int
- func (m *Replay_Tick_Event_Attribute) XXX_Unmarshal(b []byte) error
- type Replay_Tick_Event_Attribute_Kind
- type Replay_Tick_Event_Kind
- type Team
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthReplay = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowReplay = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupReplay = fmt.Errorf("proto: unexpected end of group") )
View Source
var Replay_Tick_Event_Attribute_Kind_name = map[int32]string{
0: "ENTITY_ID",
1: "VICTIM",
2: "KILLER",
3: "ASSISTER",
4: "TEXT",
5: "EVENT_NAME",
6: "CUSTOM",
7: "THROWER_ENTITY_ID",
}
View Source
var Replay_Tick_Event_Attribute_Kind_value = map[string]int32{
"ENTITY_ID": 0,
"VICTIM": 1,
"KILLER": 2,
"ASSISTER": 3,
"TEXT": 4,
"EVENT_NAME": 5,
"CUSTOM": 6,
"THROWER_ENTITY_ID": 7,
}
View Source
var Replay_Tick_Event_Kind_name = map[int32]string{
0: "JUMP",
1: "FIRE",
2: "HURT",
3: "FLASHED",
4: "KILL",
5: "ROUND_STARTED",
6: "SWAP_TEAM",
7: "DISCONNECT",
8: "CHAT_MESSAGE",
9: "CUSTOM",
10: "MATCH_STARTED",
11: "GAME_PHASE_CHANGED",
12: "SMOKE_STARTED",
13: "SMOKE_EXPIRED",
14: "DECOY_STARTED",
15: "DECOY_EXPIRED",
16: "FIRE_GRENADE_STARTED",
17: "FIRE_GRENADE_EXPIRED",
18: "HE_GRENADE_EXPLOSION",
19: "FLASH_EXPLOSION",
}
View Source
var Replay_Tick_Event_Kind_value = map[string]int32{
"JUMP": 0,
"FIRE": 1,
"HURT": 2,
"FLASHED": 3,
"KILL": 4,
"ROUND_STARTED": 5,
"SWAP_TEAM": 6,
"DISCONNECT": 7,
"CHAT_MESSAGE": 8,
"CUSTOM": 9,
"MATCH_STARTED": 10,
"GAME_PHASE_CHANGED": 11,
"SMOKE_STARTED": 12,
"SMOKE_EXPIRED": 13,
"DECOY_STARTED": 14,
"DECOY_EXPIRED": 15,
"FIRE_GRENADE_STARTED": 16,
"FIRE_GRENADE_EXPIRED": 17,
"HE_GRENADE_EXPLOSION": 18,
"FLASH_EXPLOSION": 19,
}
View Source
var Team_name = map[int32]string{
0: "UNASSIGNED",
1: "TERRORIST",
2: "COUNTER_TERRORIST",
3: "SPECTATOR",
}
View Source
var Team_value = map[string]int32{
"UNASSIGNED": 0,
"TERRORIST": 1,
"COUNTER_TERRORIST": 2,
"SPECTATOR": 3,
}
Functions ¶
This section is empty.
Types ¶
type Point ¶
type Point struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` Z int32 `protobuf:"varint,3,opt,name=z,proto3" json:"z,omitempty"` }
func (*Point) Descriptor ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) XXX_DiscardUnknown ¶
func (m *Point) XXX_DiscardUnknown()
func (*Point) XXX_Marshal ¶
func (*Point) XXX_Unmarshal ¶
type Replay ¶
type Replay struct { Header *Replay_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Entities []*Replay_Entity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` Snapshots []*Replay_Snapshot `protobuf:"bytes,3,rep,name=snapshots,proto3" json:"snapshots,omitempty"` Ticks []*Replay_Tick `protobuf:"bytes,4,rep,name=ticks,proto3" json:"ticks,omitempty"` }
func (*Replay) Descriptor ¶
func (*Replay) GetEntities ¶
func (m *Replay) GetEntities() []*Replay_Entity
func (*Replay) GetHeader ¶
func (m *Replay) GetHeader() *Replay_Header
func (*Replay) GetSnapshots ¶
func (m *Replay) GetSnapshots() []*Replay_Snapshot
func (*Replay) GetTicks ¶
func (m *Replay) GetTicks() []*Replay_Tick
func (*Replay) MarshalToSizedBuffer ¶
func (*Replay) ProtoMessage ¶
func (*Replay) ProtoMessage()
func (*Replay) XXX_DiscardUnknown ¶
func (m *Replay) XXX_DiscardUnknown()
func (*Replay) XXX_Marshal ¶
func (*Replay) XXX_Unmarshal ¶
type Replay_Entity ¶
type Replay_Entity struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Team Team `protobuf:"varint,3,opt,name=team,proto3,enum=gen.Team" json:"team,omitempty"` IsNpc bool `protobuf:"varint,4,opt,name=isNpc,proto3" json:"isNpc,omitempty"` }
func (*Replay_Entity) Descriptor ¶
func (*Replay_Entity) Descriptor() ([]byte, []int)
func (*Replay_Entity) GetId ¶
func (m *Replay_Entity) GetId() int32
func (*Replay_Entity) GetIsNpc ¶
func (m *Replay_Entity) GetIsNpc() bool
func (*Replay_Entity) GetName ¶
func (m *Replay_Entity) GetName() string
func (*Replay_Entity) GetTeam ¶
func (m *Replay_Entity) GetTeam() Team
func (*Replay_Entity) Marshal ¶
func (m *Replay_Entity) Marshal() (dAtA []byte, err error)
func (*Replay_Entity) MarshalToSizedBuffer ¶
func (m *Replay_Entity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Replay_Entity) ProtoMessage ¶
func (*Replay_Entity) ProtoMessage()
func (*Replay_Entity) Reset ¶
func (m *Replay_Entity) Reset()
func (*Replay_Entity) Size ¶
func (m *Replay_Entity) Size() (n int)
func (*Replay_Entity) String ¶
func (m *Replay_Entity) String() string
func (*Replay_Entity) Unmarshal ¶
func (m *Replay_Entity) Unmarshal(dAtA []byte) error
func (*Replay_Entity) XXX_DiscardUnknown ¶
func (m *Replay_Entity) XXX_DiscardUnknown()
func (*Replay_Entity) XXX_Marshal ¶
func (m *Replay_Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Replay_Entity) XXX_Merge ¶
func (m *Replay_Entity) XXX_Merge(src proto.Message)
func (*Replay_Entity) XXX_Size ¶
func (m *Replay_Entity) XXX_Size() int
func (*Replay_Entity) XXX_Unmarshal ¶
func (m *Replay_Entity) XXX_Unmarshal(b []byte) error
type Replay_Header ¶
type Replay_Header struct { Map string `protobuf:"bytes,1,opt,name=map,proto3" json:"map,omitempty"` TickRate float64 `protobuf:"fixed64,2,opt,name=tickRate,proto3" json:"tickRate,omitempty"` SnapshotRate int32 `protobuf:"varint,3,opt,name=snapshotRate,proto3" json:"snapshotRate,omitempty"` }
func (*Replay_Header) Descriptor ¶
func (*Replay_Header) Descriptor() ([]byte, []int)
func (*Replay_Header) GetMap ¶
func (m *Replay_Header) GetMap() string
func (*Replay_Header) GetSnapshotRate ¶
func (m *Replay_Header) GetSnapshotRate() int32
func (*Replay_Header) GetTickRate ¶
func (m *Replay_Header) GetTickRate() float64
func (*Replay_Header) Marshal ¶
func (m *Replay_Header) Marshal() (dAtA []byte, err error)
func (*Replay_Header) MarshalToSizedBuffer ¶
func (m *Replay_Header) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Replay_Header) ProtoMessage ¶
func (*Replay_Header) ProtoMessage()
func (*Replay_Header) Reset ¶
func (m *Replay_Header) Reset()
func (*Replay_Header) Size ¶
func (m *Replay_Header) Size() (n int)
func (*Replay_Header) String ¶
func (m *Replay_Header) String() string
func (*Replay_Header) Unmarshal ¶
func (m *Replay_Header) Unmarshal(dAtA []byte) error
func (*Replay_Header) XXX_DiscardUnknown ¶
func (m *Replay_Header) XXX_DiscardUnknown()
func (*Replay_Header) XXX_Marshal ¶
func (m *Replay_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Replay_Header) XXX_Merge ¶
func (m *Replay_Header) XXX_Merge(src proto.Message)
func (*Replay_Header) XXX_Size ¶
func (m *Replay_Header) XXX_Size() int
func (*Replay_Header) XXX_Unmarshal ¶
func (m *Replay_Header) XXX_Unmarshal(b []byte) error
type Replay_Snapshot ¶
type Replay_Snapshot struct { Tick int32 `protobuf:"varint,1,opt,name=tick,proto3" json:"tick,omitempty"` EntityUpdates []*Replay_Snapshot_EntityUpdate `protobuf:"bytes,2,rep,name=entityUpdates,proto3" json:"entityUpdates,omitempty"` }
func (*Replay_Snapshot) Descriptor ¶
func (*Replay_Snapshot) Descriptor() ([]byte, []int)
func (*Replay_Snapshot) GetEntityUpdates ¶
func (m *Replay_Snapshot) GetEntityUpdates() []*Replay_Snapshot_EntityUpdate
func (*Replay_Snapshot) GetTick ¶
func (m *Replay_Snapshot) GetTick() int32
func (*Replay_Snapshot) Marshal ¶
func (m *Replay_Snapshot) Marshal() (dAtA []byte, err error)
func (*Replay_Snapshot) MarshalToSizedBuffer ¶
func (m *Replay_Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Replay_Snapshot) ProtoMessage ¶
func (*Replay_Snapshot) ProtoMessage()
func (*Replay_Snapshot) Reset ¶
func (m *Replay_Snapshot) Reset()
func (*Replay_Snapshot) Size ¶
func (m *Replay_Snapshot) Size() (n int)
func (*Replay_Snapshot) String ¶
func (m *Replay_Snapshot) String() string
func (*Replay_Snapshot) Unmarshal ¶
func (m *Replay_Snapshot) Unmarshal(dAtA []byte) error
func (*Replay_Snapshot) XXX_DiscardUnknown ¶
func (m *Replay_Snapshot) XXX_DiscardUnknown()
func (*Replay_Snapshot) XXX_Marshal ¶
func (m *Replay_Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Replay_Snapshot) XXX_Merge ¶
func (m *Replay_Snapshot) XXX_Merge(src proto.Message)
func (*Replay_Snapshot) XXX_Size ¶
func (m *Replay_Snapshot) XXX_Size() int
func (*Replay_Snapshot) XXX_Unmarshal ¶
func (m *Replay_Snapshot) XXX_Unmarshal(b []byte) error
type Replay_Snapshot_EntityEquipment ¶
type Replay_Snapshot_EntityEquipment struct { Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` AmmoReserve int32 `protobuf:"varint,2,opt,name=ammoReserve,proto3" json:"ammoReserve,omitempty"` AmmoInMagazine int32 `protobuf:"varint,3,opt,name=ammoInMagazine,proto3" json:"ammoInMagazine,omitempty"` }
func (*Replay_Snapshot_EntityEquipment) Descriptor ¶
func (*Replay_Snapshot_EntityEquipment) Descriptor() ([]byte, []int)
func (*Replay_Snapshot_EntityEquipment) GetAmmoInMagazine ¶
func (m *Replay_Snapshot_EntityEquipment) GetAmmoInMagazine() int32
func (*Replay_Snapshot_EntityEquipment) GetAmmoReserve ¶
func (m *Replay_Snapshot_EntityEquipment) GetAmmoReserve() int32
func (*Replay_Snapshot_EntityEquipment) GetType ¶
func (m *Replay_Snapshot_EntityEquipment) GetType() int32
func (*Replay_Snapshot_EntityEquipment) Marshal ¶
func (m *Replay_Snapshot_EntityEquipment) Marshal() (dAtA []byte, err error)
func (*Replay_Snapshot_EntityEquipment) MarshalTo ¶
func (m *Replay_Snapshot_EntityEquipment) MarshalTo(dAtA []byte) (int, error)
func (*Replay_Snapshot_EntityEquipment) MarshalToSizedBuffer ¶
func (m *Replay_Snapshot_EntityEquipment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Replay_Snapshot_EntityEquipment) ProtoMessage ¶
func (*Replay_Snapshot_EntityEquipment) ProtoMessage()
func (*Replay_Snapshot_EntityEquipment) Reset ¶
func (m *Replay_Snapshot_EntityEquipment) Reset()
func (*Replay_Snapshot_EntityEquipment) Size ¶
func (m *Replay_Snapshot_EntityEquipment) Size() (n int)
func (*Replay_Snapshot_EntityEquipment) String ¶
func (m *Replay_Snapshot_EntityEquipment) String() string
func (*Replay_Snapshot_EntityEquipment) Unmarshal ¶
func (m *Replay_Snapshot_EntityEquipment) Unmarshal(dAtA []byte) error
func (*Replay_Snapshot_EntityEquipment) XXX_DiscardUnknown ¶
func (m *Replay_Snapshot_EntityEquipment) XXX_DiscardUnknown()
func (*Replay_Snapshot_EntityEquipment) XXX_Marshal ¶
func (m *Replay_Snapshot_EntityEquipment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Replay_Snapshot_EntityEquipment) XXX_Merge ¶
func (m *Replay_Snapshot_EntityEquipment) XXX_Merge(src proto.Message)
func (*Replay_Snapshot_EntityEquipment) XXX_Size ¶
func (m *Replay_Snapshot_EntityEquipment) XXX_Size() int
func (*Replay_Snapshot_EntityEquipment) XXX_Unmarshal ¶
func (m *Replay_Snapshot_EntityEquipment) XXX_Unmarshal(b []byte) error
type Replay_Snapshot_EntityUpdate ¶
type Replay_Snapshot_EntityUpdate struct { EntityId int32 `protobuf:"varint,1,opt,name=entityId,proto3" json:"entityId,omitempty"` Positions []*Point `protobuf:"bytes,2,rep,name=positions,proto3" json:"positions,omitempty"` AngleX int32 `protobuf:"varint,3,opt,name=angleX,proto3" json:"angleX,omitempty"` Hp int32 `protobuf:"varint,4,opt,name=hp,proto3" json:"hp,omitempty"` Armor int32 `protobuf:"varint,5,opt,name=armor,proto3" json:"armor,omitempty"` FlashDuration float32 `protobuf:"fixed32,6,opt,name=flashDuration,proto3" json:"flashDuration,omitempty"` Team Team `protobuf:"varint,7,opt,name=team,proto3,enum=gen.Team" json:"team,omitempty"` IsNpc bool `protobuf:"varint,8,opt,name=isNpc,proto3" json:"isNpc,omitempty"` AngleY int32 `protobuf:"varint,9,opt,name=angleY,proto3" json:"angleY,omitempty"` HasHelmet bool `protobuf:"varint,10,opt,name=hasHelmet,proto3" json:"hasHelmet,omitempty"` HasDefuseKit bool `protobuf:"varint,11,opt,name=hasDefuseKit,proto3" json:"hasDefuseKit,omitempty"` Equipment []*Replay_Snapshot_EntityEquipment `protobuf:"bytes,12,rep,name=equipment,proto3" json:"equipment,omitempty"` }
func (*Replay_Snapshot_EntityUpdate) Descriptor ¶
func (*Replay_Snapshot_EntityUpdate) Descriptor() ([]byte, []int)
func (*Replay_Snapshot_EntityUpdate) GetAngleX ¶
func (m *Replay_Snapshot_EntityUpdate) GetAngleX() int32
func (*Replay_Snapshot_EntityUpdate) GetAngleY ¶
func (m *Replay_Snapshot_EntityUpdate) GetAngleY() int32
func (*Replay_Snapshot_EntityUpdate) GetArmor ¶
func (m *Replay_Snapshot_EntityUpdate) GetArmor() int32
func (*Replay_Snapshot_EntityUpdate) GetEntityId ¶
func (m *Replay_Snapshot_EntityUpdate) GetEntityId() int32
func (*Replay_Snapshot_EntityUpdate) GetEquipment ¶
func (m *Replay_Snapshot_EntityUpdate) GetEquipment() []*Replay_Snapshot_EntityEquipment
func (*Replay_Snapshot_EntityUpdate) GetFlashDuration ¶
func (m *Replay_Snapshot_EntityUpdate) GetFlashDuration() float32
func (*Replay_Snapshot_EntityUpdate) GetHasDefuseKit ¶
func (m *Replay_Snapshot_EntityUpdate) GetHasDefuseKit() bool
func (*Replay_Snapshot_EntityUpdate) GetHasHelmet ¶
func (m *Replay_Snapshot_EntityUpdate) GetHasHelmet() bool
func (*Replay_Snapshot_EntityUpdate) GetHp ¶
func (m *Replay_Snapshot_EntityUpdate) GetHp() int32
func (*Replay_Snapshot_EntityUpdate) GetIsNpc ¶
func (m *Replay_Snapshot_EntityUpdate) GetIsNpc() bool
func (*Replay_Snapshot_EntityUpdate) GetPositions ¶
func (m *Replay_Snapshot_EntityUpdate) GetPositions() []*Point
func (*Replay_Snapshot_EntityUpdate) GetTeam ¶
func (m *Replay_Snapshot_EntityUpdate) GetTeam() Team
func (*Replay_Snapshot_EntityUpdate) Marshal ¶
func (m *Replay_Snapshot_EntityUpdate) Marshal() (dAtA []byte, err error)
func (*Replay_Snapshot_EntityUpdate) MarshalTo ¶
func (m *Replay_Snapshot_EntityUpdate) MarshalTo(dAtA []byte) (int, error)
func (*Replay_Snapshot_EntityUpdate) MarshalToSizedBuffer ¶
func (m *Replay_Snapshot_EntityUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Replay_Snapshot_EntityUpdate) ProtoMessage ¶
func (*Replay_Snapshot_EntityUpdate) ProtoMessage()
func (*Replay_Snapshot_EntityUpdate) Reset ¶
func (m *Replay_Snapshot_EntityUpdate) Reset()
func (*Replay_Snapshot_EntityUpdate) Size ¶
func (m *Replay_Snapshot_EntityUpdate) Size() (n int)
func (*Replay_Snapshot_EntityUpdate) String ¶
func (m *Replay_Snapshot_EntityUpdate) String() string
func (*Replay_Snapshot_EntityUpdate) Unmarshal ¶
func (m *Replay_Snapshot_EntityUpdate) Unmarshal(dAtA []byte) error
func (*Replay_Snapshot_EntityUpdate) XXX_DiscardUnknown ¶
func (m *Replay_Snapshot_EntityUpdate) XXX_DiscardUnknown()
func (*Replay_Snapshot_EntityUpdate) XXX_Marshal ¶
func (m *Replay_Snapshot_EntityUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Replay_Snapshot_EntityUpdate) XXX_Merge ¶
func (m *Replay_Snapshot_EntityUpdate) XXX_Merge(src proto.Message)
func (*Replay_Snapshot_EntityUpdate) XXX_Size ¶
func (m *Replay_Snapshot_EntityUpdate) XXX_Size() int
func (*Replay_Snapshot_EntityUpdate) XXX_Unmarshal ¶
func (m *Replay_Snapshot_EntityUpdate) XXX_Unmarshal(b []byte) error
type Replay_Tick ¶
type Replay_Tick struct { Nr int32 `protobuf:"varint,1,opt,name=nr,proto3" json:"nr,omitempty"` Events []*Replay_Tick_Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` }
func (*Replay_Tick) Descriptor ¶
func (*Replay_Tick) Descriptor() ([]byte, []int)
func (*Replay_Tick) GetEvents ¶
func (m *Replay_Tick) GetEvents() []*Replay_Tick_Event
func (*Replay_Tick) GetNr ¶
func (m *Replay_Tick) GetNr() int32
func (*Replay_Tick) Marshal ¶
func (m *Replay_Tick) Marshal() (dAtA []byte, err error)
func (*Replay_Tick) MarshalToSizedBuffer ¶
func (m *Replay_Tick) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Replay_Tick) ProtoMessage ¶
func (*Replay_Tick) ProtoMessage()
func (*Replay_Tick) Reset ¶
func (m *Replay_Tick) Reset()
func (*Replay_Tick) Size ¶
func (m *Replay_Tick) Size() (n int)
func (*Replay_Tick) String ¶
func (m *Replay_Tick) String() string
func (*Replay_Tick) Unmarshal ¶
func (m *Replay_Tick) Unmarshal(dAtA []byte) error
func (*Replay_Tick) XXX_DiscardUnknown ¶
func (m *Replay_Tick) XXX_DiscardUnknown()
func (*Replay_Tick) XXX_Marshal ¶
func (m *Replay_Tick) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Replay_Tick) XXX_Merge ¶
func (m *Replay_Tick) XXX_Merge(src proto.Message)
func (*Replay_Tick) XXX_Size ¶
func (m *Replay_Tick) XXX_Size() int
func (*Replay_Tick) XXX_Unmarshal ¶
func (m *Replay_Tick) XXX_Unmarshal(b []byte) error
type Replay_Tick_Event ¶
type Replay_Tick_Event struct { Kind Replay_Tick_Event_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=gen.Replay_Tick_Event_Kind" json:"kind,omitempty"` Attributes []*Replay_Tick_Event_Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` }
func (*Replay_Tick_Event) Descriptor ¶
func (*Replay_Tick_Event) Descriptor() ([]byte, []int)
func (*Replay_Tick_Event) GetAttributes ¶
func (m *Replay_Tick_Event) GetAttributes() []*Replay_Tick_Event_Attribute
func (*Replay_Tick_Event) GetKind ¶
func (m *Replay_Tick_Event) GetKind() Replay_Tick_Event_Kind
func (*Replay_Tick_Event) Marshal ¶
func (m *Replay_Tick_Event) Marshal() (dAtA []byte, err error)
func (*Replay_Tick_Event) MarshalTo ¶
func (m *Replay_Tick_Event) MarshalTo(dAtA []byte) (int, error)
func (*Replay_Tick_Event) MarshalToSizedBuffer ¶
func (m *Replay_Tick_Event) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Replay_Tick_Event) ProtoMessage ¶
func (*Replay_Tick_Event) ProtoMessage()
func (*Replay_Tick_Event) Reset ¶
func (m *Replay_Tick_Event) Reset()
func (*Replay_Tick_Event) Size ¶
func (m *Replay_Tick_Event) Size() (n int)
func (*Replay_Tick_Event) String ¶
func (m *Replay_Tick_Event) String() string
func (*Replay_Tick_Event) Unmarshal ¶
func (m *Replay_Tick_Event) Unmarshal(dAtA []byte) error
func (*Replay_Tick_Event) XXX_DiscardUnknown ¶
func (m *Replay_Tick_Event) XXX_DiscardUnknown()
func (*Replay_Tick_Event) XXX_Marshal ¶
func (m *Replay_Tick_Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Replay_Tick_Event) XXX_Merge ¶
func (m *Replay_Tick_Event) XXX_Merge(src proto.Message)
func (*Replay_Tick_Event) XXX_Size ¶
func (m *Replay_Tick_Event) XXX_Size() int
func (*Replay_Tick_Event) XXX_Unmarshal ¶
func (m *Replay_Tick_Event) XXX_Unmarshal(b []byte) error
type Replay_Tick_Event_Attribute ¶
type Replay_Tick_Event_Attribute struct { Kind Replay_Tick_Event_Attribute_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=gen.Replay_Tick_Event_Attribute_Kind" json:"kind,omitempty"` StringValue string `protobuf:"bytes,2,opt,name=stringValue,proto3" json:"stringValue,omitempty"` NumberValue float64 `protobuf:"fixed64,3,opt,name=numberValue,proto3" json:"numberValue,omitempty"` CustomName string `protobuf:"bytes,4,opt,name=customName,proto3" json:"customName,omitempty"` }
func (*Replay_Tick_Event_Attribute) Descriptor ¶
func (*Replay_Tick_Event_Attribute) Descriptor() ([]byte, []int)
func (*Replay_Tick_Event_Attribute) GetCustomName ¶
func (m *Replay_Tick_Event_Attribute) GetCustomName() string
func (*Replay_Tick_Event_Attribute) GetKind ¶
func (m *Replay_Tick_Event_Attribute) GetKind() Replay_Tick_Event_Attribute_Kind
func (*Replay_Tick_Event_Attribute) GetNumberValue ¶
func (m *Replay_Tick_Event_Attribute) GetNumberValue() float64
func (*Replay_Tick_Event_Attribute) GetStringValue ¶
func (m *Replay_Tick_Event_Attribute) GetStringValue() string
func (*Replay_Tick_Event_Attribute) Marshal ¶
func (m *Replay_Tick_Event_Attribute) Marshal() (dAtA []byte, err error)
func (*Replay_Tick_Event_Attribute) MarshalTo ¶
func (m *Replay_Tick_Event_Attribute) MarshalTo(dAtA []byte) (int, error)
func (*Replay_Tick_Event_Attribute) MarshalToSizedBuffer ¶
func (m *Replay_Tick_Event_Attribute) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Replay_Tick_Event_Attribute) ProtoMessage ¶
func (*Replay_Tick_Event_Attribute) ProtoMessage()
func (*Replay_Tick_Event_Attribute) Reset ¶
func (m *Replay_Tick_Event_Attribute) Reset()
func (*Replay_Tick_Event_Attribute) Size ¶
func (m *Replay_Tick_Event_Attribute) Size() (n int)
func (*Replay_Tick_Event_Attribute) String ¶
func (m *Replay_Tick_Event_Attribute) String() string
func (*Replay_Tick_Event_Attribute) Unmarshal ¶
func (m *Replay_Tick_Event_Attribute) Unmarshal(dAtA []byte) error
func (*Replay_Tick_Event_Attribute) XXX_DiscardUnknown ¶
func (m *Replay_Tick_Event_Attribute) XXX_DiscardUnknown()
func (*Replay_Tick_Event_Attribute) XXX_Marshal ¶
func (m *Replay_Tick_Event_Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Replay_Tick_Event_Attribute) XXX_Merge ¶
func (m *Replay_Tick_Event_Attribute) XXX_Merge(src proto.Message)
func (*Replay_Tick_Event_Attribute) XXX_Size ¶
func (m *Replay_Tick_Event_Attribute) XXX_Size() int
func (*Replay_Tick_Event_Attribute) XXX_Unmarshal ¶
func (m *Replay_Tick_Event_Attribute) XXX_Unmarshal(b []byte) error
type Replay_Tick_Event_Attribute_Kind ¶
type Replay_Tick_Event_Attribute_Kind int32
const ( Replay_Tick_Event_Attribute_ENTITY_ID Replay_Tick_Event_Attribute_Kind = 0 Replay_Tick_Event_Attribute_VICTIM Replay_Tick_Event_Attribute_Kind = 1 Replay_Tick_Event_Attribute_KILLER Replay_Tick_Event_Attribute_Kind = 2 Replay_Tick_Event_Attribute_ASSISTER Replay_Tick_Event_Attribute_Kind = 3 Replay_Tick_Event_Attribute_TEXT Replay_Tick_Event_Attribute_Kind = 4 Replay_Tick_Event_Attribute_EVENT_NAME Replay_Tick_Event_Attribute_Kind = 5 Replay_Tick_Event_Attribute_CUSTOM Replay_Tick_Event_Attribute_Kind = 6 Replay_Tick_Event_Attribute_THROWER_ENTITY_ID Replay_Tick_Event_Attribute_Kind = 7 )
func (Replay_Tick_Event_Attribute_Kind) EnumDescriptor ¶
func (Replay_Tick_Event_Attribute_Kind) EnumDescriptor() ([]byte, []int)
func (Replay_Tick_Event_Attribute_Kind) String ¶
func (x Replay_Tick_Event_Attribute_Kind) String() string
type Replay_Tick_Event_Kind ¶
type Replay_Tick_Event_Kind int32
const ( Replay_Tick_Event_JUMP Replay_Tick_Event_Kind = 0 Replay_Tick_Event_FIRE Replay_Tick_Event_Kind = 1 Replay_Tick_Event_HURT Replay_Tick_Event_Kind = 2 Replay_Tick_Event_FLASHED Replay_Tick_Event_Kind = 3 Replay_Tick_Event_KILL Replay_Tick_Event_Kind = 4 Replay_Tick_Event_ROUND_STARTED Replay_Tick_Event_Kind = 5 Replay_Tick_Event_SWAP_TEAM Replay_Tick_Event_Kind = 6 Replay_Tick_Event_DISCONNECT Replay_Tick_Event_Kind = 7 Replay_Tick_Event_CHAT_MESSAGE Replay_Tick_Event_Kind = 8 Replay_Tick_Event_CUSTOM Replay_Tick_Event_Kind = 9 Replay_Tick_Event_MATCH_STARTED Replay_Tick_Event_Kind = 10 Replay_Tick_Event_GAME_PHASE_CHANGED Replay_Tick_Event_Kind = 11 Replay_Tick_Event_SMOKE_STARTED Replay_Tick_Event_Kind = 12 Replay_Tick_Event_SMOKE_EXPIRED Replay_Tick_Event_Kind = 13 Replay_Tick_Event_DECOY_STARTED Replay_Tick_Event_Kind = 14 Replay_Tick_Event_DECOY_EXPIRED Replay_Tick_Event_Kind = 15 Replay_Tick_Event_FIRE_GRENADE_STARTED Replay_Tick_Event_Kind = 16 Replay_Tick_Event_FIRE_GRENADE_EXPIRED Replay_Tick_Event_Kind = 17 Replay_Tick_Event_HE_GRENADE_EXPLOSION Replay_Tick_Event_Kind = 18 Replay_Tick_Event_FLASH_EXPLOSION Replay_Tick_Event_Kind = 19 )
func (Replay_Tick_Event_Kind) EnumDescriptor ¶
func (Replay_Tick_Event_Kind) EnumDescriptor() ([]byte, []int)
func (Replay_Tick_Event_Kind) String ¶
func (x Replay_Tick_Event_Kind) String() string
Click to show internal directories.
Click to hide internal directories.