Documentation ¶
Overview ¶
Package types implements all the types used by the Friends3DS protocol
Package types implements all the types used by the Friends3DS protocol ¶
Package types implements all the types used by the Friends3DS protocol ¶
Package types implements all the types used by the Friends3DS protocol ¶
Package types implements all the types used by the Friends3DS protocol ¶
Package types implements all the types used by the Friends3DS protocol ¶
Package types implements all the types used by the Friends3DS protocol ¶
Package types implements all the types used by the Friends3DS protocol ¶
Package types implements all the types used by the Friends3DS protocol ¶
Package types implements all the types used by the Friends3DS protocol ¶
Package types implements all the types used by the Friends3DS protocol ¶
Package types implements all the types used by the Friends3DS protocol ¶
Package types implements all the types used by the Friends3DS protocol ¶
Package types implements all the types used by the Friends3DS protocol
Index ¶
- type FriendComment
- func (fc *FriendComment) Copy() types.RVType
- func (fc *FriendComment) Equals(o types.RVType) bool
- func (fc *FriendComment) ExtractFrom(readable types.Readable) error
- func (fc *FriendComment) FormatToString(indentationLevel int) string
- func (fc *FriendComment) String() string
- func (fc *FriendComment) WriteTo(writable types.Writable)
- type FriendInfo
- func (fi *FriendInfo) Copy() types.RVType
- func (fi *FriendInfo) Equals(o types.RVType) bool
- func (fi *FriendInfo) ExtractFrom(readable types.Readable) error
- func (fi *FriendInfo) FormatToString(indentationLevel int) string
- func (fi *FriendInfo) String() string
- func (fi *FriendInfo) WriteTo(writable types.Writable)
- type FriendMii
- func (fm *FriendMii) Copy() types.RVType
- func (fm *FriendMii) Equals(o types.RVType) bool
- func (fm *FriendMii) ExtractFrom(readable types.Readable) error
- func (fm *FriendMii) FormatToString(indentationLevel int) string
- func (fm *FriendMii) String() string
- func (fm *FriendMii) WriteTo(writable types.Writable)
- type FriendMiiList
- func (fml *FriendMiiList) Copy() types.RVType
- func (fml *FriendMiiList) Equals(o types.RVType) bool
- func (fml *FriendMiiList) ExtractFrom(readable types.Readable) error
- func (fml *FriendMiiList) FormatToString(indentationLevel int) string
- func (fml *FriendMiiList) String() string
- func (fml *FriendMiiList) WriteTo(writable types.Writable)
- type FriendPersistentInfo
- func (fpi *FriendPersistentInfo) Copy() types.RVType
- func (fpi *FriendPersistentInfo) Equals(o types.RVType) bool
- func (fpi *FriendPersistentInfo) ExtractFrom(readable types.Readable) error
- func (fpi *FriendPersistentInfo) FormatToString(indentationLevel int) string
- func (fpi *FriendPersistentInfo) String() string
- func (fpi *FriendPersistentInfo) WriteTo(writable types.Writable)
- type FriendPicture
- func (fp *FriendPicture) Copy() types.RVType
- func (fp *FriendPicture) Equals(o types.RVType) bool
- func (fp *FriendPicture) ExtractFrom(readable types.Readable) error
- func (fp *FriendPicture) FormatToString(indentationLevel int) string
- func (fp *FriendPicture) String() string
- func (fp *FriendPicture) WriteTo(writable types.Writable)
- type FriendPresence
- func (fp *FriendPresence) Copy() types.RVType
- func (fp *FriendPresence) Equals(o types.RVType) bool
- func (fp *FriendPresence) ExtractFrom(readable types.Readable) error
- func (fp *FriendPresence) FormatToString(indentationLevel int) string
- func (fp *FriendPresence) String() string
- func (fp *FriendPresence) WriteTo(writable types.Writable)
- type FriendRelationship
- func (fr *FriendRelationship) Copy() types.RVType
- func (fr *FriendRelationship) Equals(o types.RVType) bool
- func (fr *FriendRelationship) ExtractFrom(readable types.Readable) error
- func (fr *FriendRelationship) FormatToString(indentationLevel int) string
- func (fr *FriendRelationship) String() string
- func (fr *FriendRelationship) WriteTo(writable types.Writable)
- type GameKey
- type Mii
- type MiiList
- type MyProfile
- func (mp *MyProfile) Copy() types.RVType
- func (mp *MyProfile) Equals(o types.RVType) bool
- func (mp *MyProfile) ExtractFrom(readable types.Readable) error
- func (mp *MyProfile) FormatToString(indentationLevel int) string
- func (mp *MyProfile) String() string
- func (mp *MyProfile) WriteTo(writable types.Writable)
- type NintendoPresence
- func (np *NintendoPresence) Copy() types.RVType
- func (np *NintendoPresence) Equals(o types.RVType) bool
- func (np *NintendoPresence) ExtractFrom(readable types.Readable) error
- func (np *NintendoPresence) FormatToString(indentationLevel int) string
- func (np *NintendoPresence) String() string
- func (np *NintendoPresence) WriteTo(writable types.Writable)
- type PlayedGame
- func (pg *PlayedGame) Copy() types.RVType
- func (pg *PlayedGame) Equals(o types.RVType) bool
- func (pg *PlayedGame) ExtractFrom(readable types.Readable) error
- func (pg *PlayedGame) FormatToString(indentationLevel int) string
- func (pg *PlayedGame) String() string
- func (pg *PlayedGame) WriteTo(writable types.Writable)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FriendComment ¶
type FriendComment struct { types.Structure *types.Data PID *types.PID Comment *types.String ModifiedAt *types.DateTime }
FriendComment is a type within the Friends3DS protocol
func NewFriendComment ¶
func NewFriendComment() *FriendComment
NewFriendComment returns a new FriendComment
func (*FriendComment) Copy ¶
func (fc *FriendComment) Copy() types.RVType
Copy returns a new copied instance of FriendComment
func (*FriendComment) Equals ¶
func (fc *FriendComment) Equals(o types.RVType) bool
Equals checks if the given FriendComment contains the same data as the current FriendComment
func (*FriendComment) ExtractFrom ¶
func (fc *FriendComment) ExtractFrom(readable types.Readable) error
ExtractFrom extracts the FriendComment from the given readable
func (*FriendComment) FormatToString ¶
func (fc *FriendComment) FormatToString(indentationLevel int) string
FormatToString pretty-prints the FriendComment using the provided indentation level
func (*FriendComment) String ¶
func (fc *FriendComment) String() string
String returns the string representation of the FriendComment
func (*FriendComment) WriteTo ¶
func (fc *FriendComment) WriteTo(writable types.Writable)
WriteTo writes the FriendComment to the given writable
type FriendInfo ¶
FriendInfo is a type within the Friends3DS protocol
func (*FriendInfo) Copy ¶
func (fi *FriendInfo) Copy() types.RVType
Copy returns a new copied instance of FriendInfo
func (*FriendInfo) Equals ¶
func (fi *FriendInfo) Equals(o types.RVType) bool
Equals checks if the given FriendInfo contains the same data as the current FriendInfo
func (*FriendInfo) ExtractFrom ¶
func (fi *FriendInfo) ExtractFrom(readable types.Readable) error
ExtractFrom extracts the FriendInfo from the given readable
func (*FriendInfo) FormatToString ¶
func (fi *FriendInfo) FormatToString(indentationLevel int) string
FormatToString pretty-prints the FriendInfo using the provided indentation level
func (*FriendInfo) String ¶
func (fi *FriendInfo) String() string
String returns the string representation of the FriendInfo
func (*FriendInfo) WriteTo ¶
func (fi *FriendInfo) WriteTo(writable types.Writable)
WriteTo writes the FriendInfo to the given writable
type FriendMii ¶
type FriendMii struct { types.Structure *types.Data PID *types.PID Mii *Mii ModifiedAt *types.DateTime }
FriendMii is a type within the Friends3DS protocol
func (*FriendMii) Equals ¶
Equals checks if the given FriendMii contains the same data as the current FriendMii
func (*FriendMii) ExtractFrom ¶
ExtractFrom extracts the FriendMii from the given readable
func (*FriendMii) FormatToString ¶
FormatToString pretty-prints the FriendMii using the provided indentation level
type FriendMiiList ¶
type FriendMiiList struct { types.Structure *types.Data Unknown1 *types.PrimitiveU32 MiiList *MiiList Unknown2 *types.DateTime }
FriendMiiList is a type within the Friends3DS protocol
func NewFriendMiiList ¶
func NewFriendMiiList() *FriendMiiList
NewFriendMiiList returns a new FriendMiiList
func (*FriendMiiList) Copy ¶
func (fml *FriendMiiList) Copy() types.RVType
Copy returns a new copied instance of FriendMiiList
func (*FriendMiiList) Equals ¶
func (fml *FriendMiiList) Equals(o types.RVType) bool
Equals checks if the given FriendMiiList contains the same data as the current FriendMiiList
func (*FriendMiiList) ExtractFrom ¶
func (fml *FriendMiiList) ExtractFrom(readable types.Readable) error
ExtractFrom extracts the FriendMiiList from the given readable
func (*FriendMiiList) FormatToString ¶
func (fml *FriendMiiList) FormatToString(indentationLevel int) string
FormatToString pretty-prints the FriendMiiList using the provided indentation level
func (*FriendMiiList) String ¶
func (fml *FriendMiiList) String() string
String returns the string representation of the FriendMiiList
func (*FriendMiiList) WriteTo ¶
func (fml *FriendMiiList) WriteTo(writable types.Writable)
WriteTo writes the FriendMiiList to the given writable
type FriendPersistentInfo ¶
type FriendPersistentInfo struct { types.Structure *types.Data PID *types.PID Region *types.PrimitiveU8 Country *types.PrimitiveU8 Area *types.PrimitiveU8 Language *types.PrimitiveU8 Platform *types.PrimitiveU8 GameKey *GameKey Message *types.String MessageUpdatedAt *types.DateTime MiiModifiedAt *types.DateTime LastOnline *types.DateTime }
FriendPersistentInfo is a type within the Friends3DS protocol
func NewFriendPersistentInfo ¶
func NewFriendPersistentInfo() *FriendPersistentInfo
NewFriendPersistentInfo returns a new FriendPersistentInfo
func (*FriendPersistentInfo) Copy ¶
func (fpi *FriendPersistentInfo) Copy() types.RVType
Copy returns a new copied instance of FriendPersistentInfo
func (*FriendPersistentInfo) Equals ¶
func (fpi *FriendPersistentInfo) Equals(o types.RVType) bool
Equals checks if the given FriendPersistentInfo contains the same data as the current FriendPersistentInfo
func (*FriendPersistentInfo) ExtractFrom ¶
func (fpi *FriendPersistentInfo) ExtractFrom(readable types.Readable) error
ExtractFrom extracts the FriendPersistentInfo from the given readable
func (*FriendPersistentInfo) FormatToString ¶
func (fpi *FriendPersistentInfo) FormatToString(indentationLevel int) string
FormatToString pretty-prints the FriendPersistentInfo using the provided indentation level
func (*FriendPersistentInfo) String ¶
func (fpi *FriendPersistentInfo) String() string
String returns the string representation of the FriendPersistentInfo
func (*FriendPersistentInfo) WriteTo ¶
func (fpi *FriendPersistentInfo) WriteTo(writable types.Writable)
WriteTo writes the FriendPersistentInfo to the given writable
type FriendPicture ¶
type FriendPicture struct { types.Structure *types.Data Unknown1 *types.PrimitiveU32 PictureData *types.Buffer Unknown2 *types.DateTime }
FriendPicture is a type within the Friends3DS protocol
func NewFriendPicture ¶
func NewFriendPicture() *FriendPicture
NewFriendPicture returns a new FriendPicture
func (*FriendPicture) Copy ¶
func (fp *FriendPicture) Copy() types.RVType
Copy returns a new copied instance of FriendPicture
func (*FriendPicture) Equals ¶
func (fp *FriendPicture) Equals(o types.RVType) bool
Equals checks if the given FriendPicture contains the same data as the current FriendPicture
func (*FriendPicture) ExtractFrom ¶
func (fp *FriendPicture) ExtractFrom(readable types.Readable) error
ExtractFrom extracts the FriendPicture from the given readable
func (*FriendPicture) FormatToString ¶
func (fp *FriendPicture) FormatToString(indentationLevel int) string
FormatToString pretty-prints the FriendPicture using the provided indentation level
func (*FriendPicture) String ¶
func (fp *FriendPicture) String() string
String returns the string representation of the FriendPicture
func (*FriendPicture) WriteTo ¶
func (fp *FriendPicture) WriteTo(writable types.Writable)
WriteTo writes the FriendPicture to the given writable
type FriendPresence ¶
type FriendPresence struct { types.Structure *types.Data PID *types.PID Presence *NintendoPresence }
FriendPresence is a type within the Friends3DS protocol
func NewFriendPresence ¶
func NewFriendPresence() *FriendPresence
NewFriendPresence returns a new FriendPresence
func (*FriendPresence) Copy ¶
func (fp *FriendPresence) Copy() types.RVType
Copy returns a new copied instance of FriendPresence
func (*FriendPresence) Equals ¶
func (fp *FriendPresence) Equals(o types.RVType) bool
Equals checks if the given FriendPresence contains the same data as the current FriendPresence
func (*FriendPresence) ExtractFrom ¶
func (fp *FriendPresence) ExtractFrom(readable types.Readable) error
ExtractFrom extracts the FriendPresence from the given readable
func (*FriendPresence) FormatToString ¶
func (fp *FriendPresence) FormatToString(indentationLevel int) string
FormatToString pretty-prints the FriendPresence using the provided indentation level
func (*FriendPresence) String ¶
func (fp *FriendPresence) String() string
String returns the string representation of the FriendPresence
func (*FriendPresence) WriteTo ¶
func (fp *FriendPresence) WriteTo(writable types.Writable)
WriteTo writes the FriendPresence to the given writable
type FriendRelationship ¶
type FriendRelationship struct { types.Structure *types.Data PID *types.PID LFC *types.PrimitiveU64 RelationshipType *types.PrimitiveU8 }
FriendRelationship is a type within the Friends3DS protocol
func NewFriendRelationship ¶
func NewFriendRelationship() *FriendRelationship
NewFriendRelationship returns a new FriendRelationship
func (*FriendRelationship) Copy ¶
func (fr *FriendRelationship) Copy() types.RVType
Copy returns a new copied instance of FriendRelationship
func (*FriendRelationship) Equals ¶
func (fr *FriendRelationship) Equals(o types.RVType) bool
Equals checks if the given FriendRelationship contains the same data as the current FriendRelationship
func (*FriendRelationship) ExtractFrom ¶
func (fr *FriendRelationship) ExtractFrom(readable types.Readable) error
ExtractFrom extracts the FriendRelationship from the given readable
func (*FriendRelationship) FormatToString ¶
func (fr *FriendRelationship) FormatToString(indentationLevel int) string
FormatToString pretty-prints the FriendRelationship using the provided indentation level
func (*FriendRelationship) String ¶
func (fr *FriendRelationship) String() string
String returns the string representation of the FriendRelationship
func (*FriendRelationship) WriteTo ¶
func (fr *FriendRelationship) WriteTo(writable types.Writable)
WriteTo writes the FriendRelationship to the given writable
type GameKey ¶
type GameKey struct { types.Structure *types.Data TitleID *types.PrimitiveU64 TitleVersion *types.PrimitiveU16 }
GameKey is a type within the Friends3DS protocol
func (*GameKey) Equals ¶
Equals checks if the given GameKey contains the same data as the current GameKey
func (*GameKey) ExtractFrom ¶
ExtractFrom extracts the GameKey from the given readable
func (*GameKey) FormatToString ¶
FormatToString pretty-prints the GameKey using the provided indentation level
type Mii ¶
type Mii struct { types.Structure *types.Data Name *types.String ProfanityFlag *types.PrimitiveBool CharacterSet *types.PrimitiveU8 MiiData *types.Buffer }
Mii is a type within the Friends3DS protocol
func (*Mii) ExtractFrom ¶
ExtractFrom extracts the Mii from the given readable
func (*Mii) FormatToString ¶
FormatToString pretty-prints the Mii using the provided indentation level
type MiiList ¶
type MiiList struct { types.Structure *types.Data Unknown1 *types.String Unknown2 *types.PrimitiveBool Unknown3 *types.PrimitiveU8 MiiDataList *types.List[*types.Buffer] }
MiiList is a type within the Friends3DS protocol
func (*MiiList) Equals ¶
Equals checks if the given MiiList contains the same data as the current MiiList
func (*MiiList) ExtractFrom ¶
ExtractFrom extracts the MiiList from the given readable
func (*MiiList) FormatToString ¶
FormatToString pretty-prints the MiiList using the provided indentation level
type MyProfile ¶
type MyProfile struct { types.Structure *types.Data Region *types.PrimitiveU8 Country *types.PrimitiveU8 Area *types.PrimitiveU8 Language *types.PrimitiveU8 Platform *types.PrimitiveU8 Unknown1 *types.PrimitiveU64 Unknown2 *types.String Unknown3 *types.String }
MyProfile is a type within the Friends3DS protocol
func (*MyProfile) Equals ¶
Equals checks if the given MyProfile contains the same data as the current MyProfile
func (*MyProfile) ExtractFrom ¶
ExtractFrom extracts the MyProfile from the given readable
func (*MyProfile) FormatToString ¶
FormatToString pretty-prints the MyProfile using the provided indentation level
type NintendoPresence ¶
type NintendoPresence struct { types.Structure *types.Data ChangedFlags *types.PrimitiveU32 GameKey *GameKey Message *types.String JoinAvailableFlag *types.PrimitiveU32 MatchmakeType *types.PrimitiveU8 JoinGameID *types.PrimitiveU32 JoinGameMode *types.PrimitiveU32 OwnerPID *types.PID JoinGroupID *types.PrimitiveU32 ApplicationArg *types.Buffer }
NintendoPresence is a type within the Friends3DS protocol
func NewNintendoPresence ¶
func NewNintendoPresence() *NintendoPresence
NewNintendoPresence returns a new NintendoPresence
func (*NintendoPresence) Copy ¶
func (np *NintendoPresence) Copy() types.RVType
Copy returns a new copied instance of NintendoPresence
func (*NintendoPresence) Equals ¶
func (np *NintendoPresence) Equals(o types.RVType) bool
Equals checks if the given NintendoPresence contains the same data as the current NintendoPresence
func (*NintendoPresence) ExtractFrom ¶
func (np *NintendoPresence) ExtractFrom(readable types.Readable) error
ExtractFrom extracts the NintendoPresence from the given readable
func (*NintendoPresence) FormatToString ¶
func (np *NintendoPresence) FormatToString(indentationLevel int) string
FormatToString pretty-prints the NintendoPresence using the provided indentation level
func (*NintendoPresence) String ¶
func (np *NintendoPresence) String() string
String returns the string representation of the NintendoPresence
func (*NintendoPresence) WriteTo ¶
func (np *NintendoPresence) WriteTo(writable types.Writable)
WriteTo writes the NintendoPresence to the given writable
type PlayedGame ¶
PlayedGame is a type within the Friends3DS protocol
func (*PlayedGame) Copy ¶
func (pg *PlayedGame) Copy() types.RVType
Copy returns a new copied instance of PlayedGame
func (*PlayedGame) Equals ¶
func (pg *PlayedGame) Equals(o types.RVType) bool
Equals checks if the given PlayedGame contains the same data as the current PlayedGame
func (*PlayedGame) ExtractFrom ¶
func (pg *PlayedGame) ExtractFrom(readable types.Readable) error
ExtractFrom extracts the PlayedGame from the given readable
func (*PlayedGame) FormatToString ¶
func (pg *PlayedGame) FormatToString(indentationLevel int) string
FormatToString pretty-prints the PlayedGame using the provided indentation level
func (*PlayedGame) String ¶
func (pg *PlayedGame) String() string
String returns the string representation of the PlayedGame
func (*PlayedGame) WriteTo ¶
func (pg *PlayedGame) WriteTo(writable types.Writable)
WriteTo writes the PlayedGame to the given writable