types

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package types implements all the types used by the DataStoreMiitopia protocol

Package types implements all the types used by the DataStoreMiitopia protocol

Package types implements all the types used by the DataStoreMiitopia protocol

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MiiTubeMiiInfo

type MiiTubeMiiInfo struct {
	types.Structure
	MetaInfo    *datastore_types.DataStoreMetaInfo
	Category    *types.PrimitiveU8
	RankingType *types.PrimitiveU8
}

MiiTubeMiiInfo is a type within the DataStoreMiitopia protocol

func NewMiiTubeMiiInfo

func NewMiiTubeMiiInfo() *MiiTubeMiiInfo

NewMiiTubeMiiInfo returns a new MiiTubeMiiInfo

func (*MiiTubeMiiInfo) Copy

func (mtmi *MiiTubeMiiInfo) Copy() types.RVType

Copy returns a new copied instance of MiiTubeMiiInfo

func (*MiiTubeMiiInfo) Equals

func (mtmi *MiiTubeMiiInfo) Equals(o types.RVType) bool

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

func (*MiiTubeMiiInfo) ExtractFrom

func (mtmi *MiiTubeMiiInfo) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the MiiTubeMiiInfo from the given readable

func (*MiiTubeMiiInfo) FormatToString

func (mtmi *MiiTubeMiiInfo) FormatToString(indentationLevel int) string

FormatToString pretty-prints the MiiTubeMiiInfo using the provided indentation level

func (*MiiTubeMiiInfo) String

func (mtmi *MiiTubeMiiInfo) String() string

String returns the string representation of the MiiTubeMiiInfo

func (*MiiTubeMiiInfo) WriteTo

func (mtmi *MiiTubeMiiInfo) WriteTo(writable types.Writable)

WriteTo writes the MiiTubeMiiInfo to the given writable

type MiiTubeSearchParam

type MiiTubeSearchParam struct {
	types.Structure
	Name         *types.String
	Page         *types.PrimitiveU32
	Category     *types.PrimitiveU8
	Gender       *types.PrimitiveU8
	Country      *types.PrimitiveU8
	SearchType   *types.PrimitiveU8
	ResultOption *types.PrimitiveU8
}

MiiTubeSearchParam is a type within the DataStoreMiitopia protocol

func NewMiiTubeSearchParam

func NewMiiTubeSearchParam() *MiiTubeSearchParam

NewMiiTubeSearchParam returns a new MiiTubeSearchParam

func (*MiiTubeSearchParam) Copy

func (mtsp *MiiTubeSearchParam) Copy() types.RVType

Copy returns a new copied instance of MiiTubeSearchParam

func (*MiiTubeSearchParam) Equals

func (mtsp *MiiTubeSearchParam) Equals(o types.RVType) bool

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

func (*MiiTubeSearchParam) ExtractFrom

func (mtsp *MiiTubeSearchParam) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the MiiTubeSearchParam from the given readable

func (*MiiTubeSearchParam) FormatToString

func (mtsp *MiiTubeSearchParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the MiiTubeSearchParam using the provided indentation level

func (*MiiTubeSearchParam) String

func (mtsp *MiiTubeSearchParam) String() string

String returns the string representation of the MiiTubeSearchParam

func (*MiiTubeSearchParam) WriteTo

func (mtsp *MiiTubeSearchParam) WriteTo(writable types.Writable)

WriteTo writes the MiiTubeSearchParam to the given variable

type MiiTubeSearchResult

type MiiTubeSearchResult struct {
	types.Structure

	Result  *types.List[*MiiTubeMiiInfo]
	Count   *types.PrimitiveU32
	Page    *types.PrimitiveU32
	HasNext *types.PrimitiveBool
}

MiiTubeSearchResult is a type within the DataStoreMiitopia protocol

func NewMiiTubeSearchResult

func NewMiiTubeSearchResult() *MiiTubeSearchResult

NewMiiTubeSearchResult returns a new MiiTubeSearchResult

func (*MiiTubeSearchResult) Copy

func (mtsr *MiiTubeSearchResult) Copy() types.RVType

Copy returns a new copied instance of MiiTubeSearchResult

func (*MiiTubeSearchResult) Equals

func (mtsr *MiiTubeSearchResult) Equals(o types.RVType) bool

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

func (*MiiTubeSearchResult) ExtractFrom

func (mtsr *MiiTubeSearchResult) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the MiiTubeSearchResult from the given readable

func (*MiiTubeSearchResult) FormatToString

func (mtsr *MiiTubeSearchResult) FormatToString(indentationLevel int) string

FormatToString pretty-prints the MiiTubeSearchResult using the provided indentation level

func (*MiiTubeSearchResult) String

func (mtsr *MiiTubeSearchResult) String() string

String returns the string representation of the MiiTubeSearchResult

func (*MiiTubeSearchResult) WriteTo

func (mtsr *MiiTubeSearchResult) WriteTo(writable types.Writable)

WriteTo writes the MiiTubeSearchResult to the given variable

Jump to

Keyboard shortcuts

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