v1

package
v0.0.0-...-382259f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Default_Report_ReportQos int32 = 0

Variables

View Source
var SpamReport_SpamSource_name = map[int32]string{
	1: "OTHER",
	2: "FRIEND_INVITATION",
	3: "WHISPER",
	4: "CHAT",
}
View Source
var SpamReport_SpamSource_value = map[string]int32{
	"OTHER":             1,
	"FRIEND_INVITATION": 2,
	"WHISPER":           3,
	"CHAT":              4,
}

Functions

This section is empty.

Types

type BottingReport

type BottingReport struct {
	Target               *v1.GameAccountHandle `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*BottingReport) Descriptor

func (*BottingReport) Descriptor() ([]byte, []int)

func (*BottingReport) GetTarget

func (m *BottingReport) GetTarget() *v1.GameAccountHandle

func (*BottingReport) ProtoMessage

func (*BottingReport) ProtoMessage()

func (*BottingReport) Reset

func (m *BottingReport) Reset()

func (*BottingReport) String

func (m *BottingReport) String() string

func (*BottingReport) XXX_DiscardUnknown

func (m *BottingReport) XXX_DiscardUnknown()

func (*BottingReport) XXX_Marshal

func (m *BottingReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BottingReport) XXX_Merge

func (m *BottingReport) XXX_Merge(src proto.Message)

func (*BottingReport) XXX_Size

func (m *BottingReport) XXX_Size() int

func (*BottingReport) XXX_Unmarshal

func (m *BottingReport) XXX_Unmarshal(b []byte) error

type CustomReport

type CustomReport struct {
	Type                 *string               `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	ProgramId            *string               `protobuf:"bytes,2,opt,name=program_id,json=programId" json:"program_id,omitempty"` // Deprecated: Do not use.
	Attribute            []*protocol.Attribute `protobuf:"bytes,3,rep,name=attribute" json:"attribute,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*CustomReport) Descriptor

func (*CustomReport) Descriptor() ([]byte, []int)

func (*CustomReport) GetAttribute

func (m *CustomReport) GetAttribute() []*protocol.Attribute

func (*CustomReport) GetProgramId deprecated

func (m *CustomReport) GetProgramId() string

Deprecated: Do not use.

func (*CustomReport) GetType

func (m *CustomReport) GetType() string

func (*CustomReport) ProtoMessage

func (*CustomReport) ProtoMessage()

func (*CustomReport) Reset

func (m *CustomReport) Reset()

func (*CustomReport) String

func (m *CustomReport) String() string

func (*CustomReport) XXX_DiscardUnknown

func (m *CustomReport) XXX_DiscardUnknown()

func (*CustomReport) XXX_Marshal

func (m *CustomReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomReport) XXX_Merge

func (m *CustomReport) XXX_Merge(src proto.Message)

func (*CustomReport) XXX_Size

func (m *CustomReport) XXX_Size() int

func (*CustomReport) XXX_Unmarshal

func (m *CustomReport) XXX_Unmarshal(b []byte) error

type HackingReport

type HackingReport struct {
	Target               *v1.GameAccountHandle `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*HackingReport) Descriptor

func (*HackingReport) Descriptor() ([]byte, []int)

func (*HackingReport) GetTarget

func (m *HackingReport) GetTarget() *v1.GameAccountHandle

func (*HackingReport) ProtoMessage

func (*HackingReport) ProtoMessage()

func (*HackingReport) Reset

func (m *HackingReport) Reset()

func (*HackingReport) String

func (m *HackingReport) String() string

func (*HackingReport) XXX_DiscardUnknown

func (m *HackingReport) XXX_DiscardUnknown()

func (*HackingReport) XXX_Marshal

func (m *HackingReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HackingReport) XXX_Merge

func (m *HackingReport) XXX_Merge(src proto.Message)

func (*HackingReport) XXX_Size

func (m *HackingReport) XXX_Size() int

func (*HackingReport) XXX_Unmarshal

func (m *HackingReport) XXX_Unmarshal(b []byte) error

type HarassmentReport

type HarassmentReport struct {
	Target               *v1.GameAccountHandle `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
	Text                 *string               `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*HarassmentReport) Descriptor

func (*HarassmentReport) Descriptor() ([]byte, []int)

func (*HarassmentReport) GetTarget

func (m *HarassmentReport) GetTarget() *v1.GameAccountHandle

func (*HarassmentReport) GetText

func (m *HarassmentReport) GetText() string

func (*HarassmentReport) ProtoMessage

func (*HarassmentReport) ProtoMessage()

func (*HarassmentReport) Reset

func (m *HarassmentReport) Reset()

func (*HarassmentReport) String

func (m *HarassmentReport) String() string

func (*HarassmentReport) XXX_DiscardUnknown

func (m *HarassmentReport) XXX_DiscardUnknown()

func (*HarassmentReport) XXX_Marshal

func (m *HarassmentReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HarassmentReport) XXX_Merge

func (m *HarassmentReport) XXX_Merge(src proto.Message)

func (*HarassmentReport) XXX_Size

func (m *HarassmentReport) XXX_Size() int

func (*HarassmentReport) XXX_Unmarshal

func (m *HarassmentReport) XXX_Unmarshal(b []byte) error

type InappropriateBattleTagReport

type InappropriateBattleTagReport struct {
	Target               *v1.GameAccountHandle `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
	BattleTag            *string               `protobuf:"bytes,2,opt,name=battle_tag,json=battleTag" json:"battle_tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*InappropriateBattleTagReport) Descriptor

func (*InappropriateBattleTagReport) Descriptor() ([]byte, []int)

func (*InappropriateBattleTagReport) GetBattleTag

func (m *InappropriateBattleTagReport) GetBattleTag() string

func (*InappropriateBattleTagReport) GetTarget

func (*InappropriateBattleTagReport) ProtoMessage

func (*InappropriateBattleTagReport) ProtoMessage()

func (*InappropriateBattleTagReport) Reset

func (m *InappropriateBattleTagReport) Reset()

func (*InappropriateBattleTagReport) String

func (*InappropriateBattleTagReport) XXX_DiscardUnknown

func (m *InappropriateBattleTagReport) XXX_DiscardUnknown()

func (*InappropriateBattleTagReport) XXX_Marshal

func (m *InappropriateBattleTagReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InappropriateBattleTagReport) XXX_Merge

func (m *InappropriateBattleTagReport) XXX_Merge(src proto.Message)

func (*InappropriateBattleTagReport) XXX_Size

func (m *InappropriateBattleTagReport) XXX_Size() int

func (*InappropriateBattleTagReport) XXX_Unmarshal

func (m *InappropriateBattleTagReport) XXX_Unmarshal(b []byte) error

type RealLifeThreatReport

type RealLifeThreatReport struct {
	Target               *v1.GameAccountHandle `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
	Text                 *string               `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*RealLifeThreatReport) Descriptor

func (*RealLifeThreatReport) Descriptor() ([]byte, []int)

func (*RealLifeThreatReport) GetTarget

func (m *RealLifeThreatReport) GetTarget() *v1.GameAccountHandle

func (*RealLifeThreatReport) GetText

func (m *RealLifeThreatReport) GetText() string

func (*RealLifeThreatReport) ProtoMessage

func (*RealLifeThreatReport) ProtoMessage()

func (*RealLifeThreatReport) Reset

func (m *RealLifeThreatReport) Reset()

func (*RealLifeThreatReport) String

func (m *RealLifeThreatReport) String() string

func (*RealLifeThreatReport) XXX_DiscardUnknown

func (m *RealLifeThreatReport) XXX_DiscardUnknown()

func (*RealLifeThreatReport) XXX_Marshal

func (m *RealLifeThreatReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RealLifeThreatReport) XXX_Merge

func (m *RealLifeThreatReport) XXX_Merge(src proto.Message)

func (*RealLifeThreatReport) XXX_Size

func (m *RealLifeThreatReport) XXX_Size() int

func (*RealLifeThreatReport) XXX_Unmarshal

func (m *RealLifeThreatReport) XXX_Unmarshal(b []byte) error

type Report

type Report struct {
	ReportType           *string               `protobuf:"bytes,1,req,name=report_type,json=reportType" json:"report_type,omitempty"`
	Attribute            []*protocol.Attribute `protobuf:"bytes,2,rep,name=attribute" json:"attribute,omitempty"`
	ReportQos            *int32                `protobuf:"varint,3,opt,name=report_qos,json=reportQos,def=0" json:"report_qos,omitempty"`
	ReportingAccount     *protocol.EntityId    `protobuf:"bytes,4,opt,name=reporting_account,json=reportingAccount" json:"reporting_account,omitempty"`
	ReportingGameAccount *protocol.EntityId    `protobuf:"bytes,5,opt,name=reporting_game_account,json=reportingGameAccount" json:"reporting_game_account,omitempty"`
	ReportTimestamp      *uint64               `protobuf:"fixed64,6,opt,name=report_timestamp,json=reportTimestamp" json:"report_timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Report) Descriptor

func (*Report) Descriptor() ([]byte, []int)

func (*Report) GetAttribute

func (m *Report) GetAttribute() []*protocol.Attribute

func (*Report) GetReportQos

func (m *Report) GetReportQos() int32

func (*Report) GetReportTimestamp

func (m *Report) GetReportTimestamp() uint64

func (*Report) GetReportType

func (m *Report) GetReportType() string

func (*Report) GetReportingAccount

func (m *Report) GetReportingAccount() *protocol.EntityId

func (*Report) GetReportingGameAccount

func (m *Report) GetReportingGameAccount() *protocol.EntityId

func (*Report) ProtoMessage

func (*Report) ProtoMessage()

func (*Report) Reset

func (m *Report) Reset()

func (*Report) String

func (m *Report) String() string

func (*Report) XXX_DiscardUnknown

func (m *Report) XXX_DiscardUnknown()

func (*Report) XXX_Marshal

func (m *Report) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Report) XXX_Merge

func (m *Report) XXX_Merge(src proto.Message)

func (*Report) XXX_Size

func (m *Report) XXX_Size() int

func (*Report) XXX_Unmarshal

func (m *Report) XXX_Unmarshal(b []byte) error

type ReportType

type ReportType struct {
	UserDescription *string `protobuf:"bytes,1,opt,name=user_description,json=userDescription" json:"user_description,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*ReportType_CustomReport
	//	*ReportType_SpamReport
	//	*ReportType_HarassmentReport
	//	*ReportType_RealLifeThreatReport
	//	*ReportType_InappropriateBattleTagReport
	//	*ReportType_HackingReport
	//	*ReportType_BottingReport
	Type                 isReportType_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ReportType) Descriptor

func (*ReportType) Descriptor() ([]byte, []int)

func (*ReportType) GetBottingReport

func (m *ReportType) GetBottingReport() *BottingReport

func (*ReportType) GetCustomReport

func (m *ReportType) GetCustomReport() *CustomReport

func (*ReportType) GetHackingReport

func (m *ReportType) GetHackingReport() *HackingReport

func (*ReportType) GetHarassmentReport

func (m *ReportType) GetHarassmentReport() *HarassmentReport

func (*ReportType) GetInappropriateBattleTagReport

func (m *ReportType) GetInappropriateBattleTagReport() *InappropriateBattleTagReport

func (*ReportType) GetRealLifeThreatReport

func (m *ReportType) GetRealLifeThreatReport() *RealLifeThreatReport

func (*ReportType) GetSpamReport

func (m *ReportType) GetSpamReport() *SpamReport

func (*ReportType) GetType

func (m *ReportType) GetType() isReportType_Type

func (*ReportType) GetUserDescription

func (m *ReportType) GetUserDescription() string

func (*ReportType) ProtoMessage

func (*ReportType) ProtoMessage()

func (*ReportType) Reset

func (m *ReportType) Reset()

func (*ReportType) String

func (m *ReportType) String() string

func (*ReportType) XXX_DiscardUnknown

func (m *ReportType) XXX_DiscardUnknown()

func (*ReportType) XXX_Marshal

func (m *ReportType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportType) XXX_Merge

func (m *ReportType) XXX_Merge(src proto.Message)

func (*ReportType) XXX_OneofWrappers

func (*ReportType) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ReportType) XXX_Size

func (m *ReportType) XXX_Size() int

func (*ReportType) XXX_Unmarshal

func (m *ReportType) XXX_Unmarshal(b []byte) error

type ReportType_BottingReport

type ReportType_BottingReport struct {
	BottingReport *BottingReport `protobuf:"bytes,16,opt,name=botting_report,json=bottingReport,oneof"`
}

type ReportType_CustomReport

type ReportType_CustomReport struct {
	CustomReport *CustomReport `protobuf:"bytes,10,opt,name=custom_report,json=customReport,oneof"`
}

type ReportType_HackingReport

type ReportType_HackingReport struct {
	HackingReport *HackingReport `protobuf:"bytes,15,opt,name=hacking_report,json=hackingReport,oneof"`
}

type ReportType_HarassmentReport

type ReportType_HarassmentReport struct {
	HarassmentReport *HarassmentReport `protobuf:"bytes,12,opt,name=harassment_report,json=harassmentReport,oneof"`
}

type ReportType_InappropriateBattleTagReport

type ReportType_InappropriateBattleTagReport struct {
	InappropriateBattleTagReport *InappropriateBattleTagReport `protobuf:"bytes,14,opt,name=inappropriate_battle_tag_report,json=inappropriateBattleTagReport,oneof"`
}

type ReportType_RealLifeThreatReport

type ReportType_RealLifeThreatReport struct {
	RealLifeThreatReport *RealLifeThreatReport `protobuf:"bytes,13,opt,name=real_life_threat_report,json=realLifeThreatReport,oneof"`
}

type ReportType_SpamReport

type ReportType_SpamReport struct {
	SpamReport *SpamReport `protobuf:"bytes,11,opt,name=spam_report,json=spamReport,oneof"`
}

type SendReportRequest

type SendReportRequest struct {
	Report               *Report  `protobuf:"bytes,1,req,name=report" json:"report,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendReportRequest) Descriptor

func (*SendReportRequest) Descriptor() ([]byte, []int)

func (*SendReportRequest) GetReport

func (m *SendReportRequest) GetReport() *Report

func (*SendReportRequest) ProtoMessage

func (*SendReportRequest) ProtoMessage()

func (*SendReportRequest) Reset

func (m *SendReportRequest) Reset()

func (*SendReportRequest) String

func (m *SendReportRequest) String() string

func (*SendReportRequest) XXX_DiscardUnknown

func (m *SendReportRequest) XXX_DiscardUnknown()

func (*SendReportRequest) XXX_Marshal

func (m *SendReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendReportRequest) XXX_Merge

func (m *SendReportRequest) XXX_Merge(src proto.Message)

func (*SendReportRequest) XXX_Size

func (m *SendReportRequest) XXX_Size() int

func (*SendReportRequest) XXX_Unmarshal

func (m *SendReportRequest) XXX_Unmarshal(b []byte) error

type SpamReport

type SpamReport struct {
	Target               *v1.GameAccountHandle  `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
	Source               *SpamReport_SpamSource `protobuf:"varint,2,opt,name=source,enum=bgs.protocol.report.v1.SpamReport_SpamSource,def=1" json:"source,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*SpamReport) Descriptor

func (*SpamReport) Descriptor() ([]byte, []int)

func (*SpamReport) GetSource

func (m *SpamReport) GetSource() SpamReport_SpamSource

func (*SpamReport) GetTarget

func (m *SpamReport) GetTarget() *v1.GameAccountHandle

func (*SpamReport) ProtoMessage

func (*SpamReport) ProtoMessage()

func (*SpamReport) Reset

func (m *SpamReport) Reset()

func (*SpamReport) String

func (m *SpamReport) String() string

func (*SpamReport) XXX_DiscardUnknown

func (m *SpamReport) XXX_DiscardUnknown()

func (*SpamReport) XXX_Marshal

func (m *SpamReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpamReport) XXX_Merge

func (m *SpamReport) XXX_Merge(src proto.Message)

func (*SpamReport) XXX_Size

func (m *SpamReport) XXX_Size() int

func (*SpamReport) XXX_Unmarshal

func (m *SpamReport) XXX_Unmarshal(b []byte) error

type SpamReport_SpamSource

type SpamReport_SpamSource int32
const (
	SpamReport_OTHER             SpamReport_SpamSource = 1
	SpamReport_FRIEND_INVITATION SpamReport_SpamSource = 2
	SpamReport_WHISPER           SpamReport_SpamSource = 3
	SpamReport_CHAT              SpamReport_SpamSource = 4
)
const Default_SpamReport_Source SpamReport_SpamSource = SpamReport_OTHER

func (SpamReport_SpamSource) Enum

func (SpamReport_SpamSource) EnumDescriptor

func (SpamReport_SpamSource) EnumDescriptor() ([]byte, []int)

func (SpamReport_SpamSource) String

func (x SpamReport_SpamSource) String() string

func (*SpamReport_SpamSource) UnmarshalJSON

func (x *SpamReport_SpamSource) UnmarshalJSON(data []byte) error

type SubmitReportRequest

type SubmitReportRequest struct {
	AgentId              *v1.GameAccountHandle `protobuf:"bytes,1,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"`
	ReportType           *ReportType           `protobuf:"bytes,2,opt,name=report_type,json=reportType" json:"report_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*SubmitReportRequest) Descriptor

func (*SubmitReportRequest) Descriptor() ([]byte, []int)

func (*SubmitReportRequest) GetAgentId

func (m *SubmitReportRequest) GetAgentId() *v1.GameAccountHandle

func (*SubmitReportRequest) GetReportType

func (m *SubmitReportRequest) GetReportType() *ReportType

func (*SubmitReportRequest) ProtoMessage

func (*SubmitReportRequest) ProtoMessage()

func (*SubmitReportRequest) Reset

func (m *SubmitReportRequest) Reset()

func (*SubmitReportRequest) String

func (m *SubmitReportRequest) String() string

func (*SubmitReportRequest) XXX_DiscardUnknown

func (m *SubmitReportRequest) XXX_DiscardUnknown()

func (*SubmitReportRequest) XXX_Marshal

func (m *SubmitReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubmitReportRequest) XXX_Merge

func (m *SubmitReportRequest) XXX_Merge(src proto.Message)

func (*SubmitReportRequest) XXX_Size

func (m *SubmitReportRequest) XXX_Size() int

func (*SubmitReportRequest) XXX_Unmarshal

func (m *SubmitReportRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL