Documentation ¶
Index ¶
- Variables
- type AuthenticationState
- type ErrorResponse
- func (*ErrorResponse) Descriptor() ([]byte, []int)
- func (*ErrorResponse) ProtoMessage()
- func (m *ErrorResponse) Reset()
- func (m *ErrorResponse) String() string
- func (m *ErrorResponse) XXX_DiscardUnknown()
- func (m *ErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ErrorResponse) XXX_Merge(src proto.Message)
- func (m *ErrorResponse) XXX_Size() int
- func (m *ErrorResponse) XXX_Unmarshal(b []byte) error
- type FormInput
- func (*FormInput) Descriptor() ([]byte, []int)
- func (m *FormInput) GetInputId() string
- func (m *FormInput) GetLabel() string
- func (m *FormInput) GetMaxLength() uint32
- func (m *FormInput) GetType() string
- func (*FormInput) ProtoMessage()
- func (m *FormInput) Reset()
- func (m *FormInput) String() string
- func (m *FormInput) XXX_DiscardUnknown()
- func (m *FormInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FormInput) XXX_Merge(src proto.Message)
- func (m *FormInput) XXX_Size() int
- func (m *FormInput) XXX_Unmarshal(b []byte) error
- type FormInputValue
- func (*FormInputValue) Descriptor() ([]byte, []int)
- func (m *FormInputValue) GetInputId() string
- func (m *FormInputValue) GetValue() string
- func (*FormInputValue) ProtoMessage()
- func (m *FormInputValue) Reset()
- func (m *FormInputValue) String() string
- func (m *FormInputValue) XXX_DiscardUnknown()
- func (m *FormInputValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FormInputValue) XXX_Merge(src proto.Message)
- func (m *FormInputValue) XXX_Size() int
- func (m *FormInputValue) XXX_Unmarshal(b []byte) error
- type FormInputs
- func (*FormInputs) Descriptor() ([]byte, []int)
- func (m *FormInputs) GetInputs() []*FormInput
- func (m *FormInputs) GetType() FormType
- func (*FormInputs) ProtoMessage()
- func (m *FormInputs) Reset()
- func (m *FormInputs) String() string
- func (m *FormInputs) XXX_DiscardUnknown()
- func (m *FormInputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FormInputs) XXX_Merge(src proto.Message)
- func (m *FormInputs) XXX_Size() int
- func (m *FormInputs) XXX_Unmarshal(b []byte) error
- type FormType
- type GameAccountInfo
- func (*GameAccountInfo) Descriptor() ([]byte, []int)
- func (m *GameAccountInfo) GetDisplayName() string
- func (m *GameAccountInfo) GetExpansion() uint32
- func (m *GameAccountInfo) GetIsBanned() bool
- func (m *GameAccountInfo) GetIsSuspended() bool
- func (m *GameAccountInfo) GetSuspensionExpires() uint64
- func (m *GameAccountInfo) GetSuspensionReason() string
- func (*GameAccountInfo) ProtoMessage()
- func (m *GameAccountInfo) Reset()
- func (m *GameAccountInfo) String() string
- func (m *GameAccountInfo) XXX_DiscardUnknown()
- func (m *GameAccountInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GameAccountInfo) XXX_Merge(src proto.Message)
- func (m *GameAccountInfo) XXX_Size() int
- func (m *GameAccountInfo) XXX_Unmarshal(b []byte) error
- type GameAccountList
- func (*GameAccountList) Descriptor() ([]byte, []int)
- func (m *GameAccountList) GetGameAccounts() []*GameAccountInfo
- func (*GameAccountList) ProtoMessage()
- func (m *GameAccountList) Reset()
- func (m *GameAccountList) String() string
- func (m *GameAccountList) XXX_DiscardUnknown()
- func (m *GameAccountList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GameAccountList) XXX_Merge(src proto.Message)
- func (m *GameAccountList) XXX_Size() int
- func (m *GameAccountList) XXX_Unmarshal(b []byte) error
- type LoginForm
- func (*LoginForm) Descriptor() ([]byte, []int)
- func (m *LoginForm) GetInputs() []*FormInputValue
- func (m *LoginForm) GetPlatformId() string
- func (m *LoginForm) GetProgramId() string
- func (m *LoginForm) GetVersion() string
- func (*LoginForm) ProtoMessage()
- func (m *LoginForm) Reset()
- func (m *LoginForm) String() string
- func (m *LoginForm) XXX_DiscardUnknown()
- func (m *LoginForm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginForm) XXX_Merge(src proto.Message)
- func (m *LoginForm) XXX_Size() int
- func (m *LoginForm) XXX_Unmarshal(b []byte) error
- type LoginRefreshResult
- func (*LoginRefreshResult) Descriptor() ([]byte, []int)
- func (m *LoginRefreshResult) GetIsExpired() bool
- func (m *LoginRefreshResult) GetLoginTicketExpiry() uint64
- func (*LoginRefreshResult) ProtoMessage()
- func (m *LoginRefreshResult) Reset()
- func (m *LoginRefreshResult) String() string
- func (m *LoginRefreshResult) XXX_DiscardUnknown()
- func (m *LoginRefreshResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginRefreshResult) XXX_Merge(src proto.Message)
- func (m *LoginRefreshResult) XXX_Size() int
- func (m *LoginRefreshResult) XXX_Unmarshal(b []byte) error
- type LoginResult
- func (*LoginResult) Descriptor() ([]byte, []int)
- func (m *LoginResult) GetAuthenticationState() AuthenticationState
- func (m *LoginResult) GetErrorCode() string
- func (m *LoginResult) GetErrorMessage() string
- func (m *LoginResult) GetLoginTicket() string
- func (m *LoginResult) GetUrl() string
- func (*LoginResult) ProtoMessage()
- func (m *LoginResult) Reset()
- func (m *LoginResult) String() string
- func (m *LoginResult) XXX_DiscardUnknown()
- func (m *LoginResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginResult) XXX_Merge(src proto.Message)
- func (m *LoginResult) XXX_Size() int
- func (m *LoginResult) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthenticationState_name = map[int32]string{
1: "LOGIN",
2: "LEGAL",
3: "AUTHENTICATOR",
4: "DONE",
}
View Source
var AuthenticationState_value = map[string]int32{
"LOGIN": 1,
"LEGAL": 2,
"AUTHENTICATOR": 3,
"DONE": 4,
}
View Source
var FormType_name = map[int32]string{
1: "LOGIN_FORM",
}
View Source
var FormType_value = map[string]int32{
"LOGIN_FORM": 1,
}
Functions ¶
This section is empty.
Types ¶
type AuthenticationState ¶
type AuthenticationState int32
const ( AuthenticationState_LOGIN AuthenticationState = 1 AuthenticationState_LEGAL AuthenticationState = 2 AuthenticationState_AUTHENTICATOR AuthenticationState = 3 AuthenticationState_DONE AuthenticationState = 4 )
func (AuthenticationState) Enum ¶
func (x AuthenticationState) Enum() *AuthenticationState
func (AuthenticationState) EnumDescriptor ¶
func (AuthenticationState) EnumDescriptor() ([]byte, []int)
func (AuthenticationState) String ¶
func (x AuthenticationState) String() string
func (*AuthenticationState) UnmarshalJSON ¶
func (x *AuthenticationState) UnmarshalJSON(data []byte) error
type ErrorResponse ¶
type ErrorResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ErrorResponse) Descriptor ¶
func (*ErrorResponse) Descriptor() ([]byte, []int)
func (*ErrorResponse) ProtoMessage ¶
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse) Reset ¶
func (m *ErrorResponse) Reset()
func (*ErrorResponse) String ¶
func (m *ErrorResponse) String() string
func (*ErrorResponse) XXX_DiscardUnknown ¶
func (m *ErrorResponse) XXX_DiscardUnknown()
func (*ErrorResponse) XXX_Marshal ¶
func (m *ErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ErrorResponse) XXX_Merge ¶
func (m *ErrorResponse) XXX_Merge(src proto.Message)
func (*ErrorResponse) XXX_Size ¶
func (m *ErrorResponse) XXX_Size() int
func (*ErrorResponse) XXX_Unmarshal ¶
func (m *ErrorResponse) XXX_Unmarshal(b []byte) error
type FormInput ¶
type FormInput struct { InputId *string `protobuf:"bytes,1,req,name=input_id,json=inputId" json:"input_id,omitempty"` Type *string `protobuf:"bytes,2,req,name=type" json:"type,omitempty"` Label *string `protobuf:"bytes,3,req,name=label" json:"label,omitempty"` MaxLength *uint32 `protobuf:"varint,4,opt,name=max_length,json=maxLength" json:"max_length,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FormInput) Descriptor ¶
func (*FormInput) GetInputId ¶
func (*FormInput) GetMaxLength ¶
func (*FormInput) ProtoMessage ¶
func (*FormInput) ProtoMessage()
func (*FormInput) XXX_DiscardUnknown ¶
func (m *FormInput) XXX_DiscardUnknown()
func (*FormInput) XXX_Marshal ¶
func (*FormInput) XXX_Unmarshal ¶
type FormInputValue ¶
type FormInputValue struct { InputId *string `protobuf:"bytes,1,req,name=input_id,json=inputId" json:"input_id,omitempty"` Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FormInputValue) Descriptor ¶
func (*FormInputValue) Descriptor() ([]byte, []int)
func (*FormInputValue) GetInputId ¶
func (m *FormInputValue) GetInputId() string
func (*FormInputValue) GetValue ¶
func (m *FormInputValue) GetValue() string
func (*FormInputValue) ProtoMessage ¶
func (*FormInputValue) ProtoMessage()
func (*FormInputValue) Reset ¶
func (m *FormInputValue) Reset()
func (*FormInputValue) String ¶
func (m *FormInputValue) String() string
func (*FormInputValue) XXX_DiscardUnknown ¶
func (m *FormInputValue) XXX_DiscardUnknown()
func (*FormInputValue) XXX_Marshal ¶
func (m *FormInputValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FormInputValue) XXX_Merge ¶
func (m *FormInputValue) XXX_Merge(src proto.Message)
func (*FormInputValue) XXX_Size ¶
func (m *FormInputValue) XXX_Size() int
func (*FormInputValue) XXX_Unmarshal ¶
func (m *FormInputValue) XXX_Unmarshal(b []byte) error
type FormInputs ¶
type FormInputs struct { Type *FormType `protobuf:"varint,1,req,name=type,enum=Battlenet.JSON.Login.FormType" json:"type,omitempty"` Inputs []*FormInput `protobuf:"bytes,2,rep,name=inputs" json:"inputs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FormInputs) Descriptor ¶
func (*FormInputs) Descriptor() ([]byte, []int)
func (*FormInputs) GetInputs ¶
func (m *FormInputs) GetInputs() []*FormInput
func (*FormInputs) GetType ¶
func (m *FormInputs) GetType() FormType
func (*FormInputs) ProtoMessage ¶
func (*FormInputs) ProtoMessage()
func (*FormInputs) Reset ¶
func (m *FormInputs) Reset()
func (*FormInputs) String ¶
func (m *FormInputs) String() string
func (*FormInputs) XXX_DiscardUnknown ¶
func (m *FormInputs) XXX_DiscardUnknown()
func (*FormInputs) XXX_Marshal ¶
func (m *FormInputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FormInputs) XXX_Merge ¶
func (m *FormInputs) XXX_Merge(src proto.Message)
func (*FormInputs) XXX_Size ¶
func (m *FormInputs) XXX_Size() int
func (*FormInputs) XXX_Unmarshal ¶
func (m *FormInputs) XXX_Unmarshal(b []byte) error
type FormType ¶
type FormType int32
const (
FormType_LOGIN_FORM FormType = 1
)
func (FormType) EnumDescriptor ¶
func (*FormType) UnmarshalJSON ¶
type GameAccountInfo ¶
type GameAccountInfo struct { DisplayName *string `protobuf:"bytes,1,req,name=display_name,json=displayName" json:"display_name,omitempty"` Expansion *uint32 `protobuf:"varint,2,req,name=expansion" json:"expansion,omitempty"` IsSuspended *bool `protobuf:"varint,3,opt,name=is_suspended,json=isSuspended" json:"is_suspended,omitempty"` IsBanned *bool `protobuf:"varint,4,opt,name=is_banned,json=isBanned" json:"is_banned,omitempty"` SuspensionExpires *uint64 `protobuf:"varint,5,opt,name=suspension_expires,json=suspensionExpires" json:"suspension_expires,omitempty"` SuspensionReason *string `protobuf:"bytes,6,opt,name=suspension_reason,json=suspensionReason" json:"suspension_reason,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GameAccountInfo) Descriptor ¶
func (*GameAccountInfo) Descriptor() ([]byte, []int)
func (*GameAccountInfo) GetDisplayName ¶
func (m *GameAccountInfo) GetDisplayName() string
func (*GameAccountInfo) GetExpansion ¶
func (m *GameAccountInfo) GetExpansion() uint32
func (*GameAccountInfo) GetIsBanned ¶
func (m *GameAccountInfo) GetIsBanned() bool
func (*GameAccountInfo) GetIsSuspended ¶
func (m *GameAccountInfo) GetIsSuspended() bool
func (*GameAccountInfo) GetSuspensionExpires ¶
func (m *GameAccountInfo) GetSuspensionExpires() uint64
func (*GameAccountInfo) GetSuspensionReason ¶
func (m *GameAccountInfo) GetSuspensionReason() string
func (*GameAccountInfo) ProtoMessage ¶
func (*GameAccountInfo) ProtoMessage()
func (*GameAccountInfo) Reset ¶
func (m *GameAccountInfo) Reset()
func (*GameAccountInfo) String ¶
func (m *GameAccountInfo) String() string
func (*GameAccountInfo) XXX_DiscardUnknown ¶
func (m *GameAccountInfo) XXX_DiscardUnknown()
func (*GameAccountInfo) XXX_Marshal ¶
func (m *GameAccountInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GameAccountInfo) XXX_Merge ¶
func (m *GameAccountInfo) XXX_Merge(src proto.Message)
func (*GameAccountInfo) XXX_Size ¶
func (m *GameAccountInfo) XXX_Size() int
func (*GameAccountInfo) XXX_Unmarshal ¶
func (m *GameAccountInfo) XXX_Unmarshal(b []byte) error
type GameAccountList ¶
type GameAccountList struct { GameAccounts []*GameAccountInfo `protobuf:"bytes,1,rep,name=game_accounts,json=gameAccounts" json:"game_accounts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GameAccountList) Descriptor ¶
func (*GameAccountList) Descriptor() ([]byte, []int)
func (*GameAccountList) GetGameAccounts ¶
func (m *GameAccountList) GetGameAccounts() []*GameAccountInfo
func (*GameAccountList) ProtoMessage ¶
func (*GameAccountList) ProtoMessage()
func (*GameAccountList) Reset ¶
func (m *GameAccountList) Reset()
func (*GameAccountList) String ¶
func (m *GameAccountList) String() string
func (*GameAccountList) XXX_DiscardUnknown ¶
func (m *GameAccountList) XXX_DiscardUnknown()
func (*GameAccountList) XXX_Marshal ¶
func (m *GameAccountList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GameAccountList) XXX_Merge ¶
func (m *GameAccountList) XXX_Merge(src proto.Message)
func (*GameAccountList) XXX_Size ¶
func (m *GameAccountList) XXX_Size() int
func (*GameAccountList) XXX_Unmarshal ¶
func (m *GameAccountList) XXX_Unmarshal(b []byte) error
type LoginForm ¶
type LoginForm struct { PlatformId *string `protobuf:"bytes,1,req,name=platform_id,json=platformId" json:"platform_id,omitempty"` ProgramId *string `protobuf:"bytes,2,req,name=program_id,json=programId" json:"program_id,omitempty"` Version *string `protobuf:"bytes,3,req,name=version" json:"version,omitempty"` Inputs []*FormInputValue `protobuf:"bytes,4,rep,name=inputs" json:"inputs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginForm) Descriptor ¶
func (*LoginForm) GetInputs ¶
func (m *LoginForm) GetInputs() []*FormInputValue
func (*LoginForm) GetPlatformId ¶
func (*LoginForm) GetProgramId ¶
func (*LoginForm) GetVersion ¶
func (*LoginForm) ProtoMessage ¶
func (*LoginForm) ProtoMessage()
func (*LoginForm) XXX_DiscardUnknown ¶
func (m *LoginForm) XXX_DiscardUnknown()
func (*LoginForm) XXX_Marshal ¶
func (*LoginForm) XXX_Unmarshal ¶
type LoginRefreshResult ¶
type LoginRefreshResult struct { LoginTicketExpiry *uint64 `protobuf:"varint,1,req,name=login_ticket_expiry,json=loginTicketExpiry" json:"login_ticket_expiry,omitempty"` IsExpired *bool `protobuf:"varint,2,opt,name=is_expired,json=isExpired" json:"is_expired,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginRefreshResult) Descriptor ¶
func (*LoginRefreshResult) Descriptor() ([]byte, []int)
func (*LoginRefreshResult) GetIsExpired ¶
func (m *LoginRefreshResult) GetIsExpired() bool
func (*LoginRefreshResult) GetLoginTicketExpiry ¶
func (m *LoginRefreshResult) GetLoginTicketExpiry() uint64
func (*LoginRefreshResult) ProtoMessage ¶
func (*LoginRefreshResult) ProtoMessage()
func (*LoginRefreshResult) Reset ¶
func (m *LoginRefreshResult) Reset()
func (*LoginRefreshResult) String ¶
func (m *LoginRefreshResult) String() string
func (*LoginRefreshResult) XXX_DiscardUnknown ¶
func (m *LoginRefreshResult) XXX_DiscardUnknown()
func (*LoginRefreshResult) XXX_Marshal ¶
func (m *LoginRefreshResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginRefreshResult) XXX_Merge ¶
func (m *LoginRefreshResult) XXX_Merge(src proto.Message)
func (*LoginRefreshResult) XXX_Size ¶
func (m *LoginRefreshResult) XXX_Size() int
func (*LoginRefreshResult) XXX_Unmarshal ¶
func (m *LoginRefreshResult) XXX_Unmarshal(b []byte) error
type LoginResult ¶
type LoginResult struct { AuthenticationState *AuthenticationState `` /* 158-byte string literal not displayed */ ErrorCode *string `protobuf:"bytes,2,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` ErrorMessage *string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` Url *string `protobuf:"bytes,4,opt,name=url" json:"url,omitempty"` LoginTicket *string `protobuf:"bytes,5,opt,name=login_ticket,json=loginTicket" json:"login_ticket,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginResult) Descriptor ¶
func (*LoginResult) Descriptor() ([]byte, []int)
func (*LoginResult) GetAuthenticationState ¶
func (m *LoginResult) GetAuthenticationState() AuthenticationState
func (*LoginResult) GetErrorCode ¶
func (m *LoginResult) GetErrorCode() string
func (*LoginResult) GetErrorMessage ¶
func (m *LoginResult) GetErrorMessage() string
func (*LoginResult) GetLoginTicket ¶
func (m *LoginResult) GetLoginTicket() string
func (*LoginResult) GetUrl ¶
func (m *LoginResult) GetUrl() string
func (*LoginResult) ProtoMessage ¶
func (*LoginResult) ProtoMessage()
func (*LoginResult) Reset ¶
func (m *LoginResult) Reset()
func (*LoginResult) String ¶
func (m *LoginResult) String() string
func (*LoginResult) XXX_DiscardUnknown ¶
func (m *LoginResult) XXX_DiscardUnknown()
func (*LoginResult) XXX_Marshal ¶
func (m *LoginResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginResult) XXX_Merge ¶
func (m *LoginResult) XXX_Merge(src proto.Message)
func (*LoginResult) XXX_Size ¶
func (m *LoginResult) XXX_Size() int
func (*LoginResult) XXX_Unmarshal ¶
func (m *LoginResult) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.