enums

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ApplicationScope_name = map[int32]string{
		0:     "SCOPES_NONE",
		1:     "READ_BASIC_USER_PROFILE",
		2:     "READ_GROUPS",
		4:     "WRITE_GROUPS",
		8:     "ADMIN_GROUPS",
		16:    "BNET_WRITE",
		32:    "MOVE_EQUIP_DESTINY_ITEMS",
		64:    "READ_DESTINY_INVENTORY_AND_VAULT",
		128:   "READ_USER_DATA",
		256:   "EDIT_USER_DATA",
		512:   "READ_DESTINY_VENDORS_AND_ADVISORS",
		1024:  "READ_AND_APPLY_TOKENS",
		2048:  "ADVANCED_WRITE_ACTIONS",
		4096:  "PARTNER_OFFER_GRANT",
		8192:  "DESTINY_UNLOCK_VALUE_QUERY",
		16384: "USER_PII_READ",
	}
	ApplicationScope_value = map[string]int32{
		"SCOPES_NONE":                       0,
		"READ_BASIC_USER_PROFILE":           1,
		"READ_GROUPS":                       2,
		"WRITE_GROUPS":                      4,
		"ADMIN_GROUPS":                      8,
		"BNET_WRITE":                        16,
		"MOVE_EQUIP_DESTINY_ITEMS":          32,
		"READ_DESTINY_INVENTORY_AND_VAULT":  64,
		"READ_USER_DATA":                    128,
		"EDIT_USER_DATA":                    256,
		"READ_DESTINY_VENDORS_AND_ADVISORS": 512,
		"READ_AND_APPLY_TOKENS":             1024,
		"ADVANCED_WRITE_ACTIONS":            2048,
		"PARTNER_OFFER_GRANT":               4096,
		"DESTINY_UNLOCK_VALUE_QUERY":        8192,
		"USER_PII_READ":                     16384,
	}
)

Enum value maps for ApplicationScope.

View Source
var (
	ApplicationStatus_name = map[int32]string{
		0: "APP_STATUS_NONE",
		1: "PRIVATE",
		2: "PUBLIC",
		3: "DISABLED",
		4: "BLOCKED",
	}
	ApplicationStatus_value = map[string]int32{
		"APP_STATUS_NONE": 0,
		"PRIVATE":         1,
		"PUBLIC":          2,
		"DISABLED":        3,
		"BLOCKED":         4,
	}
)

Enum value maps for ApplicationStatus.

View Source
var (
	DeveloperRole_name = map[int32]string{
		0: "ROLE_NONE",
		1: "OWNER",
		2: "TEAM_MEMBER",
	}
	DeveloperRole_value = map[string]int32{
		"ROLE_NONE":   0,
		"OWNER":       1,
		"TEAM_MEMBER": 2,
	}
)

Enum value maps for DeveloperRole.

View Source
var (
	BungieMembershipType_name = map[int32]string{
		0:   "MEMBERSHIP_NONE",
		1:   "TIGER_XBOX",
		2:   "TIGER_PSN",
		3:   "TIGER_STEAM",
		4:   "TIGER_BLIZZARD",
		5:   "TIGER_STADIA",
		10:  "TIGER_DEMON",
		254: "BUNGIE_NEXT",
		-1:  "ALL",
	}
	BungieMembershipType_value = map[string]int32{
		"MEMBERSHIP_NONE": 0,
		"TIGER_XBOX":      1,
		"TIGER_PSN":       2,
		"TIGER_STEAM":     3,
		"TIGER_BLIZZARD":  4,
		"TIGER_STADIA":    5,
		"TIGER_DEMON":     10,
		"BUNGIE_NEXT":     254,
		"ALL":             -1,
	}
)

Enum value maps for BungieMembershipType.

View Source
var (
	BungieCredentialType_name = map[int32]string{
		0:  "CREDENTIALS_NONE",
		1:  "XU_ID",
		2:  "PSN_ID",
		3:  "WILD",
		4:  "FAKE",
		5:  "FACEBOOK",
		8:  "GOOGLE",
		9:  "WINDOWS",
		10: "DEMON_ID",
		12: "STEAM_ID",
		14: "BATTLENET_ID",
		16: "STADIA_ID",
		18: "TWITCH_ID",
	}
	BungieCredentialType_value = map[string]int32{
		"CREDENTIALS_NONE": 0,
		"XU_ID":            1,
		"PSN_ID":           2,
		"WILD":             3,
		"FAKE":             4,
		"FACEBOOK":         5,
		"GOOGLE":           8,
		"WINDOWS":          9,
		"DEMON_ID":         10,
		"STEAM_ID":         12,
		"BATTLENET_ID":     14,
		"STADIA_ID":        16,
		"TWITCH_ID":        18,
	}
)

Enum value maps for BungieCredentialType.

View Source
var File_protos_enums_enums_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ApplicationScope

type ApplicationScope int32
const (
	ApplicationScope_SCOPES_NONE                       ApplicationScope = 0
	ApplicationScope_READ_BASIC_USER_PROFILE           ApplicationScope = 1
	ApplicationScope_READ_GROUPS                       ApplicationScope = 2
	ApplicationScope_WRITE_GROUPS                      ApplicationScope = 4
	ApplicationScope_ADMIN_GROUPS                      ApplicationScope = 8
	ApplicationScope_BNET_WRITE                        ApplicationScope = 16
	ApplicationScope_MOVE_EQUIP_DESTINY_ITEMS          ApplicationScope = 32
	ApplicationScope_READ_DESTINY_INVENTORY_AND_VAULT  ApplicationScope = 64
	ApplicationScope_READ_USER_DATA                    ApplicationScope = 128
	ApplicationScope_EDIT_USER_DATA                    ApplicationScope = 256
	ApplicationScope_READ_DESTINY_VENDORS_AND_ADVISORS ApplicationScope = 512
	ApplicationScope_READ_AND_APPLY_TOKENS             ApplicationScope = 1024
	ApplicationScope_ADVANCED_WRITE_ACTIONS            ApplicationScope = 2048
	ApplicationScope_PARTNER_OFFER_GRANT               ApplicationScope = 4096
	ApplicationScope_DESTINY_UNLOCK_VALUE_QUERY        ApplicationScope = 8192
	ApplicationScope_USER_PII_READ                     ApplicationScope = 16384
)

func (ApplicationScope) Descriptor

func (ApplicationScope) Enum

func (ApplicationScope) EnumDescriptor deprecated

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

Deprecated: Use ApplicationScope.Descriptor instead.

func (ApplicationScope) Number

func (ApplicationScope) String

func (x ApplicationScope) String() string

func (ApplicationScope) Type

type ApplicationStatus

type ApplicationStatus int32
const (
	ApplicationStatus_APP_STATUS_NONE ApplicationStatus = 0
	ApplicationStatus_PRIVATE         ApplicationStatus = 1
	ApplicationStatus_PUBLIC          ApplicationStatus = 2
	ApplicationStatus_DISABLED        ApplicationStatus = 3
	ApplicationStatus_BLOCKED         ApplicationStatus = 4
)

func (ApplicationStatus) Descriptor

func (ApplicationStatus) Enum

func (ApplicationStatus) EnumDescriptor deprecated

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

Deprecated: Use ApplicationStatus.Descriptor instead.

func (ApplicationStatus) Number

func (ApplicationStatus) String

func (x ApplicationStatus) String() string

func (ApplicationStatus) Type

type BungieCredentialType

type BungieCredentialType int32
const (
	BungieCredentialType_CREDENTIALS_NONE BungieCredentialType = 0
	BungieCredentialType_XU_ID            BungieCredentialType = 1
	BungieCredentialType_PSN_ID           BungieCredentialType = 2
	BungieCredentialType_WILD             BungieCredentialType = 3
	BungieCredentialType_FAKE             BungieCredentialType = 4
	BungieCredentialType_FACEBOOK         BungieCredentialType = 5
	BungieCredentialType_GOOGLE           BungieCredentialType = 8
	BungieCredentialType_WINDOWS          BungieCredentialType = 9
	BungieCredentialType_DEMON_ID         BungieCredentialType = 10
	BungieCredentialType_STEAM_ID         BungieCredentialType = 12
	BungieCredentialType_BATTLENET_ID     BungieCredentialType = 14
	BungieCredentialType_STADIA_ID        BungieCredentialType = 16
	BungieCredentialType_TWITCH_ID        BungieCredentialType = 18
)

func (BungieCredentialType) Descriptor

func (BungieCredentialType) Enum

func (BungieCredentialType) EnumDescriptor deprecated

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

Deprecated: Use BungieCredentialType.Descriptor instead.

func (BungieCredentialType) Number

func (BungieCredentialType) String

func (x BungieCredentialType) String() string

func (BungieCredentialType) Type

type BungieMembershipType

type BungieMembershipType int32
const (
	BungieMembershipType_MEMBERSHIP_NONE BungieMembershipType = 0
	BungieMembershipType_TIGER_XBOX      BungieMembershipType = 1
	BungieMembershipType_TIGER_PSN       BungieMembershipType = 2
	BungieMembershipType_TIGER_STEAM     BungieMembershipType = 3
	BungieMembershipType_TIGER_BLIZZARD  BungieMembershipType = 4
	BungieMembershipType_TIGER_STADIA    BungieMembershipType = 5
	BungieMembershipType_TIGER_DEMON     BungieMembershipType = 10
	BungieMembershipType_BUNGIE_NEXT     BungieMembershipType = 254
	BungieMembershipType_ALL             BungieMembershipType = -1
)

func (BungieMembershipType) Descriptor

func (BungieMembershipType) Enum

func (BungieMembershipType) EnumDescriptor deprecated

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

Deprecated: Use BungieMembershipType.Descriptor instead.

func (BungieMembershipType) Number

func (BungieMembershipType) String

func (x BungieMembershipType) String() string

func (BungieMembershipType) Type

type DeveloperRole

type DeveloperRole int32
const (
	DeveloperRole_ROLE_NONE   DeveloperRole = 0
	DeveloperRole_OWNER       DeveloperRole = 1
	DeveloperRole_TEAM_MEMBER DeveloperRole = 2
)

func (DeveloperRole) Descriptor

func (DeveloperRole) Enum

func (x DeveloperRole) Enum() *DeveloperRole

func (DeveloperRole) EnumDescriptor deprecated

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

Deprecated: Use DeveloperRole.Descriptor instead.

func (DeveloperRole) Number

func (DeveloperRole) String

func (x DeveloperRole) String() string

func (DeveloperRole) Type

Jump to

Keyboard shortcuts

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