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: 4 Imported by: 1

Documentation

Overview

Package types implements all the types used by the Ranking protocol

Package types implements all the types used by the Ranking protocol

Package types implements all the types used by the Ranking protocol

Package types implements all the types used by the Ranking protocol

Package types implements all the types used by the Ranking protocol

Package types implements all the types used by the Ranking protocol

Package types implements all the types used by the Ranking protocol

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RankingCachedResult

type RankingCachedResult struct {
	types.Structure
	*RankingResult
	CreatedTime *types.DateTime
	ExpiredTime *types.DateTime
	MaxLength   *types.PrimitiveU8
}

RankingCachedResult is a type within the Ranking protocol

func NewRankingCachedResult

func NewRankingCachedResult() *RankingCachedResult

NewRankingCachedResult returns a new RankingCachedResult

func (*RankingCachedResult) Copy

func (rcr *RankingCachedResult) Copy() types.RVType

Copy returns a new copied instance of RankingCachedResult

func (*RankingCachedResult) Equals

func (rcr *RankingCachedResult) Equals(o types.RVType) bool

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

func (*RankingCachedResult) ExtractFrom

func (rcr *RankingCachedResult) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the RankingCachedResult from the given readable

func (*RankingCachedResult) FormatToString

func (rcr *RankingCachedResult) FormatToString(indentationLevel int) string

FormatToString pretty-prints the RankingCachedResult using the provided indentation level

func (*RankingCachedResult) String

func (rcr *RankingCachedResult) String() string

String returns the string representation of the RankingCachedResult

func (*RankingCachedResult) WriteTo

func (rcr *RankingCachedResult) WriteTo(writable types.Writable)

WriteTo writes the RankingCachedResult to the given writable

type RankingChangeAttributesParam

type RankingChangeAttributesParam struct {
	types.Structure
	ModificationFlag *types.PrimitiveU8
	Groups           *types.List[*types.PrimitiveU8]
	Param            *types.PrimitiveU64
}

RankingChangeAttributesParam is a type within the Ranking protocol

func NewRankingChangeAttributesParam

func NewRankingChangeAttributesParam() *RankingChangeAttributesParam

NewRankingChangeAttributesParam returns a new RankingChangeAttributesParam

func (*RankingChangeAttributesParam) Copy

Copy returns a new copied instance of RankingChangeAttributesParam

func (*RankingChangeAttributesParam) Equals

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

func (*RankingChangeAttributesParam) ExtractFrom

func (rcap *RankingChangeAttributesParam) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the RankingChangeAttributesParam from the given readable

func (*RankingChangeAttributesParam) FormatToString

func (rcap *RankingChangeAttributesParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the RankingChangeAttributesParam using the provided indentation level

func (*RankingChangeAttributesParam) String

func (rcap *RankingChangeAttributesParam) String() string

String returns the string representation of the RankingChangeAttributesParam

func (*RankingChangeAttributesParam) WriteTo

func (rcap *RankingChangeAttributesParam) WriteTo(writable types.Writable)

WriteTo writes the RankingChangeAttributesParam to the given writable

type RankingOrderParam

type RankingOrderParam struct {
	types.Structure
	OrderCalculation *types.PrimitiveU8
	GroupIndex       *types.PrimitiveU8
	GroupNum         *types.PrimitiveU8
	TimeScope        *types.PrimitiveU8
	Offset           *types.PrimitiveU32
	Length           *types.PrimitiveU8
}

RankingOrderParam is a type within the Ranking protocol

func NewRankingOrderParam

func NewRankingOrderParam() *RankingOrderParam

NewRankingOrderParam returns a new RankingOrderParam

func (*RankingOrderParam) Copy

func (rop *RankingOrderParam) Copy() types.RVType

Copy returns a new copied instance of RankingOrderParam

func (*RankingOrderParam) Equals

func (rop *RankingOrderParam) Equals(o types.RVType) bool

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

func (*RankingOrderParam) ExtractFrom

func (rop *RankingOrderParam) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the RankingOrderParam from the given readable

func (*RankingOrderParam) FormatToString

func (rop *RankingOrderParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the RankingOrderParam using the provided indentation level

func (*RankingOrderParam) String

func (rop *RankingOrderParam) String() string

String returns the string representation of the RankingOrderParam

func (*RankingOrderParam) WriteTo

func (rop *RankingOrderParam) WriteTo(writable types.Writable)

WriteTo writes the RankingOrderParam to the given writable

type RankingRankData

type RankingRankData struct {
	types.Structure
	PrincipalID *types.PID
	UniqueID    *types.PrimitiveU64
	Order       *types.PrimitiveU32
	Category    *types.PrimitiveU32
	Score       *types.PrimitiveU32
	Groups      *types.Buffer
	Param       *types.PrimitiveU64
	CommonData  *types.Buffer
	UpdateTime  *types.DateTime // * NEX v3.6.0
}

RankingRankData is a type within the Ranking protocol

func NewRankingRankData

func NewRankingRankData() *RankingRankData

NewRankingRankData returns a new RankingRankData

func (*RankingRankData) Copy

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

Copy returns a new copied instance of RankingRankData

func (*RankingRankData) Equals

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

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

func (*RankingRankData) ExtractFrom

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

ExtractFrom extracts the RankingRankData from the given readable

func (*RankingRankData) FormatToString

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

FormatToString pretty-prints the RankingRankData using the provided indentation level

func (*RankingRankData) String

func (rrd *RankingRankData) String() string

String returns the string representation of the RankingRankData

func (*RankingRankData) WriteTo

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

WriteTo writes the RankingRankData to the given writable

type RankingResult

type RankingResult struct {
	types.Structure
	RankDataList *types.List[*RankingRankData]
	TotalCount   *types.PrimitiveU32
	SinceTime    *types.DateTime
}

RankingResult is a type within the Ranking protocol

func NewRankingResult

func NewRankingResult() *RankingResult

NewRankingResult returns a new RankingResult

func (*RankingResult) Copy

func (rr *RankingResult) Copy() types.RVType

Copy returns a new copied instance of RankingResult

func (*RankingResult) Equals

func (rr *RankingResult) Equals(o types.RVType) bool

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

func (*RankingResult) ExtractFrom

func (rr *RankingResult) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the RankingResult from the given readable

func (*RankingResult) FormatToString

func (rr *RankingResult) FormatToString(indentationLevel int) string

FormatToString pretty-prints the RankingResult using the provided indentation level

func (*RankingResult) String

func (rr *RankingResult) String() string

String returns the string representation of the RankingResult

func (*RankingResult) WriteTo

func (rr *RankingResult) WriteTo(writable types.Writable)

WriteTo writes the RankingResult to the given writable

type RankingScoreData

type RankingScoreData struct {
	types.Structure
	Category   *types.PrimitiveU32
	Score      *types.PrimitiveU32
	OrderBy    *types.PrimitiveU8
	UpdateMode *types.PrimitiveU8
	Groups     *types.Buffer
	Param      *types.PrimitiveU64
}

RankingScoreData is a type within the Ranking protocol

func NewRankingScoreData

func NewRankingScoreData() *RankingScoreData

NewRankingScoreData returns a new RankingScoreData

func (*RankingScoreData) Copy

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

Copy returns a new copied instance of RankingScoreData

func (*RankingScoreData) Equals

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

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

func (*RankingScoreData) ExtractFrom

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

ExtractFrom extracts the RankingScoreData from the given readable

func (*RankingScoreData) FormatToString

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

FormatToString pretty-prints the RankingScoreData using the provided indentation level

func (*RankingScoreData) String

func (rsd *RankingScoreData) String() string

String returns the string representation of the RankingScoreData

func (*RankingScoreData) WriteTo

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

WriteTo writes the RankingScoreData to the given writable

type RankingStats

type RankingStats struct {
	types.Structure
	StatsList *types.List[*types.PrimitiveF64]
}

RankingStats is a type within the Ranking protocol

func NewRankingStats

func NewRankingStats() *RankingStats

NewRankingStats returns a new RankingStats

func (*RankingStats) Copy

func (rs *RankingStats) Copy() types.RVType

Copy returns a new copied instance of RankingStats

func (*RankingStats) Equals

func (rs *RankingStats) Equals(o types.RVType) bool

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

func (*RankingStats) ExtractFrom

func (rs *RankingStats) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the RankingStats from the given readable

func (*RankingStats) FormatToString

func (rs *RankingStats) FormatToString(indentationLevel int) string

FormatToString pretty-prints the RankingStats using the provided indentation level

func (*RankingStats) String

func (rs *RankingStats) String() string

String returns the string representation of the RankingStats

func (*RankingStats) WriteTo

func (rs *RankingStats) WriteTo(writable types.Writable)

WriteTo writes the RankingStats to the given writable

Jump to

Keyboard shortcuts

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