Documentation
¶
Index ¶
- Variables
- func DialConn(address string, fingerprint string, cert *tls.Certificate) (*grpc.ClientConn, error)
- func FingerprintServer(address string) (string, error)
- func FingerprintsEqual(f1, f2 string) bool
- func GetCertFileFingerprint(at string) (string, error)
- func GetCertFingerprint(cert *x509.Certificate) (string, error)
- func GetPeerFingerprint(ctx context.Context) (string, error)
- func RegisterHomeServiceServer(s grpc.ServiceRegistrar, srv HomeServiceServer)
- type AnnounceRealmMsg
- func (*AnnounceRealmMsg) Descriptor() ([]byte, []int)deprecated
- func (x *AnnounceRealmMsg) GetActivePlayers() uint32
- func (x *AnnounceRealmMsg) GetAddress() string
- func (x *AnnounceRealmMsg) GetBuild() uint32
- func (x *AnnounceRealmMsg) GetRealmDescription() string
- func (x *AnnounceRealmMsg) GetRealmID() uint64
- func (x *AnnounceRealmMsg) GetRealmName() string
- func (x *AnnounceRealmMsg) GetRedirectAddress() string
- func (x *AnnounceRealmMsg) GetTimezone() uint32
- func (x *AnnounceRealmMsg) GetTotalPlayers() uint32
- func (x *AnnounceRealmMsg) GetType() uint32
- func (*AnnounceRealmMsg) ProtoMessage()
- func (x *AnnounceRealmMsg) ProtoReflect() protoreflect.Message
- func (x *AnnounceRealmMsg) Reset()
- func (x *AnnounceRealmMsg) String() string
- type Credentials
- func (*Credentials) Descriptor() ([]byte, []int)deprecated
- func (x *Credentials) GetAccount() string
- func (x *Credentials) GetPassword() string
- func (*Credentials) ProtoMessage()
- func (x *Credentials) ProtoReflect() protoreflect.Message
- func (x *Credentials) Reset()
- func (x *Credentials) String() string
- type EnlistRealmRequest
- func (*EnlistRealmRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnlistRealmRequest) GetRealmFingerprint() string
- func (x *EnlistRealmRequest) GetRealmName() string
- func (x *EnlistRealmRequest) GetWebToken() string
- func (*EnlistRealmRequest) ProtoMessage()
- func (x *EnlistRealmRequest) ProtoReflect() protoreflect.Message
- func (x *EnlistRealmRequest) Reset()
- func (x *EnlistRealmRequest) String() string
- type EnlistRealmResponse
- func (*EnlistRealmResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EnlistRealmResponse) GetRealmID() uint64
- func (x *EnlistRealmResponse) GetStatus() Status
- func (*EnlistRealmResponse) ProtoMessage()
- func (x *EnlistRealmResponse) ProtoReflect() protoreflect.Message
- func (x *EnlistRealmResponse) Reset()
- func (x *EnlistRealmResponse) String() string
- type HomeServiceClient
- type HomeServiceServer
- type PingMsg
- type SessionInfo
- func (*SessionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SessionInfo) GetStatus() Status
- func (x *SessionInfo) GetTier() Tier
- func (x *SessionInfo) GetWebToken() string
- func (*SessionInfo) ProtoMessage()
- func (x *SessionInfo) ProtoReflect() protoreflect.Message
- func (x *SessionInfo) Reset()
- func (x *SessionInfo) String() string
- type Status
- type StatusMsg
- type SupportDomain
- func (SupportDomain) Descriptor() protoreflect.EnumDescriptor
- func (x SupportDomain) Enum() *SupportDomain
- func (SupportDomain) EnumDescriptor() ([]byte, []int)deprecated
- func (x SupportDomain) Number() protoreflect.EnumNumber
- func (x SupportDomain) String() string
- func (SupportDomain) Type() protoreflect.EnumType
- type SupportTicket
- func (*SupportTicket) Descriptor() ([]byte, []int)deprecated
- func (x *SupportTicket) GetAccount() uint64
- func (x *SupportTicket) GetDomain() SupportDomain
- func (x *SupportTicket) GetGameAccount() uint64
- func (x *SupportTicket) GetPlayer() uint64
- func (x *SupportTicket) GetRealmID() uint64
- func (x *SupportTicket) GetReportText() string
- func (x *SupportTicket) GetTime() uint64
- func (x *SupportTicket) GetType() SupportType
- func (*SupportTicket) ProtoMessage()
- func (x *SupportTicket) ProtoReflect() protoreflect.Message
- func (x *SupportTicket) Reset()
- func (x *SupportTicket) String() string
- type SupportType
- func (SupportType) Descriptor() protoreflect.EnumDescriptor
- func (x SupportType) Enum() *SupportType
- func (SupportType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SupportType) Number() protoreflect.EnumNumber
- func (x SupportType) String() string
- func (SupportType) Type() protoreflect.EnumType
- type TicketEntry
- func (*TicketEntry) Descriptor() ([]byte, []int)deprecated
- func (x *TicketEntry) GetID() string
- func (x *TicketEntry) GetTicket() *SupportTicket
- func (*TicketEntry) ProtoMessage()
- func (x *TicketEntry) ProtoReflect() protoreflect.Message
- func (x *TicketEntry) Reset()
- func (x *TicketEntry) String() string
- type TicketQuery
- func (*TicketQuery) Descriptor() ([]byte, []int)deprecated
- func (x *TicketQuery) GetDomainMask() uint32
- func (x *TicketQuery) GetRealmID() int64
- func (x *TicketQuery) GetTypeMask() uint32
- func (x *TicketQuery) GetWebToken() string
- func (*TicketQuery) ProtoMessage()
- func (x *TicketQuery) ProtoReflect() protoreflect.Message
- func (x *TicketQuery) Reset()
- func (x *TicketQuery) String() string
- type TicketQueryResponse
- func (*TicketQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TicketQueryResponse) GetEntries() []*TicketEntry
- func (*TicketQueryResponse) ProtoMessage()
- func (x *TicketQueryResponse) ProtoReflect() protoreflect.Message
- func (x *TicketQueryResponse) Reset()
- func (x *TicketQueryResponse) String() string
- type TicketSubmissionResult
- func (*TicketSubmissionResult) Descriptor() ([]byte, []int)deprecated
- func (x *TicketSubmissionResult) GetTicketID() string
- func (*TicketSubmissionResult) ProtoMessage()
- func (x *TicketSubmissionResult) ProtoReflect() protoreflect.Message
- func (x *TicketSubmissionResult) Reset()
- func (x *TicketSubmissionResult) String() string
- type Tier
- type UnimplementedHomeServiceServer
- func (UnimplementedHomeServiceServer) AnnounceRealm(context.Context, *AnnounceRealmMsg) (*StatusMsg, error)
- func (UnimplementedHomeServiceServer) EnlistRealm(context.Context, *EnlistRealmRequest) (*EnlistRealmResponse, error)
- func (UnimplementedHomeServiceServer) GetVersionData(context.Context, *emptypb.Empty) (*VersionData, error)
- func (UnimplementedHomeServiceServer) Ping(context.Context, *PingMsg) (*PingMsg, error)
- func (UnimplementedHomeServiceServer) QueryTickets(context.Context, *TicketQuery) (*TicketQueryResponse, error)
- func (UnimplementedHomeServiceServer) SignIn(context.Context, *Credentials) (*SessionInfo, error)
- func (UnimplementedHomeServiceServer) SubmitTicket(context.Context, *SupportTicket) (*TicketSubmissionResult, error)
- func (UnimplementedHomeServiceServer) VerifyWorld(context.Context, *VerifyWorldQuery) (*VerifyWorldResponse, error)
- type UnsafeHomeServiceServer
- type VerifyWorldQuery
- func (*VerifyWorldQuery) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyWorldQuery) GetAccount() string
- func (x *VerifyWorldQuery) GetBuild() uint32
- func (x *VerifyWorldQuery) GetDigest() []byte
- func (x *VerifyWorldQuery) GetGameAccount() string
- func (x *VerifyWorldQuery) GetIP() string
- func (x *VerifyWorldQuery) GetRealmID() uint64
- func (x *VerifyWorldQuery) GetSalt() []byte
- func (x *VerifyWorldQuery) GetSeed() []byte
- func (*VerifyWorldQuery) ProtoMessage()
- func (x *VerifyWorldQuery) ProtoReflect() protoreflect.Message
- func (x *VerifyWorldQuery) Reset()
- func (x *VerifyWorldQuery) String() string
- type VerifyWorldResponse
- func (*VerifyWorldResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyWorldResponse) GetAccount() uint64
- func (x *VerifyWorldResponse) GetGameAccount() uint64
- func (x *VerifyWorldResponse) GetLocale() uint32
- func (x *VerifyWorldResponse) GetSessionKey() []byte
- func (x *VerifyWorldResponse) GetStatus() Status
- func (x *VerifyWorldResponse) GetTier() Tier
- func (*VerifyWorldResponse) ProtoMessage()
- func (x *VerifyWorldResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyWorldResponse) Reset()
- func (x *VerifyWorldResponse) String() string
- type VersionData
Constants ¶
This section is empty.
Variables ¶
var ( Status_name = map[int32]string{ 0: "OK", 1: "Unauthorized", 2: "Offline", 3: "Disabled", 4: "Ratelimited", 5: "MaxResourceReached", } Status_value = map[string]int32{ "OK": 0, "Unauthorized": 1, "Offline": 2, "Disabled": 3, "Ratelimited": 4, "MaxResourceReached": 5, } )
Enum value maps for Status.
var ( Tier_name = map[int32]string{ 0: "NormalPlayer", 1: "Privileged", 2: "GameMaster", 3: "Admin", } Tier_value = map[string]int32{ "NormalPlayer": 0, "Privileged": 1, "GameMaster": 2, "Admin": 3, } )
Enum value maps for Tier.
var ( SupportDomain_name = map[int32]string{ 0: "Other", 1: "Website", 2: "Realm", } SupportDomain_value = map[string]int32{ "Other": 0, "Website": 1, "Realm": 2, } )
Enum value maps for SupportDomain.
var ( SupportType_name = map[int32]string{ 0: "Suggestion", 1: "BugReport", 2: "UserReport", } SupportType_value = map[string]int32{ "Suggestion": 0, "BugReport": 1, "UserReport": 2, } )
Enum value maps for SupportType.
var File_RpcNet_proto protoreflect.FileDescriptor
var HomeService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "HomeService", HandlerType: (*HomeServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SignIn", Handler: _HomeService_SignIn_Handler, }, { MethodName: "GetVersionData", Handler: _HomeService_GetVersionData_Handler, }, { MethodName: "Ping", Handler: _HomeService_Ping_Handler, }, { MethodName: "AnnounceRealm", Handler: _HomeService_AnnounceRealm_Handler, }, { MethodName: "VerifyWorld", Handler: _HomeService_VerifyWorld_Handler, }, { MethodName: "EnlistRealm", Handler: _HomeService_EnlistRealm_Handler, }, { MethodName: "SubmitTicket", Handler: _HomeService_SubmitTicket_Handler, }, { MethodName: "QueryTickets", Handler: _HomeService_QueryTickets_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "RpcNet.proto", }
HomeService_ServiceDesc is the grpc.ServiceDesc for HomeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func DialConn ¶
func DialConn(address string, fingerprint string, cert *tls.Certificate) (*grpc.ClientConn, error)
open a GRPC clientConn. the server's fingerprint must match the provided fingerprint, or the function will fail
func FingerprintServer ¶
func FingerprintsEqual ¶
func GetCertFileFingerprint ¶
func GetCertFingerprint ¶
func GetCertFingerprint(cert *x509.Certificate) (string, error)
func RegisterHomeServiceServer ¶
func RegisterHomeServiceServer(s grpc.ServiceRegistrar, srv HomeServiceServer)
Types ¶
type AnnounceRealmMsg ¶
type AnnounceRealmMsg struct { RealmID uint64 `protobuf:"varint,1,opt,name=RealmID,proto3" json:"RealmID,omitempty"` Type uint32 `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"` RealmName string `protobuf:"bytes,3,opt,name=RealmName,proto3" json:"RealmName,omitempty"` RealmDescription string `protobuf:"bytes,4,opt,name=RealmDescription,proto3" json:"RealmDescription,omitempty"` Build uint32 `protobuf:"varint,5,opt,name=Build,proto3" json:"Build,omitempty"` Address string `protobuf:"bytes,6,opt,name=Address,proto3" json:"Address,omitempty"` RedirectAddress string `protobuf:"bytes,7,opt,name=RedirectAddress,proto3" json:"RedirectAddress,omitempty"` ActivePlayers uint32 `protobuf:"varint,8,opt,name=ActivePlayers,proto3" json:"ActivePlayers,omitempty"` TotalPlayers uint32 `protobuf:"varint,9,opt,name=TotalPlayers,proto3" json:"TotalPlayers,omitempty"` Timezone uint32 `protobuf:"varint,10,opt,name=Timezone,proto3" json:"Timezone,omitempty"` // contains filtered or unexported fields }
func (*AnnounceRealmMsg) Descriptor
deprecated
func (*AnnounceRealmMsg) Descriptor() ([]byte, []int)
Deprecated: Use AnnounceRealmMsg.ProtoReflect.Descriptor instead.
func (*AnnounceRealmMsg) GetActivePlayers ¶
func (x *AnnounceRealmMsg) GetActivePlayers() uint32
func (*AnnounceRealmMsg) GetAddress ¶
func (x *AnnounceRealmMsg) GetAddress() string
func (*AnnounceRealmMsg) GetBuild ¶
func (x *AnnounceRealmMsg) GetBuild() uint32
func (*AnnounceRealmMsg) GetRealmDescription ¶
func (x *AnnounceRealmMsg) GetRealmDescription() string
func (*AnnounceRealmMsg) GetRealmID ¶
func (x *AnnounceRealmMsg) GetRealmID() uint64
func (*AnnounceRealmMsg) GetRealmName ¶
func (x *AnnounceRealmMsg) GetRealmName() string
func (*AnnounceRealmMsg) GetRedirectAddress ¶
func (x *AnnounceRealmMsg) GetRedirectAddress() string
func (*AnnounceRealmMsg) GetTimezone ¶
func (x *AnnounceRealmMsg) GetTimezone() uint32
func (*AnnounceRealmMsg) GetTotalPlayers ¶
func (x *AnnounceRealmMsg) GetTotalPlayers() uint32
func (*AnnounceRealmMsg) GetType ¶
func (x *AnnounceRealmMsg) GetType() uint32
func (*AnnounceRealmMsg) ProtoMessage ¶
func (*AnnounceRealmMsg) ProtoMessage()
func (*AnnounceRealmMsg) ProtoReflect ¶
func (x *AnnounceRealmMsg) ProtoReflect() protoreflect.Message
func (*AnnounceRealmMsg) Reset ¶
func (x *AnnounceRealmMsg) Reset()
func (*AnnounceRealmMsg) String ¶
func (x *AnnounceRealmMsg) String() string
type Credentials ¶
type Credentials struct { Account string `protobuf:"bytes,1,opt,name=Account,proto3" json:"Account,omitempty"` Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` // contains filtered or unexported fields }
func (*Credentials) Descriptor
deprecated
func (*Credentials) Descriptor() ([]byte, []int)
Deprecated: Use Credentials.ProtoReflect.Descriptor instead.
func (*Credentials) GetAccount ¶
func (x *Credentials) GetAccount() string
func (*Credentials) GetPassword ¶
func (x *Credentials) GetPassword() string
func (*Credentials) ProtoMessage ¶
func (*Credentials) ProtoMessage()
func (*Credentials) ProtoReflect ¶
func (x *Credentials) ProtoReflect() protoreflect.Message
func (*Credentials) Reset ¶
func (x *Credentials) Reset()
func (*Credentials) String ¶
func (x *Credentials) String() string
type EnlistRealmRequest ¶
type EnlistRealmRequest struct { WebToken string `protobuf:"bytes,1,opt,name=WebToken,proto3" json:"WebToken,omitempty"` RealmName string `protobuf:"bytes,2,opt,name=RealmName,proto3" json:"RealmName,omitempty"` RealmFingerprint string `protobuf:"bytes,3,opt,name=RealmFingerprint,proto3" json:"RealmFingerprint,omitempty"` // contains filtered or unexported fields }
func (*EnlistRealmRequest) Descriptor
deprecated
func (*EnlistRealmRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnlistRealmRequest.ProtoReflect.Descriptor instead.
func (*EnlistRealmRequest) GetRealmFingerprint ¶
func (x *EnlistRealmRequest) GetRealmFingerprint() string
func (*EnlistRealmRequest) GetRealmName ¶
func (x *EnlistRealmRequest) GetRealmName() string
func (*EnlistRealmRequest) GetWebToken ¶
func (x *EnlistRealmRequest) GetWebToken() string
func (*EnlistRealmRequest) ProtoMessage ¶
func (*EnlistRealmRequest) ProtoMessage()
func (*EnlistRealmRequest) ProtoReflect ¶
func (x *EnlistRealmRequest) ProtoReflect() protoreflect.Message
func (*EnlistRealmRequest) Reset ¶
func (x *EnlistRealmRequest) Reset()
func (*EnlistRealmRequest) String ¶
func (x *EnlistRealmRequest) String() string
type EnlistRealmResponse ¶
type EnlistRealmResponse struct { Status Status `protobuf:"varint,1,opt,name=Status,proto3,enum=Status" json:"Status,omitempty"` RealmID uint64 `protobuf:"varint,2,opt,name=RealmID,proto3" json:"RealmID,omitempty"` // contains filtered or unexported fields }
func (*EnlistRealmResponse) Descriptor
deprecated
func (*EnlistRealmResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnlistRealmResponse.ProtoReflect.Descriptor instead.
func (*EnlistRealmResponse) GetRealmID ¶
func (x *EnlistRealmResponse) GetRealmID() uint64
func (*EnlistRealmResponse) GetStatus ¶
func (x *EnlistRealmResponse) GetStatus() Status
func (*EnlistRealmResponse) ProtoMessage ¶
func (*EnlistRealmResponse) ProtoMessage()
func (*EnlistRealmResponse) ProtoReflect ¶
func (x *EnlistRealmResponse) ProtoReflect() protoreflect.Message
func (*EnlistRealmResponse) Reset ¶
func (x *EnlistRealmResponse) Reset()
func (*EnlistRealmResponse) String ¶
func (x *EnlistRealmResponse) String() string
type HomeServiceClient ¶
type HomeServiceClient interface { SignIn(ctx context.Context, in *Credentials, opts ...grpc.CallOption) (*SessionInfo, error) GetVersionData(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionData, error) Ping(ctx context.Context, in *PingMsg, opts ...grpc.CallOption) (*PingMsg, error) AnnounceRealm(ctx context.Context, in *AnnounceRealmMsg, opts ...grpc.CallOption) (*StatusMsg, error) VerifyWorld(ctx context.Context, in *VerifyWorldQuery, opts ...grpc.CallOption) (*VerifyWorldResponse, error) EnlistRealm(ctx context.Context, in *EnlistRealmRequest, opts ...grpc.CallOption) (*EnlistRealmResponse, error) SubmitTicket(ctx context.Context, in *SupportTicket, opts ...grpc.CallOption) (*TicketSubmissionResult, error) QueryTickets(ctx context.Context, in *TicketQuery, opts ...grpc.CallOption) (*TicketQueryResponse, error) }
HomeServiceClient is the client API for HomeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHomeServiceClient ¶
func NewHomeServiceClient(cc grpc.ClientConnInterface) HomeServiceClient
type HomeServiceServer ¶
type HomeServiceServer interface { SignIn(context.Context, *Credentials) (*SessionInfo, error) GetVersionData(context.Context, *emptypb.Empty) (*VersionData, error) Ping(context.Context, *PingMsg) (*PingMsg, error) AnnounceRealm(context.Context, *AnnounceRealmMsg) (*StatusMsg, error) VerifyWorld(context.Context, *VerifyWorldQuery) (*VerifyWorldResponse, error) EnlistRealm(context.Context, *EnlistRealmRequest) (*EnlistRealmResponse, error) SubmitTicket(context.Context, *SupportTicket) (*TicketSubmissionResult, error) QueryTickets(context.Context, *TicketQuery) (*TicketQueryResponse, error) // contains filtered or unexported methods }
HomeServiceServer is the server API for HomeService service. All implementations must embed UnimplementedHomeServiceServer for forward compatibility
type PingMsg ¶
type PingMsg struct { Time uint64 `protobuf:"varint,1,opt,name=Time,proto3" json:"Time,omitempty"` // contains filtered or unexported fields }
func (*PingMsg) Descriptor
deprecated
func (*PingMsg) ProtoMessage ¶
func (*PingMsg) ProtoMessage()
func (*PingMsg) ProtoReflect ¶
func (x *PingMsg) ProtoReflect() protoreflect.Message
type SessionInfo ¶
type SessionInfo struct { Status Status `protobuf:"varint,1,opt,name=Status,proto3,enum=Status" json:"Status,omitempty"` Tier Tier `protobuf:"varint,2,opt,name=Tier,proto3,enum=Tier" json:"Tier,omitempty"` WebToken string `protobuf:"bytes,3,opt,name=WebToken,proto3" json:"WebToken,omitempty"` // contains filtered or unexported fields }
func (*SessionInfo) Descriptor
deprecated
func (*SessionInfo) Descriptor() ([]byte, []int)
Deprecated: Use SessionInfo.ProtoReflect.Descriptor instead.
func (*SessionInfo) GetStatus ¶
func (x *SessionInfo) GetStatus() Status
func (*SessionInfo) GetTier ¶
func (x *SessionInfo) GetTier() Tier
func (*SessionInfo) GetWebToken ¶
func (x *SessionInfo) GetWebToken() string
func (*SessionInfo) ProtoMessage ¶
func (*SessionInfo) ProtoMessage()
func (*SessionInfo) ProtoReflect ¶
func (x *SessionInfo) ProtoReflect() protoreflect.Message
func (*SessionInfo) Reset ¶
func (x *SessionInfo) Reset()
func (*SessionInfo) String ¶
func (x *SessionInfo) String() string
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type StatusMsg ¶
type StatusMsg struct { Status Status `protobuf:"varint,1,opt,name=Status,proto3,enum=Status" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*StatusMsg) Descriptor
deprecated
func (*StatusMsg) ProtoMessage ¶
func (*StatusMsg) ProtoMessage()
func (*StatusMsg) ProtoReflect ¶
func (x *StatusMsg) ProtoReflect() protoreflect.Message
type SupportDomain ¶
type SupportDomain int32
const ( SupportDomain_Other SupportDomain = 0 SupportDomain_Website SupportDomain = 1 SupportDomain_Realm SupportDomain = 2 )
func (SupportDomain) Descriptor ¶
func (SupportDomain) Descriptor() protoreflect.EnumDescriptor
func (SupportDomain) Enum ¶
func (x SupportDomain) Enum() *SupportDomain
func (SupportDomain) EnumDescriptor
deprecated
func (SupportDomain) EnumDescriptor() ([]byte, []int)
Deprecated: Use SupportDomain.Descriptor instead.
func (SupportDomain) Number ¶
func (x SupportDomain) Number() protoreflect.EnumNumber
func (SupportDomain) String ¶
func (x SupportDomain) String() string
func (SupportDomain) Type ¶
func (SupportDomain) Type() protoreflect.EnumType
type SupportTicket ¶
type SupportTicket struct { Domain SupportDomain `protobuf:"varint,1,opt,name=Domain,proto3,enum=SupportDomain" json:"Domain,omitempty"` Type SupportType `protobuf:"varint,2,opt,name=Type,proto3,enum=SupportType" json:"Type,omitempty"` RealmID uint64 `protobuf:"varint,3,opt,name=RealmID,proto3" json:"RealmID,omitempty"` Time uint64 `protobuf:"varint,4,opt,name=Time,proto3" json:"Time,omitempty"` Account uint64 `protobuf:"varint,5,opt,name=Account,proto3" json:"Account,omitempty"` // Must be a valid account ID GameAccount uint64 `protobuf:"varint,6,opt,name=GameAccount,proto3" json:"GameAccount,omitempty"` // zero if not applicable Player uint64 `protobuf:"varint,7,opt,name=Player,proto3" json:"Player,omitempty"` // zero if not applicable ReportText string `protobuf:"bytes,8,opt,name=ReportText,proto3" json:"ReportText,omitempty"` // contains filtered or unexported fields }
func (*SupportTicket) Descriptor
deprecated
func (*SupportTicket) Descriptor() ([]byte, []int)
Deprecated: Use SupportTicket.ProtoReflect.Descriptor instead.
func (*SupportTicket) GetAccount ¶
func (x *SupportTicket) GetAccount() uint64
func (*SupportTicket) GetDomain ¶
func (x *SupportTicket) GetDomain() SupportDomain
func (*SupportTicket) GetGameAccount ¶
func (x *SupportTicket) GetGameAccount() uint64
func (*SupportTicket) GetPlayer ¶
func (x *SupportTicket) GetPlayer() uint64
func (*SupportTicket) GetRealmID ¶
func (x *SupportTicket) GetRealmID() uint64
func (*SupportTicket) GetReportText ¶
func (x *SupportTicket) GetReportText() string
func (*SupportTicket) GetTime ¶
func (x *SupportTicket) GetTime() uint64
func (*SupportTicket) GetType ¶
func (x *SupportTicket) GetType() SupportType
func (*SupportTicket) ProtoMessage ¶
func (*SupportTicket) ProtoMessage()
func (*SupportTicket) ProtoReflect ¶
func (x *SupportTicket) ProtoReflect() protoreflect.Message
func (*SupportTicket) Reset ¶
func (x *SupportTicket) Reset()
func (*SupportTicket) String ¶
func (x *SupportTicket) String() string
type SupportType ¶
type SupportType int32
const ( SupportType_Suggestion SupportType = 0 SupportType_BugReport SupportType = 1 SupportType_UserReport SupportType = 2 )
func (SupportType) Descriptor ¶
func (SupportType) Descriptor() protoreflect.EnumDescriptor
func (SupportType) Enum ¶
func (x SupportType) Enum() *SupportType
func (SupportType) EnumDescriptor
deprecated
func (SupportType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SupportType.Descriptor instead.
func (SupportType) Number ¶
func (x SupportType) Number() protoreflect.EnumNumber
func (SupportType) String ¶
func (x SupportType) String() string
func (SupportType) Type ¶
func (SupportType) Type() protoreflect.EnumType
type TicketEntry ¶
type TicketEntry struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Ticket *SupportTicket `protobuf:"bytes,2,opt,name=Ticket,proto3" json:"Ticket,omitempty"` // contains filtered or unexported fields }
func (*TicketEntry) Descriptor
deprecated
func (*TicketEntry) Descriptor() ([]byte, []int)
Deprecated: Use TicketEntry.ProtoReflect.Descriptor instead.
func (*TicketEntry) GetID ¶
func (x *TicketEntry) GetID() string
func (*TicketEntry) GetTicket ¶
func (x *TicketEntry) GetTicket() *SupportTicket
func (*TicketEntry) ProtoMessage ¶
func (*TicketEntry) ProtoMessage()
func (*TicketEntry) ProtoReflect ¶
func (x *TicketEntry) ProtoReflect() protoreflect.Message
func (*TicketEntry) Reset ¶
func (x *TicketEntry) Reset()
func (*TicketEntry) String ¶
func (x *TicketEntry) String() string
type TicketQuery ¶
type TicketQuery struct { WebToken string `protobuf:"bytes,1,opt,name=WebToken,proto3" json:"WebToken,omitempty"` DomainMask uint32 `protobuf:"varint,2,opt,name=DomainMask,proto3" json:"DomainMask,omitempty"` TypeMask uint32 `protobuf:"varint,3,opt,name=TypeMask,proto3" json:"TypeMask,omitempty"` RealmID int64 `protobuf:"varint,4,opt,name=RealmID,proto3" json:"RealmID,omitempty"` // contains filtered or unexported fields }
func (*TicketQuery) Descriptor
deprecated
func (*TicketQuery) Descriptor() ([]byte, []int)
Deprecated: Use TicketQuery.ProtoReflect.Descriptor instead.
func (*TicketQuery) GetDomainMask ¶
func (x *TicketQuery) GetDomainMask() uint32
func (*TicketQuery) GetRealmID ¶
func (x *TicketQuery) GetRealmID() int64
func (*TicketQuery) GetTypeMask ¶
func (x *TicketQuery) GetTypeMask() uint32
func (*TicketQuery) GetWebToken ¶
func (x *TicketQuery) GetWebToken() string
func (*TicketQuery) ProtoMessage ¶
func (*TicketQuery) ProtoMessage()
func (*TicketQuery) ProtoReflect ¶
func (x *TicketQuery) ProtoReflect() protoreflect.Message
func (*TicketQuery) Reset ¶
func (x *TicketQuery) Reset()
func (*TicketQuery) String ¶
func (x *TicketQuery) String() string
type TicketQueryResponse ¶
type TicketQueryResponse struct { Entries []*TicketEntry `protobuf:"bytes,1,rep,name=Entries,proto3" json:"Entries,omitempty"` // contains filtered or unexported fields }
func (*TicketQueryResponse) Descriptor
deprecated
func (*TicketQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use TicketQueryResponse.ProtoReflect.Descriptor instead.
func (*TicketQueryResponse) GetEntries ¶
func (x *TicketQueryResponse) GetEntries() []*TicketEntry
func (*TicketQueryResponse) ProtoMessage ¶
func (*TicketQueryResponse) ProtoMessage()
func (*TicketQueryResponse) ProtoReflect ¶
func (x *TicketQueryResponse) ProtoReflect() protoreflect.Message
func (*TicketQueryResponse) Reset ¶
func (x *TicketQueryResponse) Reset()
func (*TicketQueryResponse) String ¶
func (x *TicketQueryResponse) String() string
type TicketSubmissionResult ¶
type TicketSubmissionResult struct { TicketID string `protobuf:"bytes,1,opt,name=TicketID,proto3" json:"TicketID,omitempty"` // contains filtered or unexported fields }
func (*TicketSubmissionResult) Descriptor
deprecated
func (*TicketSubmissionResult) Descriptor() ([]byte, []int)
Deprecated: Use TicketSubmissionResult.ProtoReflect.Descriptor instead.
func (*TicketSubmissionResult) GetTicketID ¶
func (x *TicketSubmissionResult) GetTicketID() string
func (*TicketSubmissionResult) ProtoMessage ¶
func (*TicketSubmissionResult) ProtoMessage()
func (*TicketSubmissionResult) ProtoReflect ¶
func (x *TicketSubmissionResult) ProtoReflect() protoreflect.Message
func (*TicketSubmissionResult) Reset ¶
func (x *TicketSubmissionResult) Reset()
func (*TicketSubmissionResult) String ¶
func (x *TicketSubmissionResult) String() string
type Tier ¶
type Tier int32
func (Tier) Descriptor ¶
func (Tier) Descriptor() protoreflect.EnumDescriptor
func (Tier) EnumDescriptor
deprecated
func (Tier) Number ¶
func (x Tier) Number() protoreflect.EnumNumber
func (Tier) Type ¶
func (Tier) Type() protoreflect.EnumType
type UnimplementedHomeServiceServer ¶
type UnimplementedHomeServiceServer struct { }
UnimplementedHomeServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedHomeServiceServer) AnnounceRealm ¶
func (UnimplementedHomeServiceServer) AnnounceRealm(context.Context, *AnnounceRealmMsg) (*StatusMsg, error)
func (UnimplementedHomeServiceServer) EnlistRealm ¶
func (UnimplementedHomeServiceServer) EnlistRealm(context.Context, *EnlistRealmRequest) (*EnlistRealmResponse, error)
func (UnimplementedHomeServiceServer) GetVersionData ¶
func (UnimplementedHomeServiceServer) GetVersionData(context.Context, *emptypb.Empty) (*VersionData, error)
func (UnimplementedHomeServiceServer) QueryTickets ¶
func (UnimplementedHomeServiceServer) QueryTickets(context.Context, *TicketQuery) (*TicketQueryResponse, error)
func (UnimplementedHomeServiceServer) SignIn ¶
func (UnimplementedHomeServiceServer) SignIn(context.Context, *Credentials) (*SessionInfo, error)
func (UnimplementedHomeServiceServer) SubmitTicket ¶
func (UnimplementedHomeServiceServer) SubmitTicket(context.Context, *SupportTicket) (*TicketSubmissionResult, error)
func (UnimplementedHomeServiceServer) VerifyWorld ¶
func (UnimplementedHomeServiceServer) VerifyWorld(context.Context, *VerifyWorldQuery) (*VerifyWorldResponse, error)
type UnsafeHomeServiceServer ¶
type UnsafeHomeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHomeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HomeServiceServer will result in compilation errors.
type VerifyWorldQuery ¶
type VerifyWorldQuery struct { RealmID uint64 `protobuf:"varint,1,opt,name=RealmID,proto3" json:"RealmID,omitempty"` Build uint32 `protobuf:"varint,2,opt,name=Build,proto3" json:"Build,omitempty"` Account string `protobuf:"bytes,3,opt,name=Account,proto3" json:"Account,omitempty"` IP string `protobuf:"bytes,4,opt,name=IP,proto3" json:"IP,omitempty"` Digest []byte `protobuf:"bytes,5,opt,name=Digest,proto3" json:"Digest,omitempty"` Seed []byte `protobuf:"bytes,6,opt,name=Seed,proto3" json:"Seed,omitempty"` Salt []byte `protobuf:"bytes,7,opt,name=Salt,proto3" json:"Salt,omitempty"` GameAccount string `protobuf:"bytes,8,opt,name=GameAccount,proto3" json:"GameAccount,omitempty"` // contains filtered or unexported fields }
Sent from realm to auth server upon a player connection.
func (*VerifyWorldQuery) Descriptor
deprecated
func (*VerifyWorldQuery) Descriptor() ([]byte, []int)
Deprecated: Use VerifyWorldQuery.ProtoReflect.Descriptor instead.
func (*VerifyWorldQuery) GetAccount ¶
func (x *VerifyWorldQuery) GetAccount() string
func (*VerifyWorldQuery) GetBuild ¶
func (x *VerifyWorldQuery) GetBuild() uint32
func (*VerifyWorldQuery) GetDigest ¶
func (x *VerifyWorldQuery) GetDigest() []byte
func (*VerifyWorldQuery) GetGameAccount ¶
func (x *VerifyWorldQuery) GetGameAccount() string
func (*VerifyWorldQuery) GetIP ¶
func (x *VerifyWorldQuery) GetIP() string
func (*VerifyWorldQuery) GetRealmID ¶
func (x *VerifyWorldQuery) GetRealmID() uint64
func (*VerifyWorldQuery) GetSalt ¶
func (x *VerifyWorldQuery) GetSalt() []byte
func (*VerifyWorldQuery) GetSeed ¶
func (x *VerifyWorldQuery) GetSeed() []byte
func (*VerifyWorldQuery) ProtoMessage ¶
func (*VerifyWorldQuery) ProtoMessage()
func (*VerifyWorldQuery) ProtoReflect ¶
func (x *VerifyWorldQuery) ProtoReflect() protoreflect.Message
func (*VerifyWorldQuery) Reset ¶
func (x *VerifyWorldQuery) Reset()
func (*VerifyWorldQuery) String ¶
func (x *VerifyWorldQuery) String() string
type VerifyWorldResponse ¶
type VerifyWorldResponse struct { Status Status `protobuf:"varint,1,opt,name=Status,proto3,enum=Status" json:"Status,omitempty"` Tier Tier `protobuf:"varint,2,opt,name=Tier,proto3,enum=Tier" json:"Tier,omitempty"` SessionKey []byte `protobuf:"bytes,3,opt,name=SessionKey,proto3" json:"SessionKey,omitempty"` Account uint64 `protobuf:"varint,4,opt,name=Account,proto3" json:"Account,omitempty"` GameAccount uint64 `protobuf:"varint,5,opt,name=GameAccount,proto3" json:"GameAccount,omitempty"` Locale uint32 `protobuf:"varint,6,opt,name=Locale,proto3" json:"Locale,omitempty"` // contains filtered or unexported fields }
func (*VerifyWorldResponse) Descriptor
deprecated
func (*VerifyWorldResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyWorldResponse.ProtoReflect.Descriptor instead.
func (*VerifyWorldResponse) GetAccount ¶
func (x *VerifyWorldResponse) GetAccount() uint64
func (*VerifyWorldResponse) GetGameAccount ¶
func (x *VerifyWorldResponse) GetGameAccount() uint64
func (*VerifyWorldResponse) GetLocale ¶
func (x *VerifyWorldResponse) GetLocale() uint32
func (*VerifyWorldResponse) GetSessionKey ¶
func (x *VerifyWorldResponse) GetSessionKey() []byte
func (*VerifyWorldResponse) GetStatus ¶
func (x *VerifyWorldResponse) GetStatus() Status
func (*VerifyWorldResponse) GetTier ¶
func (x *VerifyWorldResponse) GetTier() Tier
func (*VerifyWorldResponse) ProtoMessage ¶
func (*VerifyWorldResponse) ProtoMessage()
func (*VerifyWorldResponse) ProtoReflect ¶
func (x *VerifyWorldResponse) ProtoReflect() protoreflect.Message
func (*VerifyWorldResponse) Reset ¶
func (x *VerifyWorldResponse) Reset()
func (*VerifyWorldResponse) String ¶
func (x *VerifyWorldResponse) String() string
type VersionData ¶
type VersionData struct { CoreVersion string `protobuf:"bytes,1,opt,name=CoreVersion,proto3" json:"CoreVersion,omitempty"` // contains filtered or unexported fields }
func (*VersionData) Descriptor
deprecated
func (*VersionData) Descriptor() ([]byte, []int)
Deprecated: Use VersionData.ProtoReflect.Descriptor instead.
func (*VersionData) GetCoreVersion ¶
func (x *VersionData) GetCoreVersion() string
func (*VersionData) ProtoMessage ¶
func (*VersionData) ProtoMessage()
func (*VersionData) ProtoReflect ¶
func (x *VersionData) ProtoReflect() protoreflect.Message
func (*VersionData) Reset ¶
func (x *VersionData) Reset()
func (*VersionData) String ¶
func (x *VersionData) String() string