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 MatchmakeExtension protocol

Package types implements all the types used by the MatchmakeExtension protocol

Package types implements all the types used by the MatchmakeExtension protocol

Package types implements all the types used by the MatchmakeExtension protocol

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleSearchCondition

type SimpleSearchCondition struct {
	types.Structure
	Value              *types.PrimitiveU32
	ComparisonOperator *types.PrimitiveU32
}

SimpleSearchCondition is a type within the MatchmakeExtension protocol

func NewSimpleSearchCondition

func NewSimpleSearchCondition() *SimpleSearchCondition

NewSimpleSearchCondition returns a new SimpleSearchCondition

func (*SimpleSearchCondition) Copy

func (ssc *SimpleSearchCondition) Copy() types.RVType

Copy returns a new copied instance of SimpleSearchCondition

func (*SimpleSearchCondition) Equals

func (ssc *SimpleSearchCondition) Equals(o types.RVType) bool

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

func (*SimpleSearchCondition) ExtractFrom

func (ssc *SimpleSearchCondition) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the SimpleSearchCondition from the given readable

func (*SimpleSearchCondition) FormatToString

func (ssc *SimpleSearchCondition) FormatToString(indentationLevel int) string

FormatToString pretty-prints the SimpleSearchCondition using the provided indentation level

func (*SimpleSearchCondition) String

func (ssc *SimpleSearchCondition) String() string

String returns the string representation of the SimpleSearchCondition

func (*SimpleSearchCondition) WriteTo

func (ssc *SimpleSearchCondition) WriteTo(writable types.Writable)

WriteTo writes the SimpleSearchCondition to the given writable

type SimpleSearchDateTimeAttribute

type SimpleSearchDateTimeAttribute struct {
	types.Structure
	Unknown   *types.PrimitiveU32
	Unknown2  *types.PrimitiveU32
	Unknown3  *types.PrimitiveU32
	Unknown4  *types.PrimitiveU32
	StartTime *types.DateTime
	EndTime   *types.DateTime
}

SimpleSearchDateTimeAttribute is a type within the MatchmakeExtension protocol

func NewSimpleSearchDateTimeAttribute

func NewSimpleSearchDateTimeAttribute() *SimpleSearchDateTimeAttribute

NewSimpleSearchDateTimeAttribute returns a new SimpleSearchDateTimeAttribute

func (*SimpleSearchDateTimeAttribute) Copy

Copy returns a new copied instance of SimpleSearchDateTimeAttribute

func (*SimpleSearchDateTimeAttribute) Equals

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

func (*SimpleSearchDateTimeAttribute) ExtractFrom

func (ssdta *SimpleSearchDateTimeAttribute) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the SimpleSearchDateTimeAttribute from the given readable

func (*SimpleSearchDateTimeAttribute) FormatToString

func (ssdta *SimpleSearchDateTimeAttribute) FormatToString(indentationLevel int) string

FormatToString pretty-prints the SimpleSearchDateTimeAttribute using the provided indentation level

func (*SimpleSearchDateTimeAttribute) String

func (ssdta *SimpleSearchDateTimeAttribute) String() string

String returns the string representation of the SimpleSearchDateTimeAttribute

func (*SimpleSearchDateTimeAttribute) WriteTo

func (ssdta *SimpleSearchDateTimeAttribute) WriteTo(writable types.Writable)

WriteTo writes the SimpleSearchDateTimeAttribute to the given writable

type SimpleSearchObject

type SimpleSearchObject struct {
	types.Structure
	ObjectID            *types.PrimitiveU32
	OwnerPID            *types.PID
	Attributes          *types.List[*types.PrimitiveU32]
	Metadata            *types.QBuffer
	CommunityIDMiiverse *types.PrimitiveU32
	CommunityCode       *types.String
	DatetimeAttribute   *SimpleSearchDateTimeAttribute
}

SimpleSearchObject is a type within the MatchmakeExtension protocol

func NewSimpleSearchObject

func NewSimpleSearchObject() *SimpleSearchObject

NewSimpleSearchObject returns a new SimpleSearchObject

func (*SimpleSearchObject) Copy

func (sso *SimpleSearchObject) Copy() types.RVType

Copy returns a new copied instance of SimpleSearchObject

func (*SimpleSearchObject) Equals

func (sso *SimpleSearchObject) Equals(o types.RVType) bool

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

func (*SimpleSearchObject) ExtractFrom

func (sso *SimpleSearchObject) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the SimpleSearchObject from the given readable

func (*SimpleSearchObject) FormatToString

func (sso *SimpleSearchObject) FormatToString(indentationLevel int) string

FormatToString pretty-prints the SimpleSearchObject using the provided indentation level

func (*SimpleSearchObject) String

func (sso *SimpleSearchObject) String() string

String returns the string representation of the SimpleSearchObject

func (*SimpleSearchObject) WriteTo

func (sso *SimpleSearchObject) WriteTo(writable types.Writable)

WriteTo writes the SimpleSearchObject to the given writable

type SimpleSearchParam

type SimpleSearchParam struct {
	types.Structure
	Unknown     *types.PrimitiveU32
	Unknown2    *types.PID
	Conditions  *types.List[*SimpleSearchCondition]
	Unknown3    *types.String
	ResultRange *types.ResultRange
	Unknown4    *types.DateTime
}

SimpleSearchParam is a type within the MatchmakeExtension protocol

func NewSimpleSearchParam

func NewSimpleSearchParam() *SimpleSearchParam

NewSimpleSearchParam returns a new SimpleSearchParam

func (*SimpleSearchParam) Copy

func (ssp *SimpleSearchParam) Copy() types.RVType

Copy returns a new copied instance of SimpleSearchParam

func (*SimpleSearchParam) Equals

func (ssp *SimpleSearchParam) Equals(o types.RVType) bool

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

func (*SimpleSearchParam) ExtractFrom

func (ssp *SimpleSearchParam) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the SimpleSearchParam from the given readable

func (*SimpleSearchParam) FormatToString

func (ssp *SimpleSearchParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the SimpleSearchParam using the provided indentation level

func (*SimpleSearchParam) String

func (ssp *SimpleSearchParam) String() string

String returns the string representation of the SimpleSearchParam

func (*SimpleSearchParam) WriteTo

func (ssp *SimpleSearchParam) WriteTo(writable types.Writable)

WriteTo writes the SimpleSearchParam to the given writable

Jump to

Keyboard shortcuts

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