v2

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClubSource_name = map[int32]string{
	0: "CLUB_SOURCE_OTHER",
	1: "CLUB_SOURCE_MESSAGE",
	2: "CLUB_SOURCE_CLUB_NAME",
	3: "CLUB_SOURCE_STREAM_NAME",
}
View Source
var ClubSource_value = map[string]int32{
	"CLUB_SOURCE_OTHER":       0,
	"CLUB_SOURCE_MESSAGE":     1,
	"CLUB_SOURCE_CLUB_NAME":   2,
	"CLUB_SOURCE_STREAM_NAME": 3,
}
View Source
var IssueType_name = map[int32]string{
	0: "ISSUE_TYPE_SPAM",
	1: "ISSUE_TYPE_HARASSMENT",
	3: "ISSUE_TYPE_OFFENSIVE_CONTENT",
	4: "ISSUE_TYPE_HACKING",
	5: "ISSUE_TYPE_BOTTING",
}
View Source
var IssueType_value = map[string]int32{
	"ISSUE_TYPE_SPAM":              0,
	"ISSUE_TYPE_HARASSMENT":        1,
	"ISSUE_TYPE_OFFENSIVE_CONTENT": 3,
	"ISSUE_TYPE_HACKING":           4,
	"ISSUE_TYPE_BOTTING":           5,
}
View Source
var UserSource_name = map[int32]string{
	0: "USER_SOURCE_OTHER",
	1: "USER_SOURCE_WHISPER",
	2: "USER_SOURCE_PROFILE",
	3: "USER_SOURCE_BATTLE_TAG",
	4: "USER_SOURCE_CHAT",
	5: "USER_SOURCE_FRIEND_INVITATION",
	6: "USER_SOURCE_VOICE",
}
View Source
var UserSource_value = map[string]int32{
	"USER_SOURCE_OTHER":             0,
	"USER_SOURCE_WHISPER":           1,
	"USER_SOURCE_PROFILE":           2,
	"USER_SOURCE_BATTLE_TAG":        3,
	"USER_SOURCE_CHAT":              4,
	"USER_SOURCE_FRIEND_INVITATION": 5,
	"USER_SOURCE_VOICE":             6,
}

Functions

This section is empty.

Types

type ClubOptions

type ClubOptions struct {
	ClubId               *uint64     `protobuf:"varint,1,opt,name=club_id,json=clubId" json:"club_id,omitempty"`
	StreamId             *uint64     `protobuf:"varint,2,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	Type                 *IssueType  `protobuf:"varint,3,opt,name=type,enum=bgs.protocol.report.v2.IssueType" json:"type,omitempty"`
	Source               *ClubSource `protobuf:"varint,4,opt,name=source,enum=bgs.protocol.report.v2.ClubSource" json:"source,omitempty"`
	Item                 *ReportItem `protobuf:"bytes,5,opt,name=item" json:"item,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ClubOptions) Descriptor

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

func (*ClubOptions) GetClubId

func (m *ClubOptions) GetClubId() uint64

func (*ClubOptions) GetItem

func (m *ClubOptions) GetItem() *ReportItem

func (*ClubOptions) GetSource

func (m *ClubOptions) GetSource() ClubSource

func (*ClubOptions) GetStreamId

func (m *ClubOptions) GetStreamId() uint64

func (*ClubOptions) GetType

func (m *ClubOptions) GetType() IssueType

func (*ClubOptions) ProtoMessage

func (*ClubOptions) ProtoMessage()

func (*ClubOptions) Reset

func (m *ClubOptions) Reset()

func (*ClubOptions) String

func (m *ClubOptions) String() string

func (*ClubOptions) XXX_DiscardUnknown

func (m *ClubOptions) XXX_DiscardUnknown()

func (*ClubOptions) XXX_Marshal

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

func (*ClubOptions) XXX_Merge

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

func (*ClubOptions) XXX_Size

func (m *ClubOptions) XXX_Size() int

func (*ClubOptions) XXX_Unmarshal

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

type ClubSource

type ClubSource int32
const (
	ClubSource_CLUB_SOURCE_OTHER       ClubSource = 0
	ClubSource_CLUB_SOURCE_MESSAGE     ClubSource = 1
	ClubSource_CLUB_SOURCE_CLUB_NAME   ClubSource = 2
	ClubSource_CLUB_SOURCE_STREAM_NAME ClubSource = 3
)

func (ClubSource) Enum

func (x ClubSource) Enum() *ClubSource

func (ClubSource) EnumDescriptor

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

func (ClubSource) String

func (x ClubSource) String() string

func (*ClubSource) UnmarshalJSON

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

type EntityOptions

type EntityOptions struct {
	EntityId             *string         `protobuf:"bytes,1,opt,name=entity_id,json=entityId" json:"entity_id,omitempty"`
	EntityType           *string         `protobuf:"bytes,2,opt,name=entity_type,json=entityType" json:"entity_type,omitempty"`
	Attribute            []*v2.Attribute `protobuf:"bytes,5,rep,name=attribute" json:"attribute,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*EntityOptions) Descriptor

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

func (*EntityOptions) GetAttribute

func (m *EntityOptions) GetAttribute() []*v2.Attribute

func (*EntityOptions) GetEntityId

func (m *EntityOptions) GetEntityId() string

func (*EntityOptions) GetEntityType

func (m *EntityOptions) GetEntityType() string

func (*EntityOptions) ProtoMessage

func (*EntityOptions) ProtoMessage()

func (*EntityOptions) Reset

func (m *EntityOptions) Reset()

func (*EntityOptions) String

func (m *EntityOptions) String() string

func (*EntityOptions) XXX_DiscardUnknown

func (m *EntityOptions) XXX_DiscardUnknown()

func (*EntityOptions) XXX_Marshal

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

func (*EntityOptions) XXX_Merge

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

func (*EntityOptions) XXX_Size

func (m *EntityOptions) XXX_Size() int

func (*EntityOptions) XXX_Unmarshal

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

type IssueType

type IssueType int32
const (
	IssueType_ISSUE_TYPE_SPAM              IssueType = 0
	IssueType_ISSUE_TYPE_HARASSMENT        IssueType = 1
	IssueType_ISSUE_TYPE_OFFENSIVE_CONTENT IssueType = 3
	IssueType_ISSUE_TYPE_HACKING           IssueType = 4
	IssueType_ISSUE_TYPE_BOTTING           IssueType = 5
)

func (IssueType) Enum

func (x IssueType) Enum() *IssueType

func (IssueType) EnumDescriptor

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

func (IssueType) String

func (x IssueType) String() string

func (*IssueType) UnmarshalJSON

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

type ReportItem

type ReportItem struct {
	// Types that are valid to be assigned to Type:
	//	*ReportItem_MessageId
	Type                 isReportItem_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ReportItem) Descriptor

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

func (*ReportItem) GetMessageId

func (m *ReportItem) GetMessageId() *protocol.MessageId

func (*ReportItem) GetType

func (m *ReportItem) GetType() isReportItem_Type

func (*ReportItem) ProtoMessage

func (*ReportItem) ProtoMessage()

func (*ReportItem) Reset

func (m *ReportItem) Reset()

func (*ReportItem) String

func (m *ReportItem) String() string

func (*ReportItem) XXX_DiscardUnknown

func (m *ReportItem) XXX_DiscardUnknown()

func (*ReportItem) XXX_Marshal

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

func (*ReportItem) XXX_Merge

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

func (*ReportItem) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ReportItem) XXX_Size

func (m *ReportItem) XXX_Size() int

func (*ReportItem) XXX_Unmarshal

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

type ReportItem_MessageId

type ReportItem_MessageId struct {
	MessageId *protocol.MessageId `protobuf:"bytes,1,opt,name=message_id,json=messageId,oneof"`
}

type SubmitReportRequest

type SubmitReportRequest struct {
	AgentId         *v1.AccountId `protobuf:"bytes,1,opt,name=agent_id,json=agentId" json:"agent_id,omitempty"`
	UserDescription *string       `protobuf:"bytes,2,opt,name=user_description,json=userDescription" json:"user_description,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*SubmitReportRequest_UserOptions
	//	*SubmitReportRequest_ClubOptions
	//	*SubmitReportRequest_EntityOptions
	Type                 isSubmitReportRequest_Type `protobuf_oneof:"type"`
	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.AccountId

func (*SubmitReportRequest) GetClubOptions

func (m *SubmitReportRequest) GetClubOptions() *ClubOptions

func (*SubmitReportRequest) GetEntityOptions

func (m *SubmitReportRequest) GetEntityOptions() *EntityOptions

func (*SubmitReportRequest) GetType

func (m *SubmitReportRequest) GetType() isSubmitReportRequest_Type

func (*SubmitReportRequest) GetUserDescription

func (m *SubmitReportRequest) GetUserDescription() string

func (*SubmitReportRequest) GetUserOptions

func (m *SubmitReportRequest) GetUserOptions() *UserOptions

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_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*SubmitReportRequest) XXX_Size

func (m *SubmitReportRequest) XXX_Size() int

func (*SubmitReportRequest) XXX_Unmarshal

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

type SubmitReportRequest_ClubOptions

type SubmitReportRequest_ClubOptions struct {
	ClubOptions *ClubOptions `protobuf:"bytes,11,opt,name=club_options,json=clubOptions,oneof"`
}

type SubmitReportRequest_EntityOptions

type SubmitReportRequest_EntityOptions struct {
	EntityOptions *EntityOptions `protobuf:"bytes,20,opt,name=entity_options,json=entityOptions,oneof"`
}

type SubmitReportRequest_UserOptions

type SubmitReportRequest_UserOptions struct {
	UserOptions *UserOptions `protobuf:"bytes,10,opt,name=user_options,json=userOptions,oneof"`
}

type UserOptions

type UserOptions struct {
	TargetId             *v1.AccountId `protobuf:"bytes,1,opt,name=target_id,json=targetId" json:"target_id,omitempty"`
	Type                 *IssueType    `protobuf:"varint,2,opt,name=type,enum=bgs.protocol.report.v2.IssueType" json:"type,omitempty"`
	Source               *UserSource   `protobuf:"varint,3,opt,name=source,enum=bgs.protocol.report.v2.UserSource" json:"source,omitempty"`
	Item                 *ReportItem   `protobuf:"bytes,4,opt,name=item" json:"item,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*UserOptions) Descriptor

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

func (*UserOptions) GetItem

func (m *UserOptions) GetItem() *ReportItem

func (*UserOptions) GetSource

func (m *UserOptions) GetSource() UserSource

func (*UserOptions) GetTargetId

func (m *UserOptions) GetTargetId() *v1.AccountId

func (*UserOptions) GetType

func (m *UserOptions) GetType() IssueType

func (*UserOptions) ProtoMessage

func (*UserOptions) ProtoMessage()

func (*UserOptions) Reset

func (m *UserOptions) Reset()

func (*UserOptions) String

func (m *UserOptions) String() string

func (*UserOptions) XXX_DiscardUnknown

func (m *UserOptions) XXX_DiscardUnknown()

func (*UserOptions) XXX_Marshal

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

func (*UserOptions) XXX_Merge

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

func (*UserOptions) XXX_Size

func (m *UserOptions) XXX_Size() int

func (*UserOptions) XXX_Unmarshal

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

type UserSource

type UserSource int32
const (
	UserSource_USER_SOURCE_OTHER             UserSource = 0
	UserSource_USER_SOURCE_WHISPER           UserSource = 1
	UserSource_USER_SOURCE_PROFILE           UserSource = 2
	UserSource_USER_SOURCE_BATTLE_TAG        UserSource = 3
	UserSource_USER_SOURCE_CHAT              UserSource = 4
	UserSource_USER_SOURCE_FRIEND_INVITATION UserSource = 5
	UserSource_USER_SOURCE_VOICE             UserSource = 6
)

func (UserSource) Enum

func (x UserSource) Enum() *UserSource

func (UserSource) EnumDescriptor

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

func (UserSource) String

func (x UserSource) String() string

func (*UserSource) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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