Documentation ¶
Overview ¶
Package types implements all the types used by the Friends 3DS protocol
Package types implements all the types used by the Friends 3DS protocol ¶
Package types implements all the types used by the Friends 3DS protocol ¶
Package types implements all the types used by the Friends 3DS protocol ¶
Package types implements all the types used by the Friends 3DS protocol ¶
Package types implements all the types used by the Friends 3DS protocol ¶
Package types implements all the types used by the Friends 3DS protocol ¶
Package types implements all the types used by the Friends 3DS protocol ¶
Package types implements all the types used by the Friends 3DS protocol ¶
Package types implements all the types used by the Friends 3DS protocol ¶
Package types implements all the types used by the Friends 3DS protocol ¶
Package types implements all the types used by the Friends 3DS protocol ¶
Package types implements all the types used by the Friends 3DS protocol ¶
Package types implements all the types used by the Friends 3DS protocol
Index ¶
- type FriendComment
- func (friendComment *FriendComment) Bytes(stream *nex.StreamOut) []byte
- func (friendComment *FriendComment) Copy() nex.StructureInterface
- func (friendComment *FriendComment) Equals(structure nex.StructureInterface) bool
- func (friendComment *FriendComment) FormatToString(indentationLevel int) string
- func (friendComment *FriendComment) String() string
- type FriendInfo
- func (friendInfo *FriendInfo) Bytes(stream *nex.StreamOut) []byte
- func (friendInfo *FriendInfo) Copy() nex.StructureInterface
- func (friendInfo *FriendInfo) Equals(structure nex.StructureInterface) bool
- func (friendInfo *FriendInfo) FormatToString(indentationLevel int) string
- func (friendInfo *FriendInfo) String() string
- type FriendMii
- func (friendMii *FriendMii) Bytes(stream *nex.StreamOut) []byte
- func (friendMii *FriendMii) Copy() nex.StructureInterface
- func (friendMii *FriendMii) Equals(structure nex.StructureInterface) bool
- func (friendMii *FriendMii) FormatToString(indentationLevel int) string
- func (friendMii *FriendMii) String() string
- type FriendMiiList
- func (friendMiiList *FriendMiiList) Bytes(stream *nex.StreamOut) []byte
- func (friendMiiList *FriendMiiList) Copy() nex.StructureInterface
- func (friendMiiList *FriendMiiList) Equals(structure nex.StructureInterface) bool
- func (friendMiiList *FriendMiiList) FormatToString(indentationLevel int) string
- func (friendMiiList *FriendMiiList) String() string
- type FriendPersistentInfo
- func (friendPersistentInfo *FriendPersistentInfo) Bytes(stream *nex.StreamOut) []byte
- func (friendPersistentInfo *FriendPersistentInfo) Copy() nex.StructureInterface
- func (friendPersistentInfo *FriendPersistentInfo) Equals(structure nex.StructureInterface) bool
- func (friendPersistentInfo *FriendPersistentInfo) FormatToString(indentationLevel int) string
- func (friendPersistentInfo *FriendPersistentInfo) String() string
- type FriendPicture
- func (friendPicture *FriendPicture) Bytes(stream *nex.StreamOut) []byte
- func (friendPicture *FriendPicture) Copy() nex.StructureInterface
- func (friendPicture *FriendPicture) Equals(structure nex.StructureInterface) bool
- func (friendPicture *FriendPicture) FormatToString(indentationLevel int) string
- func (friendPicture *FriendPicture) String() string
- type FriendPresence
- func (presence *FriendPresence) Bytes(stream *nex.StreamOut) []byte
- func (presence *FriendPresence) Copy() nex.StructureInterface
- func (presence *FriendPresence) Equals(structure nex.StructureInterface) bool
- func (presence *FriendPresence) FormatToString(indentationLevel int) string
- func (presence *FriendPresence) String() string
- type FriendRelationship
- func (relationship *FriendRelationship) Bytes(stream *nex.StreamOut) []byte
- func (relationship *FriendRelationship) Copy() nex.StructureInterface
- func (relationship *FriendRelationship) Equals(structure nex.StructureInterface) bool
- func (relationship *FriendRelationship) FormatToString(indentationLevel int) string
- func (relationship *FriendRelationship) String() string
- type GameKey
- func (gameKey *GameKey) Bytes(stream *nex.StreamOut) []byte
- func (gameKey *GameKey) Copy() nex.StructureInterface
- func (gameKey *GameKey) Equals(structure nex.StructureInterface) bool
- func (gameKey *GameKey) ExtractFromStream(stream *nex.StreamIn) error
- func (gameKey *GameKey) FormatToString(indentationLevel int) string
- func (gameKey *GameKey) String() string
- type Mii
- func (mii *Mii) Bytes(stream *nex.StreamOut) []byte
- func (mii *Mii) Copy() nex.StructureInterface
- func (mii *Mii) Equals(structure nex.StructureInterface) bool
- func (mii *Mii) ExtractFromStream(stream *nex.StreamIn) error
- func (mii *Mii) FormatToString(indentationLevel int) string
- func (mii *Mii) String() string
- type MiiList
- func (miiList *MiiList) Bytes(stream *nex.StreamOut) []byte
- func (miiList *MiiList) Copy() nex.StructureInterface
- func (miiList *MiiList) Equals(structure nex.StructureInterface) bool
- func (miiList *MiiList) ExtractFromStream(stream *nex.StreamIn) error
- func (miiList *MiiList) FormatToString(indentationLevel int) string
- func (miiList *MiiList) String() string
- type MyProfile
- func (myProfile *MyProfile) Copy() nex.StructureInterface
- func (myProfile *MyProfile) Equals(structure nex.StructureInterface) bool
- func (myProfile *MyProfile) ExtractFromStream(stream *nex.StreamIn) error
- func (myProfile *MyProfile) FormatToString(indentationLevel int) string
- func (myProfile *MyProfile) String() string
- type NintendoPresence
- func (presence *NintendoPresence) Bytes(stream *nex.StreamOut) []byte
- func (presence *NintendoPresence) Copy() nex.StructureInterface
- func (presence *NintendoPresence) Equals(structure nex.StructureInterface) bool
- func (presence *NintendoPresence) ExtractFromStream(stream *nex.StreamIn) error
- func (presence *NintendoPresence) FormatToString(indentationLevel int) string
- func (presence *NintendoPresence) String() string
- type PlayedGame
- func (playedGame *PlayedGame) Bytes(stream *nex.StreamOut) []byte
- func (playedGame *PlayedGame) Copy() nex.StructureInterface
- func (playedGame *PlayedGame) Equals(structure nex.StructureInterface) bool
- func (playedGame *PlayedGame) FormatToString(indentationLevel int) string
- func (playedGame *PlayedGame) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FriendComment ¶ added in v1.0.43
type FriendComment struct { nex.Structure *nex.Data PID uint32 Comment string ModifiedAt *nex.DateTime }
FriendComment is a data structure used by the Friends 3DS protocol to hold information about a friends Mii
func NewFriendComment ¶ added in v1.0.43
func NewFriendComment() *FriendComment
NewFriendComment returns a new FriendComment
func (*FriendComment) Bytes ¶ added in v1.0.43
func (friendComment *FriendComment) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the FriendComment and returns a byte array
func (*FriendComment) Copy ¶ added in v1.0.43
func (friendComment *FriendComment) Copy() nex.StructureInterface
Copy returns a new copied instance of FriendComment
func (*FriendComment) Equals ¶ added in v1.0.43
func (friendComment *FriendComment) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*FriendComment) FormatToString ¶ added in v1.0.43
func (friendComment *FriendComment) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*FriendComment) String ¶ added in v1.0.43
func (friendComment *FriendComment) String() string
String returns a string representation of the struct
type FriendInfo ¶ added in v1.0.43
type FriendInfo struct { nex.Structure PID uint32 Unknown *nex.DateTime }
FriendInfo is a data structure used by the Friends 3DS protocol to hold information about a friends Mii
func NewFriendInfo ¶ added in v1.0.43
func NewFriendInfo() *FriendInfo
NewFriendInfo returns a new FriendInfo
func (*FriendInfo) Bytes ¶ added in v1.0.43
func (friendInfo *FriendInfo) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the FriendInfo and returns a byte array
func (*FriendInfo) Copy ¶ added in v1.0.43
func (friendInfo *FriendInfo) Copy() nex.StructureInterface
Copy returns a new copied instance of FriendInfo
func (*FriendInfo) Equals ¶ added in v1.0.43
func (friendInfo *FriendInfo) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*FriendInfo) FormatToString ¶ added in v1.0.43
func (friendInfo *FriendInfo) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*FriendInfo) String ¶ added in v1.0.43
func (friendInfo *FriendInfo) String() string
String returns a string representation of the struct
type FriendMii ¶
FriendMii is a data structure used by the Friends 3DS protocol to hold information about a friends Mii
func (*FriendMii) Copy ¶
func (friendMii *FriendMii) Copy() nex.StructureInterface
Copy returns a new copied instance of FriendMii
func (*FriendMii) Equals ¶
Equals checks if the passed Structure contains the same data as the current instance
func (*FriendMii) FormatToString ¶
FormatToString pretty-prints the struct data using the provided indentation level
type FriendMiiList ¶ added in v1.0.43
type FriendMiiList struct { nex.Structure *nex.Data Unknown1 uint32 MiiList *MiiList Unknown2 *nex.DateTime }
FriendMiiList is a data structure used by the Friends 3DS protocol to hold information about a friends Mii
func NewFriendMiiList ¶ added in v1.0.43
func NewFriendMiiList() *FriendMiiList
NewFriendMiiList returns a new FriendMiiList
func (*FriendMiiList) Bytes ¶ added in v1.0.43
func (friendMiiList *FriendMiiList) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the Mii and returns a byte array
func (*FriendMiiList) Copy ¶ added in v1.0.43
func (friendMiiList *FriendMiiList) Copy() nex.StructureInterface
Copy returns a new copied instance of FriendMiiList
func (*FriendMiiList) Equals ¶ added in v1.0.43
func (friendMiiList *FriendMiiList) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*FriendMiiList) FormatToString ¶ added in v1.0.43
func (friendMiiList *FriendMiiList) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*FriendMiiList) String ¶ added in v1.0.43
func (friendMiiList *FriendMiiList) String() string
String returns a string representation of the struct
type FriendPersistentInfo ¶
type FriendPersistentInfo struct { nex.Structure *nex.Data PID uint32 Region uint8 Country uint8 Area uint8 Language uint8 Platform uint8 GameKey *GameKey Message string MessageUpdatedAt *nex.DateTime MiiModifiedAt *nex.DateTime LastOnline *nex.DateTime }
FriendPersistentInfo contains user settings
func NewFriendPersistentInfo ¶
func NewFriendPersistentInfo() *FriendPersistentInfo
NewFriendPersistentInfo returns a new FriendPersistentInfo
func (*FriendPersistentInfo) Bytes ¶
func (friendPersistentInfo *FriendPersistentInfo) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the FriendPersistentInfo and returns a byte array
func (*FriendPersistentInfo) Copy ¶
func (friendPersistentInfo *FriendPersistentInfo) Copy() nex.StructureInterface
Copy returns a new copied instance of FriendPersistentInfo
func (*FriendPersistentInfo) Equals ¶
func (friendPersistentInfo *FriendPersistentInfo) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*FriendPersistentInfo) FormatToString ¶
func (friendPersistentInfo *FriendPersistentInfo) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*FriendPersistentInfo) String ¶
func (friendPersistentInfo *FriendPersistentInfo) String() string
String returns a string representation of the struct
type FriendPicture ¶ added in v1.0.43
type FriendPicture struct { nex.Structure *nex.Data Unknown1 uint32 PictureData []byte Unknown2 *nex.DateTime }
FriendPicture is a data structure used by the Friends 3DS protocol to hold information about a friends PictureData
func NewFriendPicture ¶ added in v1.0.43
func NewFriendPicture() *FriendPicture
NewFriendPicture returns a new FriendPicture
func (*FriendPicture) Bytes ¶ added in v1.0.43
func (friendPicture *FriendPicture) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the FriendPicture and returns a byte array
func (*FriendPicture) Copy ¶ added in v1.0.43
func (friendPicture *FriendPicture) Copy() nex.StructureInterface
Copy returns a new copied instance of FriendPicture
func (*FriendPicture) Equals ¶ added in v1.0.43
func (friendPicture *FriendPicture) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*FriendPicture) FormatToString ¶ added in v1.0.43
func (friendPicture *FriendPicture) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*FriendPicture) String ¶ added in v1.0.43
func (friendPicture *FriendPicture) String() string
String returns a string representation of the struct
type FriendPresence ¶
type FriendPresence struct { nex.Structure *nex.Data PID uint32 Presence *NintendoPresence }
FriendPresence contains information about a users online presence
func NewFriendPresence ¶
func NewFriendPresence() *FriendPresence
NewFriendPresence returns a new FriendPresence
func (*FriendPresence) Bytes ¶
func (presence *FriendPresence) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the FriendPresence and returns a byte array
func (*FriendPresence) Copy ¶
func (presence *FriendPresence) Copy() nex.StructureInterface
Copy returns a new copied instance of FriendPresence
func (*FriendPresence) Equals ¶
func (presence *FriendPresence) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*FriendPresence) FormatToString ¶
func (presence *FriendPresence) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*FriendPresence) String ¶
func (presence *FriendPresence) String() string
String returns a string representation of the struct
type FriendRelationship ¶
type FriendRelationship struct { nex.Structure *nex.Data PID uint32 LFC uint64 RelationshipType uint8 }
FriendRelationship contains information about a users relationship with another PID
func NewFriendRelationship ¶
func NewFriendRelationship() *FriendRelationship
NewFriendRelationship returns a new FriendRelationship
func (*FriendRelationship) Bytes ¶
func (relationship *FriendRelationship) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the FriendRelationship and returns a byte array
func (*FriendRelationship) Copy ¶
func (relationship *FriendRelationship) Copy() nex.StructureInterface
Copy returns a new copied instance of FriendRelationship
func (*FriendRelationship) Equals ¶
func (relationship *FriendRelationship) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*FriendRelationship) FormatToString ¶
func (relationship *FriendRelationship) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*FriendRelationship) String ¶
func (relationship *FriendRelationship) String() string
String returns a string representation of the struct
type GameKey ¶
GameKey contains the title ID and version for a title
func (*GameKey) Copy ¶
func (gameKey *GameKey) Copy() nex.StructureInterface
Copy returns a new copied instance of GameKey
func (*GameKey) Equals ¶
Equals checks if the passed Structure contains the same data as the current instance
func (*GameKey) ExtractFromStream ¶
ExtractFromStream extracts a GameKey structure from a stream
func (*GameKey) FormatToString ¶
FormatToString pretty-prints the struct data using the provided indentation level
type Mii ¶
Mii is a data structure used by the Friends 3DS protocol to hold information about a Mii
func (*Mii) Copy ¶
func (mii *Mii) Copy() nex.StructureInterface
Copy returns a new copied instance of Mii
func (*Mii) Equals ¶
Equals checks if the passed Structure contains the same data as the current instance
func (*Mii) ExtractFromStream ¶
ExtractFromStream extracts a Mii from a stream
func (*Mii) FormatToString ¶
FormatToString pretty-prints the struct data using the provided indentation level
type MiiList ¶ added in v1.0.43
type MiiList struct { nex.Structure *nex.Data Unknown1 string Unknown2 bool Unknown3 uint8 MiiDataList [][]byte }
MiiList is a data structure used by the Friends 3DS protocol to hold information about a MiiList
func (*MiiList) Copy ¶ added in v1.0.43
func (miiList *MiiList) Copy() nex.StructureInterface
Copy returns a new copied instance of MiiList
func (*MiiList) Equals ¶ added in v1.0.43
Equals checks if the passed Structure contains the same data as the current instance
func (*MiiList) ExtractFromStream ¶ added in v1.0.43
ExtractFromStream extracts a MiiList from a stream
func (*MiiList) FormatToString ¶ added in v1.0.43
FormatToString pretty-prints the struct data using the provided indentation level
type MyProfile ¶
type MyProfile struct { nex.Structure *nex.Data Region uint8 Country uint8 Area uint8 Language uint8 Platform uint8 Unknown1 uint64 Unknown2 string Unknown3 string }
MyProfile is a data structure used by the Friends 3DS protocol to hold user profile information
func (*MyProfile) Copy ¶
func (myProfile *MyProfile) Copy() nex.StructureInterface
Copy returns a new copied instance of MyProfile
func (*MyProfile) Equals ¶
Equals checks if the passed Structure contains the same data as the current instance
func (*MyProfile) ExtractFromStream ¶
ExtractFromStream extracts a MyProfile from a stream
func (*MyProfile) FormatToString ¶
FormatToString pretty-prints the struct data using the provided indentation level
type NintendoPresence ¶
type NintendoPresence struct { nex.Structure *nex.Data ChangedFlags uint32 GameKey *GameKey Message string JoinAvailableFlag uint32 MatchmakeType uint8 JoinGameID uint32 JoinGameMode uint32 OwnerPID uint32 JoinGroupID uint32 ApplicationArg []byte }
NintendoPresence contains information about a users online presence
func NewNintendoPresence ¶
func NewNintendoPresence() *NintendoPresence
NewNintendoPresence returns a new NintendoPresence
func (*NintendoPresence) Bytes ¶
func (presence *NintendoPresence) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the NintendoPresence and returns a byte array
func (*NintendoPresence) Copy ¶
func (presence *NintendoPresence) Copy() nex.StructureInterface
Copy returns a new copied instance of NintendoPresence
func (*NintendoPresence) Equals ¶
func (presence *NintendoPresence) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*NintendoPresence) ExtractFromStream ¶
func (presence *NintendoPresence) ExtractFromStream(stream *nex.StreamIn) error
ExtractFromStream extracts a NintendoPresence structure from a stream
func (*NintendoPresence) FormatToString ¶
func (presence *NintendoPresence) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*NintendoPresence) String ¶
func (presence *NintendoPresence) String() string
String returns a string representation of the struct
type PlayedGame ¶ added in v1.0.43
type PlayedGame struct { nex.Structure GameKey *GameKey Unknown *nex.DateTime }
PlayedGame is a data structure used by the Friends 3DS protocol to hold information about a friends Mii
func NewPlayedGame ¶ added in v1.0.43
func NewPlayedGame() *PlayedGame
NewPlayedGame returns a new PlayedGame
func (*PlayedGame) Bytes ¶ added in v1.0.43
func (playedGame *PlayedGame) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the PlayedGame and returns a byte array
func (*PlayedGame) Copy ¶ added in v1.0.43
func (playedGame *PlayedGame) Copy() nex.StructureInterface
Copy returns a new copied instance of PlayedGame
func (*PlayedGame) Equals ¶ added in v1.0.43
func (playedGame *PlayedGame) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*PlayedGame) FormatToString ¶ added in v1.0.43
func (playedGame *PlayedGame) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*PlayedGame) String ¶ added in v1.0.43
func (playedGame *PlayedGame) String() string
String returns a string representation of the struct