types

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package types implements all the types used by the Ranking2 protocol

Package types implements all the types used by the Ranking2 protocol

Package types implements all the types used by the Ranking2 protocol

Package types implements all the types used by the Ranking2 protocol

Package types implements all the types used by the Ranking2 protocol

Package types implements all the types used by the Ranking2 protocol

Package types implements all the types used by the Ranking2 protocol

Package types implements all the types used by the Ranking2 protocol

Package types implements all the types used by the Ranking2 protocol

Package types implements all the types used by the Ranking2 protocol

Package types implements all the types used by the Ranking2 protocol

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ranking2CategorySetting

type Ranking2CategorySetting struct {
	types.Structure
	MinScore           *types.PrimitiveU32
	MaxScore           *types.PrimitiveU32
	LowestRank         *types.PrimitiveU32
	ResetMonth         *types.PrimitiveU16
	ResetDay           *types.PrimitiveU8
	ResetHour          *types.PrimitiveU8
	ResetMode          *types.PrimitiveU8
	MaxSeasonsToGoBack *types.PrimitiveU8
	ScoreOrder         *types.PrimitiveBool
}

Ranking2CategorySetting is a type within the Ranking2 protocol

func NewRanking2CategorySetting

func NewRanking2CategorySetting() *Ranking2CategorySetting

NewRanking2CategorySetting returns a new Ranking2CategorySetting

func (*Ranking2CategorySetting) Copy

func (rcs *Ranking2CategorySetting) Copy() types.RVType

Copy returns a new copied instance of Ranking2CategorySetting

func (*Ranking2CategorySetting) Equals

func (rcs *Ranking2CategorySetting) Equals(o types.RVType) bool

Equals checks if the given Ranking2CategorySetting contains the same data as the current Ranking2CategorySetting

func (*Ranking2CategorySetting) ExtractFrom

func (rcs *Ranking2CategorySetting) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the Ranking2CategorySetting from the given readable

func (*Ranking2CategorySetting) FormatToString

func (rcs *Ranking2CategorySetting) FormatToString(indentationLevel int) string

FormatToString pretty-prints the Ranking2CategorySetting using the provided indentation level

func (*Ranking2CategorySetting) String

func (rcs *Ranking2CategorySetting) String() string

String returns the string representation of the Ranking2CategorySetting

func (*Ranking2CategorySetting) WriteTo

func (rcs *Ranking2CategorySetting) WriteTo(writable types.Writable)

WriteTo writes the Ranking2CategorySetting to the given writable

type Ranking2ChartInfo

type Ranking2ChartInfo struct {
	types.Structure
	CreateTime           *types.DateTime
	Index                *types.PrimitiveU32
	Category             *types.PrimitiveU32
	Season               *types.PrimitiveS32
	BinsSize             *types.PrimitiveU8
	SamplingRate         *types.PrimitiveU8
	ScoreOrder           *types.PrimitiveBool
	EstimateLength       *types.PrimitiveU32
	EstimateHighestScore *types.PrimitiveU32
	EstimateLowestScore  *types.PrimitiveU32
	EstimateMedianScore  *types.PrimitiveU32
	EstimateAverageScore *types.PrimitiveF64
	HighestBinsScore     *types.PrimitiveU32
	LowestBinsScore      *types.PrimitiveU32
	BinsWidth            *types.PrimitiveU32
	Attribute1           *types.PrimitiveU32
	Attribute2           *types.PrimitiveU32
	Quantities           *types.List[*types.PrimitiveU32]
}

Ranking2ChartInfo is a type within the Ranking2 protocol

func NewRanking2ChartInfo

func NewRanking2ChartInfo() *Ranking2ChartInfo

NewRanking2ChartInfo returns a new Ranking2ChartInfo

func (*Ranking2ChartInfo) Copy

func (rci *Ranking2ChartInfo) Copy() types.RVType

Copy returns a new copied instance of Ranking2ChartInfo

func (*Ranking2ChartInfo) Equals

func (rci *Ranking2ChartInfo) Equals(o types.RVType) bool

Equals checks if the given Ranking2ChartInfo contains the same data as the current Ranking2ChartInfo

func (*Ranking2ChartInfo) ExtractFrom

func (rci *Ranking2ChartInfo) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the Ranking2ChartInfo from the given readable

func (*Ranking2ChartInfo) FormatToString

func (rci *Ranking2ChartInfo) FormatToString(indentationLevel int) string

FormatToString pretty-prints the Ranking2ChartInfo using the provided indentation level

func (*Ranking2ChartInfo) String

func (rci *Ranking2ChartInfo) String() string

String returns the string representation of the Ranking2ChartInfo

func (*Ranking2ChartInfo) WriteTo

func (rci *Ranking2ChartInfo) WriteTo(writable types.Writable)

WriteTo writes the Ranking2ChartInfo to the given writable

type Ranking2ChartInfoInput

type Ranking2ChartInfoInput struct {
	types.Structure
	ChartIndex         *types.PrimitiveU32
	NumSeasonsToGoBack *types.PrimitiveU8
}

Ranking2ChartInfoInput is a type within the Ranking2 protocol

func NewRanking2ChartInfoInput

func NewRanking2ChartInfoInput() *Ranking2ChartInfoInput

NewRanking2ChartInfoInput returns a new Ranking2ChartInfoInput

func (*Ranking2ChartInfoInput) Copy

func (rcii *Ranking2ChartInfoInput) Copy() types.RVType

Copy returns a new copied instance of Ranking2ChartInfoInput

func (*Ranking2ChartInfoInput) Equals

func (rcii *Ranking2ChartInfoInput) Equals(o types.RVType) bool

Equals checks if the given Ranking2ChartInfoInput contains the same data as the current Ranking2ChartInfoInput

func (*Ranking2ChartInfoInput) ExtractFrom

func (rcii *Ranking2ChartInfoInput) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the Ranking2ChartInfoInput from the given readable

func (*Ranking2ChartInfoInput) FormatToString

func (rcii *Ranking2ChartInfoInput) FormatToString(indentationLevel int) string

FormatToString pretty-prints the Ranking2ChartInfoInput using the provided indentation level

func (*Ranking2ChartInfoInput) String

func (rcii *Ranking2ChartInfoInput) String() string

String returns the string representation of the Ranking2ChartInfoInput

func (*Ranking2ChartInfoInput) WriteTo

func (rcii *Ranking2ChartInfoInput) WriteTo(writable types.Writable)

WriteTo writes the Ranking2ChartInfoInput to the given writable

type Ranking2CommonData

type Ranking2CommonData struct {
	types.Structure
	UserName   *types.String
	Mii        *types.QBuffer
	BinaryData *types.QBuffer
}

Ranking2CommonData is a type within the Ranking2 protocol

func NewRanking2CommonData

func NewRanking2CommonData() *Ranking2CommonData

NewRanking2CommonData returns a new Ranking2CommonData

func (*Ranking2CommonData) Copy

func (rcd *Ranking2CommonData) Copy() types.RVType

Copy returns a new copied instance of Ranking2CommonData

func (*Ranking2CommonData) Equals

func (rcd *Ranking2CommonData) Equals(o types.RVType) bool

Equals checks if the given Ranking2CommonData contains the same data as the current Ranking2CommonData

func (*Ranking2CommonData) ExtractFrom

func (rcd *Ranking2CommonData) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the Ranking2CommonData from the given readable

func (*Ranking2CommonData) FormatToString

func (rcd *Ranking2CommonData) FormatToString(indentationLevel int) string

FormatToString pretty-prints the Ranking2CommonData using the provided indentation level

func (*Ranking2CommonData) String

func (rcd *Ranking2CommonData) String() string

String returns the string representation of the Ranking2CommonData

func (*Ranking2CommonData) WriteTo

func (rcd *Ranking2CommonData) WriteTo(writable types.Writable)

WriteTo writes the Ranking2CommonData to the given writable

type Ranking2EstimateScoreRankInput

type Ranking2EstimateScoreRankInput struct {
	types.Structure
	Category           *types.PrimitiveU32
	NumSeasonsToGoBack *types.PrimitiveU8
	Score              *types.PrimitiveU32
}

Ranking2EstimateScoreRankInput is a type within the Ranking2 protocol

func NewRanking2EstimateScoreRankInput

func NewRanking2EstimateScoreRankInput() *Ranking2EstimateScoreRankInput

NewRanking2EstimateScoreRankInput returns a new Ranking2EstimateScoreRankInput

func (*Ranking2EstimateScoreRankInput) Copy

Copy returns a new copied instance of Ranking2EstimateScoreRankInput

func (*Ranking2EstimateScoreRankInput) Equals

Equals checks if the given Ranking2EstimateScoreRankInput contains the same data as the current Ranking2EstimateScoreRankInput

func (*Ranking2EstimateScoreRankInput) ExtractFrom

func (resri *Ranking2EstimateScoreRankInput) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the Ranking2EstimateScoreRankInput from the given readable

func (*Ranking2EstimateScoreRankInput) FormatToString

func (resri *Ranking2EstimateScoreRankInput) FormatToString(indentationLevel int) string

FormatToString pretty-prints the Ranking2EstimateScoreRankInput using the provided indentation level

func (*Ranking2EstimateScoreRankInput) String

func (resri *Ranking2EstimateScoreRankInput) String() string

String returns the string representation of the Ranking2EstimateScoreRankInput

func (*Ranking2EstimateScoreRankInput) WriteTo

func (resri *Ranking2EstimateScoreRankInput) WriteTo(writable types.Writable)

WriteTo writes the Ranking2EstimateScoreRankInput to the given writable

type Ranking2EstimateScoreRankOutput

type Ranking2EstimateScoreRankOutput struct {
	types.Structure
	Rank         *types.PrimitiveU32
	Length       *types.PrimitiveU32
	Score        *types.PrimitiveU32
	Category     *types.PrimitiveU32
	Season       *types.PrimitiveS32
	SamplingRate *types.PrimitiveU8
}

Ranking2EstimateScoreRankOutput is a type within the Ranking2 protocol

func NewRanking2EstimateScoreRankOutput

func NewRanking2EstimateScoreRankOutput() *Ranking2EstimateScoreRankOutput

NewRanking2EstimateScoreRankOutput returns a new Ranking2EstimateScoreRankOutput

func (*Ranking2EstimateScoreRankOutput) Copy

Copy returns a new copied instance of Ranking2EstimateScoreRankOutput

func (*Ranking2EstimateScoreRankOutput) Equals

Equals checks if the given Ranking2EstimateScoreRankOutput contains the same data as the current Ranking2EstimateScoreRankOutput

func (*Ranking2EstimateScoreRankOutput) ExtractFrom

func (resro *Ranking2EstimateScoreRankOutput) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the Ranking2EstimateScoreRankOutput from the given readable

func (*Ranking2EstimateScoreRankOutput) FormatToString

func (resro *Ranking2EstimateScoreRankOutput) FormatToString(indentationLevel int) string

FormatToString pretty-prints the Ranking2EstimateScoreRankOutput using the provided indentation level

func (*Ranking2EstimateScoreRankOutput) String

func (resro *Ranking2EstimateScoreRankOutput) String() string

String returns the string representation of the Ranking2EstimateScoreRankOutput

func (*Ranking2EstimateScoreRankOutput) WriteTo

func (resro *Ranking2EstimateScoreRankOutput) WriteTo(writable types.Writable)

WriteTo writes the Ranking2EstimateScoreRankOutput to the given writable

type Ranking2GetByListParam

type Ranking2GetByListParam struct {
	types.Structure
	Category           *types.PrimitiveU32
	Offset             *types.PrimitiveU32
	Length             *types.PrimitiveU32
	SortFlags          *types.PrimitiveU32
	OptionFlags        *types.PrimitiveU32
	NumSeasonsToGoBack *types.PrimitiveU8
}

Ranking2GetByListParam is a type within the Ranking2 protocol

func NewRanking2GetByListParam

func NewRanking2GetByListParam() *Ranking2GetByListParam

NewRanking2GetByListParam returns a new Ranking2GetByListParam

func (*Ranking2GetByListParam) Copy

func (rgblp *Ranking2GetByListParam) Copy() types.RVType

Copy returns a new copied instance of Ranking2GetByListParam

func (*Ranking2GetByListParam) Equals

func (rgblp *Ranking2GetByListParam) Equals(o types.RVType) bool

Equals checks if the given Ranking2GetByListParam contains the same data as the current Ranking2GetByListParam

func (*Ranking2GetByListParam) ExtractFrom

func (rgblp *Ranking2GetByListParam) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the Ranking2GetByListParam from the given readable

func (*Ranking2GetByListParam) FormatToString

func (rgblp *Ranking2GetByListParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the Ranking2GetByListParam using the provided indentation level

func (*Ranking2GetByListParam) String

func (rgblp *Ranking2GetByListParam) String() string

String returns the string representation of the Ranking2GetByListParam

func (*Ranking2GetByListParam) WriteTo

func (rgblp *Ranking2GetByListParam) WriteTo(writable types.Writable)

WriteTo writes the Ranking2GetByListParam to the given writable

type Ranking2GetParam

type Ranking2GetParam struct {
	types.Structure
	NexUniqueID        *types.PrimitiveU64
	PrincipalID        *types.PID
	Category           *types.PrimitiveU32
	Offset             *types.PrimitiveU32
	Length             *types.PrimitiveU32
	SortFlags          *types.PrimitiveU32
	OptionFlags        *types.PrimitiveU32
	Mode               *types.PrimitiveU8
	NumSeasonsToGoBack *types.PrimitiveU8
}

Ranking2GetParam is a type within the Ranking2 protocol

func NewRanking2GetParam

func NewRanking2GetParam() *Ranking2GetParam

NewRanking2GetParam returns a new Ranking2GetParam

func (*Ranking2GetParam) Copy

func (rgp *Ranking2GetParam) Copy() types.RVType

Copy returns a new copied instance of Ranking2GetParam

func (*Ranking2GetParam) Equals

func (rgp *Ranking2GetParam) Equals(o types.RVType) bool

Equals checks if the given Ranking2GetParam contains the same data as the current Ranking2GetParam

func (*Ranking2GetParam) ExtractFrom

func (rgp *Ranking2GetParam) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the Ranking2GetParam from the given readable

func (*Ranking2GetParam) FormatToString

func (rgp *Ranking2GetParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the Ranking2GetParam using the provided indentation level

func (*Ranking2GetParam) String

func (rgp *Ranking2GetParam) String() string

String returns the string representation of the Ranking2GetParam

func (*Ranking2GetParam) WriteTo

func (rgp *Ranking2GetParam) WriteTo(writable types.Writable)

WriteTo writes the Ranking2GetParam to the given writable

type Ranking2Info

type Ranking2Info struct {
	types.Structure
	RankDataList *types.List[*Ranking2RankData]
	LowestRank   *types.PrimitiveU32
	NumRankedIn  *types.PrimitiveU32
	Season       *types.PrimitiveS32
}

Ranking2Info is a type within the Ranking2 protocol

func NewRanking2Info

func NewRanking2Info() *Ranking2Info

NewRanking2Info returns a new Ranking2Info

func (*Ranking2Info) Copy

func (ri *Ranking2Info) Copy() types.RVType

Copy returns a new copied instance of Ranking2Info

func (*Ranking2Info) Equals

func (ri *Ranking2Info) Equals(o types.RVType) bool

Equals checks if the given Ranking2Info contains the same data as the current Ranking2Info

func (*Ranking2Info) ExtractFrom

func (ri *Ranking2Info) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the Ranking2Info from the given readable

func (*Ranking2Info) FormatToString

func (ri *Ranking2Info) FormatToString(indentationLevel int) string

FormatToString pretty-prints the Ranking2Info using the provided indentation level

func (*Ranking2Info) String

func (ri *Ranking2Info) String() string

String returns the string representation of the Ranking2Info

func (*Ranking2Info) WriteTo

func (ri *Ranking2Info) WriteTo(writable types.Writable)

WriteTo writes the Ranking2Info to the given writable

type Ranking2RankData

type Ranking2RankData struct {
	types.Structure
	Misc        *types.PrimitiveU64
	NexUniqueID *types.PrimitiveU64
	PrincipalID *types.PID
	Rank        *types.PrimitiveU32
	Score       *types.PrimitiveU32
	CommonData  *Ranking2CommonData
}

Ranking2RankData is a type within the Ranking2 protocol

func NewRanking2RankData

func NewRanking2RankData() *Ranking2RankData

NewRanking2RankData returns a new Ranking2RankData

func (*Ranking2RankData) Copy

func (rrd *Ranking2RankData) Copy() types.RVType

Copy returns a new copied instance of Ranking2RankData

func (*Ranking2RankData) Equals

func (rrd *Ranking2RankData) Equals(o types.RVType) bool

Equals checks if the given Ranking2RankData contains the same data as the current Ranking2RankData

func (*Ranking2RankData) ExtractFrom

func (rrd *Ranking2RankData) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the Ranking2RankData from the given readable

func (*Ranking2RankData) FormatToString

func (rrd *Ranking2RankData) FormatToString(indentationLevel int) string

FormatToString pretty-prints the Ranking2RankData using the provided indentation level

func (*Ranking2RankData) String

func (rrd *Ranking2RankData) String() string

String returns the string representation of the Ranking2RankData

func (*Ranking2RankData) WriteTo

func (rrd *Ranking2RankData) WriteTo(writable types.Writable)

WriteTo writes the Ranking2RankData to the given writable

type Ranking2ScoreData

type Ranking2ScoreData struct {
	types.Structure
	Misc     *types.PrimitiveU64
	Category *types.PrimitiveU32
	Score    *types.PrimitiveU32
}

Ranking2ScoreData is a type within the Ranking2 protocol

func NewRanking2ScoreData

func NewRanking2ScoreData() *Ranking2ScoreData

NewRanking2ScoreData returns a new Ranking2ScoreData

func (*Ranking2ScoreData) Copy

func (rsd *Ranking2ScoreData) Copy() types.RVType

Copy returns a new copied instance of Ranking2ScoreData

func (*Ranking2ScoreData) Equals

func (rsd *Ranking2ScoreData) Equals(o types.RVType) bool

Equals checks if the given Ranking2ScoreData contains the same data as the current Ranking2ScoreData

func (*Ranking2ScoreData) ExtractFrom

func (rsd *Ranking2ScoreData) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the Ranking2ScoreData from the given readable

func (*Ranking2ScoreData) FormatToString

func (rsd *Ranking2ScoreData) FormatToString(indentationLevel int) string

FormatToString pretty-prints the Ranking2ScoreData using the provided indentation level

func (*Ranking2ScoreData) String

func (rsd *Ranking2ScoreData) String() string

String returns the string representation of the Ranking2ScoreData

func (*Ranking2ScoreData) WriteTo

func (rsd *Ranking2ScoreData) WriteTo(writable types.Writable)

WriteTo writes the Ranking2ScoreData to the given writable

Jump to

Keyboard shortcuts

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