Documentation ¶
Overview ¶
Package types implements all the types used by the Friends WiiU protocol
Package types implements all the types used by the Friends WiiU protocol ¶
Package types implements all the types used by the Friends WiiU protocol ¶
Package types implements all the types used by the Friends WiiU protocol ¶
Package types implements all the types used by the Friends WiiU protocol ¶
Package types implements all the types used by the Friends WiiU protocol ¶
Package types implements all the types used by the Friends WiiU protocol ¶
Package types implements all the types used by the Friends WiiU protocol ¶
Package types implements all the types used by the Friends WiiU protocol ¶
Package types implements all the types used by the Friends WiiU protocol ¶
Package types implements all the types used by the Friends WiiU protocol ¶
Package types implements all the types used by the Friends WiiU protocol ¶
Package types implements all the types used by the Friends WiiU protocol ¶
Package types implements all the types used by the Friends WiiU protocol
Index ¶
- type BlacklistedPrincipal
- func (blacklistedPrincipal *BlacklistedPrincipal) Bytes(stream *nex.StreamOut) []byte
- func (blacklistedPrincipal *BlacklistedPrincipal) Copy() nex.StructureInterface
- func (blacklistedPrincipal *BlacklistedPrincipal) Equals(structure nex.StructureInterface) bool
- func (blacklistedPrincipal *BlacklistedPrincipal) ExtractFromStream(stream *nex.StreamIn) error
- func (blacklistedPrincipal *BlacklistedPrincipal) FormatToString(indentationLevel int) string
- func (blacklistedPrincipal *BlacklistedPrincipal) String() string
- type Comment
- func (comment *Comment) Bytes(stream *nex.StreamOut) []byte
- func (comment *Comment) Copy() nex.StructureInterface
- func (comment *Comment) Equals(structure nex.StructureInterface) bool
- func (comment *Comment) ExtractFromStream(stream *nex.StreamIn) error
- func (comment *Comment) FormatToString(indentationLevel int) string
- func (comment *Comment) 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 FriendRequest
- func (friendRequest *FriendRequest) Bytes(stream *nex.StreamOut) []byte
- func (friendRequest *FriendRequest) Copy() nex.StructureInterface
- func (friendRequest *FriendRequest) Equals(structure nex.StructureInterface) bool
- func (friendRequest *FriendRequest) FormatToString(indentationLevel int) string
- func (friendRequest *FriendRequest) String() string
- type FriendRequestMessage
- func (friendRequestMessage *FriendRequestMessage) Bytes(stream *nex.StreamOut) []byte
- func (friendRequestMessage *FriendRequestMessage) Copy() nex.StructureInterface
- func (friendRequestMessage *FriendRequestMessage) Equals(structure nex.StructureInterface) bool
- func (friendRequestMessage *FriendRequestMessage) FormatToString(indentationLevel int) string
- func (friendRequestMessage *FriendRequestMessage) 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 MiiV2
- func (mii *MiiV2) Bytes(stream *nex.StreamOut) []byte
- func (mii *MiiV2) Copy() nex.StructureInterface
- func (mii *MiiV2) Equals(structure nex.StructureInterface) bool
- func (mii *MiiV2) ExtractFromStream(stream *nex.StreamIn) error
- func (mii *MiiV2) FormatToString(indentationLevel int) string
- func (mii *MiiV2) String() string
- type NNAInfo
- func (nnaInfo *NNAInfo) Bytes(stream *nex.StreamOut) []byte
- func (nnaInfo *NNAInfo) Copy() nex.StructureInterface
- func (nnaInfo *NNAInfo) Equals(structure nex.StructureInterface) bool
- func (nnaInfo *NNAInfo) ExtractFromStream(stream *nex.StreamIn) error
- func (nnaInfo *NNAInfo) FormatToString(indentationLevel int) string
- func (nnaInfo *NNAInfo) String() string
- type NintendoPresenceV2
- func (presence *NintendoPresenceV2) Bytes(stream *nex.StreamOut) []byte
- func (presence *NintendoPresenceV2) Copy() nex.StructureInterface
- func (presence *NintendoPresenceV2) Equals(structure nex.StructureInterface) bool
- func (presence *NintendoPresenceV2) ExtractFromStream(stream *nex.StreamIn) error
- func (presence *NintendoPresenceV2) FormatToString(indentationLevel int) string
- func (presence *NintendoPresenceV2) String() string
- type PersistentNotification
- func (notification *PersistentNotification) Copy() nex.StructureInterface
- func (notification *PersistentNotification) Equals(structure nex.StructureInterface) bool
- func (notification *PersistentNotification) ExtractFromStream(stream *nex.StreamIn) error
- func (notification *PersistentNotification) FormatToString(indentationLevel int) string
- func (notification *PersistentNotification) String() string
- type PersistentNotificationList
- func (notificationList *PersistentNotificationList) Copy() nex.StructureInterface
- func (notificationList *PersistentNotificationList) Equals(structure nex.StructureInterface) bool
- func (notificationList *PersistentNotificationList) ExtractFromStream(stream *nex.StreamIn) error
- func (notificationList *PersistentNotificationList) FormatToString(indentationLevel int) string
- func (notificationList *PersistentNotificationList) String() string
- type PrincipalBasicInfo
- func (principalInfo *PrincipalBasicInfo) Bytes(stream *nex.StreamOut) []byte
- func (principalInfo *PrincipalBasicInfo) Copy() nex.StructureInterface
- func (principalInfo *PrincipalBasicInfo) Equals(structure nex.StructureInterface) bool
- func (principalInfo *PrincipalBasicInfo) ExtractFromStream(stream *nex.StreamIn) error
- func (principalInfo *PrincipalBasicInfo) FormatToString(indentationLevel int) string
- func (principalInfo *PrincipalBasicInfo) String() string
- type PrincipalPreference
- func (principalPreference *PrincipalPreference) Bytes(stream *nex.StreamOut) []byte
- func (principalPreference *PrincipalPreference) Copy() nex.StructureInterface
- func (principalPreference *PrincipalPreference) Equals(structure nex.StructureInterface) bool
- func (principalPreference *PrincipalPreference) ExtractFromStream(stream *nex.StreamIn) error
- func (principalPreference *PrincipalPreference) FormatToString(indentationLevel int) string
- func (principalPreference *PrincipalPreference) String() string
- type PrincipalRequestBlockSetting
- func (principalRequestBlockSetting *PrincipalRequestBlockSetting) Bytes(stream *nex.StreamOut) []byte
- func (principalRequestBlockSetting *PrincipalRequestBlockSetting) Copy() nex.StructureInterface
- func (principalRequestBlockSetting *PrincipalRequestBlockSetting) Equals(structure nex.StructureInterface) bool
- func (principalRequestBlockSetting *PrincipalRequestBlockSetting) FormatToString(indentationLevel int) string
- func (principalRequestBlockSetting *PrincipalRequestBlockSetting) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlacklistedPrincipal ¶
type BlacklistedPrincipal struct { nex.Structure *nex.Data PrincipalBasicInfo *PrincipalBasicInfo GameKey *GameKey BlackListedSince *nex.DateTime }
BlacklistedPrincipal contains information about a blocked user
func NewBlacklistedPrincipal ¶
func NewBlacklistedPrincipal() *BlacklistedPrincipal
NewBlacklistedPrincipal returns a new BlacklistedPrincipal
func (*BlacklistedPrincipal) Bytes ¶
func (blacklistedPrincipal *BlacklistedPrincipal) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the BlacklistedPrincipal and returns a byte array
func (*BlacklistedPrincipal) Copy ¶
func (blacklistedPrincipal *BlacklistedPrincipal) Copy() nex.StructureInterface
Copy returns a new copied instance of BlacklistedPrincipal
func (*BlacklistedPrincipal) Equals ¶
func (blacklistedPrincipal *BlacklistedPrincipal) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*BlacklistedPrincipal) ExtractFromStream ¶
func (blacklistedPrincipal *BlacklistedPrincipal) ExtractFromStream(stream *nex.StreamIn) error
ExtractFromStream extracts a BlacklistedPrincipal structure from a stream
func (*BlacklistedPrincipal) FormatToString ¶
func (blacklistedPrincipal *BlacklistedPrincipal) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*BlacklistedPrincipal) String ¶
func (blacklistedPrincipal *BlacklistedPrincipal) String() string
String returns a string representation of the struct
type Comment ¶
type Comment struct { nex.Structure *nex.Data Unknown uint8 Contents string LastChanged *nex.DateTime }
Comment contains data about a text comment
func (*Comment) Copy ¶
func (comment *Comment) Copy() nex.StructureInterface
Copy returns a new copied instance of Comment
func (*Comment) Equals ¶
Equals checks if the passed Structure contains the same data as the current instance
func (*Comment) ExtractFromStream ¶
ExtractFromStream extracts a Comment structure from a stream
func (*Comment) FormatToString ¶
FormatToString pretty-prints the struct data using the provided indentation level
type FriendInfo ¶
type FriendInfo struct { nex.Structure *nex.Data NNAInfo *NNAInfo Presence *NintendoPresenceV2 Status *Comment BecameFriend *nex.DateTime LastOnline *nex.DateTime Unknown uint64 }
FriendInfo contains information about a friend
func (*FriendInfo) Bytes ¶
func (friendInfo *FriendInfo) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the FriendInfo and returns a byte array
func (*FriendInfo) Copy ¶
func (friendInfo *FriendInfo) Copy() nex.StructureInterface
Copy returns a new copied instance of FriendInfo
func (*FriendInfo) Equals ¶
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 ¶
func (friendInfo *FriendInfo) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*FriendInfo) String ¶
func (friendInfo *FriendInfo) String() string
String returns a string representation of the struct
type FriendRequest ¶
type FriendRequest struct { nex.Structure *nex.Data PrincipalInfo *PrincipalBasicInfo Message *FriendRequestMessage SentOn *nex.DateTime }
FriendRequest contains information about a friend request
func NewFriendRequest ¶
func NewFriendRequest() *FriendRequest
NewFriendRequest returns a new FriendRequest
func (*FriendRequest) Bytes ¶
func (friendRequest *FriendRequest) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the FriendRequest and returns a byte array
func (*FriendRequest) Copy ¶
func (friendRequest *FriendRequest) Copy() nex.StructureInterface
Copy returns a new copied instance of FriendRequest
func (*FriendRequest) Equals ¶
func (friendRequest *FriendRequest) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*FriendRequest) FormatToString ¶
func (friendRequest *FriendRequest) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*FriendRequest) String ¶
func (friendRequest *FriendRequest) String() string
String returns a string representation of the struct
type FriendRequestMessage ¶
type FriendRequestMessage struct { nex.Structure *nex.Data FriendRequestID uint64 Received bool Unknown2 uint8 Message string Unknown3 uint8 Unknown4 string GameKey *GameKey Unknown5 *nex.DateTime ExpiresOn *nex.DateTime }
FriendRequestMessage contains message data for a FriendRequest
func NewFriendRequestMessage ¶
func NewFriendRequestMessage() *FriendRequestMessage
NewFriendRequestMessage returns a new FriendRequestMessage
func (*FriendRequestMessage) Bytes ¶
func (friendRequestMessage *FriendRequestMessage) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the FriendRequestMessage and returns a byte array
func (*FriendRequestMessage) Copy ¶
func (friendRequestMessage *FriendRequestMessage) Copy() nex.StructureInterface
Copy returns a new copied instance of FriendRequestMessage
func (*FriendRequestMessage) Equals ¶
func (friendRequestMessage *FriendRequestMessage) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*FriendRequestMessage) FormatToString ¶
func (friendRequestMessage *FriendRequestMessage) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*FriendRequestMessage) String ¶
func (friendRequestMessage *FriendRequestMessage) 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 MiiV2 ¶
type MiiV2 struct { nex.Structure *nex.Data Name string Unknown1 uint8 Unknown2 uint8 MiiData []byte Datetime *nex.DateTime }
MiiV2 contains data about a Mii
func (*MiiV2) Copy ¶
func (mii *MiiV2) Copy() nex.StructureInterface
Copy returns a new copied instance of MiiV2
func (*MiiV2) Equals ¶
Equals checks if the passed Structure contains the same data as the current instance
func (*MiiV2) ExtractFromStream ¶
ExtractFromStream extracts a MiiV2 structure from a stream
func (*MiiV2) FormatToString ¶
FormatToString pretty-prints the struct data using the provided indentation level
type NNAInfo ¶
type NNAInfo struct { nex.Structure *nex.Data PrincipalBasicInfo *PrincipalBasicInfo Unknown1 uint8 Unknown2 uint8 }
NNAInfo contains information about a Nintendo Network Account
func (*NNAInfo) Copy ¶
func (nnaInfo *NNAInfo) Copy() nex.StructureInterface
Copy returns a new copied instance of NNAInfo
func (*NNAInfo) Equals ¶
Equals checks if the passed Structure contains the same data as the current instance
func (*NNAInfo) ExtractFromStream ¶
ExtractFromStream extracts a NNAInfo structure from a stream
func (*NNAInfo) FormatToString ¶
FormatToString pretty-prints the struct data using the provided indentation level
type NintendoPresenceV2 ¶
type NintendoPresenceV2 struct { nex.Structure *nex.Data ChangedFlags uint32 Online bool GameKey *GameKey Unknown1 uint8 Message string Unknown2 uint32 Unknown3 uint8 GameServerID uint32 Unknown4 uint32 PID uint32 GatheringID uint32 ApplicationData []byte Unknown5 uint8 Unknown6 uint8 Unknown7 uint8 }
NintendoPresenceV2 contains information about a users online presence
func NewNintendoPresenceV2 ¶
func NewNintendoPresenceV2() *NintendoPresenceV2
NewNintendoPresenceV2 returns a new NintendoPresenceV2
func (*NintendoPresenceV2) Bytes ¶
func (presence *NintendoPresenceV2) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the NintendoPresenceV2 and returns a byte array
func (*NintendoPresenceV2) Copy ¶
func (presence *NintendoPresenceV2) Copy() nex.StructureInterface
Copy returns a new copied instance of NintendoPresenceV2
func (*NintendoPresenceV2) Equals ¶
func (presence *NintendoPresenceV2) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*NintendoPresenceV2) ExtractFromStream ¶
func (presence *NintendoPresenceV2) ExtractFromStream(stream *nex.StreamIn) error
ExtractFromStream extracts a NintendoPresenceV2 structure from a stream
func (*NintendoPresenceV2) FormatToString ¶
func (presence *NintendoPresenceV2) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*NintendoPresenceV2) String ¶
func (presence *NintendoPresenceV2) String() string
String returns a string representation of the struct
type PersistentNotification ¶
type PersistentNotification struct { nex.Structure *nex.Data Unknown1 uint64 Unknown2 uint32 Unknown3 uint32 Unknown4 uint32 Unknown5 string }
PersistentNotification contains unknown data
func NewPersistentNotification ¶
func NewPersistentNotification() *PersistentNotification
NewPersistentNotification returns a new PersistentNotification
func (*PersistentNotification) Copy ¶
func (notification *PersistentNotification) Copy() nex.StructureInterface
Copy returns a new copied instance of PersistentNotification
func (*PersistentNotification) Equals ¶
func (notification *PersistentNotification) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*PersistentNotification) ExtractFromStream ¶
func (notification *PersistentNotification) ExtractFromStream(stream *nex.StreamIn) error
ExtractFromStream extracts a PersistentNotification structure from a stream
func (*PersistentNotification) FormatToString ¶
func (notification *PersistentNotification) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*PersistentNotification) String ¶
func (notification *PersistentNotification) String() string
String returns a string representation of the struct
type PersistentNotificationList ¶ added in v1.0.43
type PersistentNotificationList struct { nex.Structure *nex.Data Notifications []*PersistentNotification }
PersistentNotificationList contains unknown data
func NewPersistentNotificationList ¶ added in v1.0.43
func NewPersistentNotificationList() *PersistentNotificationList
NewPersistentNotificationList returns a new PersistentNotificationList
func (*PersistentNotificationList) Copy ¶ added in v1.0.43
func (notificationList *PersistentNotificationList) Copy() nex.StructureInterface
Copy returns a new copied instance of PersistentNotificationList
func (*PersistentNotificationList) Equals ¶ added in v1.0.43
func (notificationList *PersistentNotificationList) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*PersistentNotificationList) ExtractFromStream ¶ added in v1.0.43
func (notificationList *PersistentNotificationList) ExtractFromStream(stream *nex.StreamIn) error
ExtractFromStream extracts a PersistentNotificationList structure from a stream
func (*PersistentNotificationList) FormatToString ¶ added in v1.0.43
func (notificationList *PersistentNotificationList) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*PersistentNotificationList) String ¶ added in v1.0.43
func (notificationList *PersistentNotificationList) String() string
String returns a string representation of the struct
type PrincipalBasicInfo ¶
type PrincipalBasicInfo struct { nex.Structure *nex.Data PID uint32 NNID string Mii *MiiV2 Unknown uint8 }
PrincipalBasicInfo contains user account and Mii data
func NewPrincipalBasicInfo ¶
func NewPrincipalBasicInfo() *PrincipalBasicInfo
NewPrincipalBasicInfo returns a new PrincipalBasicInfo
func (*PrincipalBasicInfo) Bytes ¶
func (principalInfo *PrincipalBasicInfo) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the PrincipalBasicInfo and returns a byte array
func (*PrincipalBasicInfo) Copy ¶
func (principalInfo *PrincipalBasicInfo) Copy() nex.StructureInterface
Copy returns a new copied instance of PrincipalBasicInfo
func (*PrincipalBasicInfo) Equals ¶
func (principalInfo *PrincipalBasicInfo) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*PrincipalBasicInfo) ExtractFromStream ¶
func (principalInfo *PrincipalBasicInfo) ExtractFromStream(stream *nex.StreamIn) error
ExtractFromStream extracts a PrincipalBasicInfo structure from a stream
func (*PrincipalBasicInfo) FormatToString ¶
func (principalInfo *PrincipalBasicInfo) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*PrincipalBasicInfo) String ¶
func (principalInfo *PrincipalBasicInfo) String() string
String returns a string representation of the struct
type PrincipalPreference ¶
type PrincipalPreference struct { nex.Structure *nex.Data ShowOnlinePresence bool ShowCurrentTitle bool BlockFriendRequests bool }
PrincipalPreference contains unknown data
func NewPrincipalPreference ¶
func NewPrincipalPreference() *PrincipalPreference
NewPrincipalPreference returns a new PrincipalPreference
func (*PrincipalPreference) Bytes ¶
func (principalPreference *PrincipalPreference) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the PrincipalPreference and returns a byte array
func (*PrincipalPreference) Copy ¶
func (principalPreference *PrincipalPreference) Copy() nex.StructureInterface
Copy returns a new copied instance of PrincipalPreference
func (*PrincipalPreference) Equals ¶
func (principalPreference *PrincipalPreference) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*PrincipalPreference) ExtractFromStream ¶
func (principalPreference *PrincipalPreference) ExtractFromStream(stream *nex.StreamIn) error
ExtractFromStream extracts a PrincipalPreference structure from a stream
func (*PrincipalPreference) FormatToString ¶
func (principalPreference *PrincipalPreference) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*PrincipalPreference) String ¶
func (principalPreference *PrincipalPreference) String() string
String returns a string representation of the struct
type PrincipalRequestBlockSetting ¶
PrincipalRequestBlockSetting contains unknow data
func NewPrincipalRequestBlockSetting ¶
func NewPrincipalRequestBlockSetting() *PrincipalRequestBlockSetting
NewPrincipalRequestBlockSetting returns a new PrincipalRequestBlockSetting
func (*PrincipalRequestBlockSetting) Bytes ¶
func (principalRequestBlockSetting *PrincipalRequestBlockSetting) Bytes(stream *nex.StreamOut) []byte
Bytes encodes the PrincipalRequestBlockSetting and returns a byte array
func (*PrincipalRequestBlockSetting) Copy ¶
func (principalRequestBlockSetting *PrincipalRequestBlockSetting) Copy() nex.StructureInterface
Copy returns a new copied instance of PrincipalRequestBlockSetting
func (*PrincipalRequestBlockSetting) Equals ¶
func (principalRequestBlockSetting *PrincipalRequestBlockSetting) Equals(structure nex.StructureInterface) bool
Equals checks if the passed Structure contains the same data as the current instance
func (*PrincipalRequestBlockSetting) FormatToString ¶
func (principalRequestBlockSetting *PrincipalRequestBlockSetting) FormatToString(indentationLevel int) string
FormatToString pretty-prints the struct data using the provided indentation level
func (*PrincipalRequestBlockSetting) String ¶
func (principalRequestBlockSetting *PrincipalRequestBlockSetting) String() string
String returns a string representation of the struct