types

package
v1.0.58 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Package types implements all the types used by the DataStore (Pokemon Bank) protocol

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BankMigrationInfo

type BankMigrationInfo struct {
	nex.Structure
	MigrationStatus uint32
	UpdatedTime     *nex.DateTime
}

BankMigrationInfo holds data for the DataStore (Pokemon Bank) protocol

func NewBankMigrationInfo

func NewBankMigrationInfo() *BankMigrationInfo

NewBankMigrationInfo returns a new BankMigrationInfo

func (*BankMigrationInfo) Bytes

func (bankMigrationInfo *BankMigrationInfo) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the BankMigrationInfo and returns a byte array

func (*BankMigrationInfo) Copy

func (bankMigrationInfo *BankMigrationInfo) Copy() nex.StructureInterface

Copy returns a new copied instance of BankMigrationInfo

func (*BankMigrationInfo) Equals

func (bankMigrationInfo *BankMigrationInfo) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*BankMigrationInfo) ExtractFromStream

func (bankMigrationInfo *BankMigrationInfo) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a BankMigrationInfo structure from a stream

func (*BankMigrationInfo) FormatToString

func (bankMigrationInfo *BankMigrationInfo) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*BankMigrationInfo) String

func (bankMigrationInfo *BankMigrationInfo) String() string

String returns a string representation of the struct

type BankTransactionParam

type BankTransactionParam struct {
	nex.Structure
	DataID              uint64
	CurVersion          uint32
	UpdateVersion       uint32
	Size                uint32
	TransactionPassword uint64
}

BankTransactionParam holds data for the DataStore (Pokemon Bank) protocol

func NewBankTransactionParam

func NewBankTransactionParam() *BankTransactionParam

NewBankTransactionParam returns a new BankTransactionParam

func (*BankTransactionParam) Bytes

func (bankTransactionParam *BankTransactionParam) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the BankTransactionParam and returns a byte array

func (*BankTransactionParam) Copy

func (bankTransactionParam *BankTransactionParam) Copy() nex.StructureInterface

Copy returns a new copied instance of BankTransactionParam

func (*BankTransactionParam) Equals

func (bankTransactionParam *BankTransactionParam) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*BankTransactionParam) ExtractFromStream

func (bankTransactionParam *BankTransactionParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a BankTransactionParam structure from a stream

func (*BankTransactionParam) FormatToString

func (bankTransactionParam *BankTransactionParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*BankTransactionParam) String

func (bankTransactionParam *BankTransactionParam) String() string

String returns a string representation of the struct

type GlobalTradeStationData

type GlobalTradeStationData struct {
	nex.Structure
	DataID      uint64
	OwnerID     uint32
	UpdatedTime *nex.DateTime
	IndexData   []byte
	Version     uint32
}

GlobalTradeStationData holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationData

func NewGlobalTradeStationData() *GlobalTradeStationData

NewGlobalTradeStationData returns a new GlobalTradeStationData

func (*GlobalTradeStationData) Bytes

func (globalTradeStationData *GlobalTradeStationData) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationData and returns a byte array

func (*GlobalTradeStationData) Copy

func (globalTradeStationData *GlobalTradeStationData) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationData

func (*GlobalTradeStationData) Equals

func (globalTradeStationData *GlobalTradeStationData) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationData) ExtractFromStream

func (globalTradeStationData *GlobalTradeStationData) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationData structure from a stream

func (*GlobalTradeStationData) FormatToString

func (globalTradeStationData *GlobalTradeStationData) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationData) String

func (globalTradeStationData *GlobalTradeStationData) String() string

String returns a string representation of the struct

type GlobalTradeStationDeletePokemonParam

type GlobalTradeStationDeletePokemonParam struct {
	nex.Structure
	PrepareUploadKey *GlobalTradeStationRecordKey
	DeleteFlag       uint8
}

GlobalTradeStationDeletePokemonParam holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationDeletePokemonParam

func NewGlobalTradeStationDeletePokemonParam() *GlobalTradeStationDeletePokemonParam

NewGlobalTradeStationDeletePokemonParam returns a new GlobalTradeStationDeletePokemonParam

func (*GlobalTradeStationDeletePokemonParam) Bytes

func (globalTradeStationDeletePokemonParam *GlobalTradeStationDeletePokemonParam) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationDeletePokemonParam and returns a byte array

func (*GlobalTradeStationDeletePokemonParam) Copy

func (globalTradeStationDeletePokemonParam *GlobalTradeStationDeletePokemonParam) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationDeletePokemonParam

func (*GlobalTradeStationDeletePokemonParam) Equals

func (globalTradeStationDeletePokemonParam *GlobalTradeStationDeletePokemonParam) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationDeletePokemonParam) ExtractFromStream

func (globalTradeStationDeletePokemonParam *GlobalTradeStationDeletePokemonParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationDeletePokemonParam structure from a stream

func (*GlobalTradeStationDeletePokemonParam) FormatToString

func (globalTradeStationDeletePokemonParam *GlobalTradeStationDeletePokemonParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationDeletePokemonParam) String

func (globalTradeStationDeletePokemonParam *GlobalTradeStationDeletePokemonParam) String() string

String returns a string representation of the struct

type GlobalTradeStationDownloadMyPokemonParam

type GlobalTradeStationDownloadMyPokemonParam struct {
	nex.Structure
	PrepareUploadKey *GlobalTradeStationRecordKey
}

GlobalTradeStationDownloadMyPokemonParam holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationDownloadMyPokemonParam

func NewGlobalTradeStationDownloadMyPokemonParam() *GlobalTradeStationDownloadMyPokemonParam

NewGlobalTradeStationDownloadMyPokemonParam returns a new GlobalTradeStationDownloadMyPokemonParam

func (*GlobalTradeStationDownloadMyPokemonParam) Bytes

func (globalTradeStationDownloadMyPokemonParam *GlobalTradeStationDownloadMyPokemonParam) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationDownloadMyPokemonParam and returns a byte array

func (*GlobalTradeStationDownloadMyPokemonParam) Copy

func (globalTradeStationDownloadMyPokemonParam *GlobalTradeStationDownloadMyPokemonParam) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationDownloadMyPokemonParam

func (*GlobalTradeStationDownloadMyPokemonParam) Equals

func (globalTradeStationDownloadMyPokemonParam *GlobalTradeStationDownloadMyPokemonParam) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationDownloadMyPokemonParam) ExtractFromStream

func (globalTradeStationDownloadMyPokemonParam *GlobalTradeStationDownloadMyPokemonParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationDownloadMyPokemonParam structure from a stream

func (*GlobalTradeStationDownloadMyPokemonParam) FormatToString

func (globalTradeStationDownloadMyPokemonParam *GlobalTradeStationDownloadMyPokemonParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationDownloadMyPokemonParam) String

func (globalTradeStationDownloadMyPokemonParam *GlobalTradeStationDownloadMyPokemonParam) String() string

String returns a string representation of the struct

type GlobalTradeStationDownloadMyPokemonResult

type GlobalTradeStationDownloadMyPokemonResult struct {
	nex.Structure
	Result   *GlobalTradeStationDownloadPokemonResult
	IsTraded bool
}

GlobalTradeStationDownloadMyPokemonResult holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationDownloadMyPokemonResult

func NewGlobalTradeStationDownloadMyPokemonResult() *GlobalTradeStationDownloadMyPokemonResult

NewGlobalTradeStationDownloadMyPokemonResult returns a new GlobalTradeStationDownloadMyPokemonResult

func (*GlobalTradeStationDownloadMyPokemonResult) Bytes

func (globalTradeStationDownloadMyPokemonResult *GlobalTradeStationDownloadMyPokemonResult) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationDownloadMyPokemonResult and returns a byte array

func (*GlobalTradeStationDownloadMyPokemonResult) Copy

func (globalTradeStationDownloadMyPokemonResult *GlobalTradeStationDownloadMyPokemonResult) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationDownloadMyPokemonResult

func (*GlobalTradeStationDownloadMyPokemonResult) Equals

func (globalTradeStationDownloadMyPokemonResult *GlobalTradeStationDownloadMyPokemonResult) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationDownloadMyPokemonResult) ExtractFromStream

func (globalTradeStationDownloadMyPokemonResult *GlobalTradeStationDownloadMyPokemonResult) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationDownloadMyPokemonResult structure from a stream

func (*GlobalTradeStationDownloadMyPokemonResult) FormatToString

func (globalTradeStationDownloadMyPokemonResult *GlobalTradeStationDownloadMyPokemonResult) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationDownloadMyPokemonResult) String

func (globalTradeStationDownloadMyPokemonResult *GlobalTradeStationDownloadMyPokemonResult) String() string

String returns a string representation of the struct

type GlobalTradeStationDownloadOtherPokemonParam

type GlobalTradeStationDownloadOtherPokemonParam struct {
	nex.Structure
	PrepareUploadKey *GlobalTradeStationRecordKey
}

GlobalTradeStationDownloadOtherPokemonParam holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationDownloadOtherPokemonParam

func NewGlobalTradeStationDownloadOtherPokemonParam() *GlobalTradeStationDownloadOtherPokemonParam

NewGlobalTradeStationDownloadOtherPokemonParam returns a new GlobalTradeStationDownloadOtherPokemonParam

func (*GlobalTradeStationDownloadOtherPokemonParam) Bytes

func (globalTradeStationDownloadOtherPokemonParam *GlobalTradeStationDownloadOtherPokemonParam) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationDownloadOtherPokemonParam and returns a byte array

func (*GlobalTradeStationDownloadOtherPokemonParam) Copy

func (globalTradeStationDownloadOtherPokemonParam *GlobalTradeStationDownloadOtherPokemonParam) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationDownloadOtherPokemonParam

func (*GlobalTradeStationDownloadOtherPokemonParam) Equals

func (globalTradeStationDownloadOtherPokemonParam *GlobalTradeStationDownloadOtherPokemonParam) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationDownloadOtherPokemonParam) ExtractFromStream

func (globalTradeStationDownloadOtherPokemonParam *GlobalTradeStationDownloadOtherPokemonParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationDownloadOtherPokemonParam structure from a stream

func (*GlobalTradeStationDownloadOtherPokemonParam) FormatToString

func (globalTradeStationDownloadOtherPokemonParam *GlobalTradeStationDownloadOtherPokemonParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationDownloadOtherPokemonParam) String

func (globalTradeStationDownloadOtherPokemonParam *GlobalTradeStationDownloadOtherPokemonParam) String() string

String returns a string representation of the struct

type GlobalTradeStationDownloadPokemonResult

type GlobalTradeStationDownloadPokemonResult struct {
	nex.Structure
	DataID      uint64
	IndexData   []byte
	PokemonData []byte
}

GlobalTradeStationDownloadPokemonResult holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationDownloadPokemonResult

func NewGlobalTradeStationDownloadPokemonResult() *GlobalTradeStationDownloadPokemonResult

NewGlobalTradeStationDownloadPokemonResult returns a new GlobalTradeStationDownloadPokemonResult

func (*GlobalTradeStationDownloadPokemonResult) Bytes

func (globalTradeStationDownloadPokemonResult *GlobalTradeStationDownloadPokemonResult) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationDownloadPokemonResult and returns a byte array

func (*GlobalTradeStationDownloadPokemonResult) Copy

func (globalTradeStationDownloadPokemonResult *GlobalTradeStationDownloadPokemonResult) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationDownloadPokemonResult

func (*GlobalTradeStationDownloadPokemonResult) Equals

func (globalTradeStationDownloadPokemonResult *GlobalTradeStationDownloadPokemonResult) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationDownloadPokemonResult) ExtractFromStream

func (globalTradeStationDownloadPokemonResult *GlobalTradeStationDownloadPokemonResult) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationDownloadPokemonResult structure from a stream

func (*GlobalTradeStationDownloadPokemonResult) FormatToString

func (globalTradeStationDownloadPokemonResult *GlobalTradeStationDownloadPokemonResult) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationDownloadPokemonResult) String

func (globalTradeStationDownloadPokemonResult *GlobalTradeStationDownloadPokemonResult) String() string

String returns a string representation of the struct

type GlobalTradeStationPrepareTradePokemonParam

type GlobalTradeStationPrepareTradePokemonParam struct {
	nex.Structure
	TradeKey         *GlobalTradeStationTradeKey
	PrepareUploadKey *GlobalTradeStationRecordKey
}

GlobalTradeStationPrepareTradePokemonParam holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationPrepareTradePokemonParam

func NewGlobalTradeStationPrepareTradePokemonParam() *GlobalTradeStationPrepareTradePokemonParam

NewGlobalTradeStationPrepareTradePokemonParam returns a new GlobalTradeStationPrepareTradePokemonParam

func (*GlobalTradeStationPrepareTradePokemonParam) Bytes

func (globalTradeStationPrepareTradePokemonParam *GlobalTradeStationPrepareTradePokemonParam) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationPrepareTradePokemonParam and returns a byte array

func (*GlobalTradeStationPrepareTradePokemonParam) Copy

func (globalTradeStationPrepareTradePokemonParam *GlobalTradeStationPrepareTradePokemonParam) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationPrepareTradePokemonParam

func (*GlobalTradeStationPrepareTradePokemonParam) Equals

func (globalTradeStationPrepareTradePokemonParam *GlobalTradeStationPrepareTradePokemonParam) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationPrepareTradePokemonParam) ExtractFromStream

func (globalTradeStationPrepareTradePokemonParam *GlobalTradeStationPrepareTradePokemonParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationPrepareTradePokemonParam structure from a stream

func (*GlobalTradeStationPrepareTradePokemonParam) FormatToString

func (globalTradeStationPrepareTradePokemonParam *GlobalTradeStationPrepareTradePokemonParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationPrepareTradePokemonParam) String

func (globalTradeStationPrepareTradePokemonParam *GlobalTradeStationPrepareTradePokemonParam) String() string

String returns a string representation of the struct

type GlobalTradeStationPrepareTradePokemonResult

type GlobalTradeStationPrepareTradePokemonResult struct {
	nex.Structure
	Result          *GlobalTradeStationDownloadPokemonResult
	PrepareTradeKey *GlobalTradeStationRecordKey
}

GlobalTradeStationPrepareTradePokemonResult holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationPrepareTradePokemonResult

func NewGlobalTradeStationPrepareTradePokemonResult() *GlobalTradeStationPrepareTradePokemonResult

NewGlobalTradeStationPrepareTradePokemonResult returns a new GlobalTradeStationPrepareTradePokemonResult

func (*GlobalTradeStationPrepareTradePokemonResult) Bytes

func (globalTradeStationPrepareTradePokemonResult *GlobalTradeStationPrepareTradePokemonResult) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationPrepareTradePokemonResult and returns a byte array

func (*GlobalTradeStationPrepareTradePokemonResult) Copy

func (globalTradeStationPrepareTradePokemonResult *GlobalTradeStationPrepareTradePokemonResult) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationPrepareTradePokemonResult

func (*GlobalTradeStationPrepareTradePokemonResult) Equals

func (globalTradeStationPrepareTradePokemonResult *GlobalTradeStationPrepareTradePokemonResult) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationPrepareTradePokemonResult) ExtractFromStream

func (globalTradeStationPrepareTradePokemonResult *GlobalTradeStationPrepareTradePokemonResult) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationPrepareTradePokemonResult structure from a stream

func (*GlobalTradeStationPrepareTradePokemonResult) FormatToString

func (globalTradeStationPrepareTradePokemonResult *GlobalTradeStationPrepareTradePokemonResult) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationPrepareTradePokemonResult) String

func (globalTradeStationPrepareTradePokemonResult *GlobalTradeStationPrepareTradePokemonResult) String() string

String returns a string representation of the struct

type GlobalTradeStationRecordKey

type GlobalTradeStationRecordKey struct {
	nex.Structure
	DataID   uint64
	Password uint64
}

GlobalTradeStationRecordKey holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationRecordKey

func NewGlobalTradeStationRecordKey() *GlobalTradeStationRecordKey

NewGlobalTradeStationRecordKey returns a new GlobalTradeStationRecordKey

func (*GlobalTradeStationRecordKey) Bytes

func (globalTradeStationRecordKey *GlobalTradeStationRecordKey) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationRecordKey and returns a byte array

func (*GlobalTradeStationRecordKey) Copy

func (globalTradeStationRecordKey *GlobalTradeStationRecordKey) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationRecordKey

func (*GlobalTradeStationRecordKey) Equals

func (globalTradeStationRecordKey *GlobalTradeStationRecordKey) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationRecordKey) ExtractFromStream

func (globalTradeStationRecordKey *GlobalTradeStationRecordKey) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationRecordKey structure from a stream

func (*GlobalTradeStationRecordKey) FormatToString

func (globalTradeStationRecordKey *GlobalTradeStationRecordKey) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationRecordKey) String

func (globalTradeStationRecordKey *GlobalTradeStationRecordKey) String() string

String returns a string representation of the struct

type GlobalTradeStationSearchPokemonParam

type GlobalTradeStationSearchPokemonParam struct {
	nex.Structure
	PrepareUploadKey  *GlobalTradeStationRecordKey
	Conditions        []uint32
	ResultOrderColumn uint8
	ResultOrder       uint8
	UploadedAfter     *nex.DateTime
	UploadedBefore    *nex.DateTime
	ResultRange       *nex.ResultRange
}

GlobalTradeStationSearchPokemonParam holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationSearchPokemonParam

func NewGlobalTradeStationSearchPokemonParam() *GlobalTradeStationSearchPokemonParam

NewGlobalTradeStationSearchPokemonParam returns a new GlobalTradeStationSearchPokemonParam

func (*GlobalTradeStationSearchPokemonParam) Bytes

func (globalTradeStationSearchPokemonParam *GlobalTradeStationSearchPokemonParam) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationSearchPokemonParam and returns a byte array

func (*GlobalTradeStationSearchPokemonParam) Copy

func (globalTradeStationSearchPokemonParam *GlobalTradeStationSearchPokemonParam) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationSearchPokemonParam

func (*GlobalTradeStationSearchPokemonParam) Equals

func (globalTradeStationSearchPokemonParam *GlobalTradeStationSearchPokemonParam) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationSearchPokemonParam) ExtractFromStream

func (globalTradeStationSearchPokemonParam *GlobalTradeStationSearchPokemonParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationSearchPokemonParam structure from a stream

func (*GlobalTradeStationSearchPokemonParam) FormatToString

func (globalTradeStationSearchPokemonParam *GlobalTradeStationSearchPokemonParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationSearchPokemonParam) String

func (globalTradeStationSearchPokemonParam *GlobalTradeStationSearchPokemonParam) String() string

String returns a string representation of the struct

type GlobalTradeStationSearchPokemonResult

type GlobalTradeStationSearchPokemonResult struct {
	nex.Structure
	TotalCount     uint32
	Result         []*GlobalTradeStationData
	TotalCountType uint8
}

GlobalTradeStationSearchPokemonResult holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationSearchPokemonResult

func NewGlobalTradeStationSearchPokemonResult() *GlobalTradeStationSearchPokemonResult

NewGlobalTradeStationSearchPokemonResult returns a new GlobalTradeStationSearchPokemonResult

func (*GlobalTradeStationSearchPokemonResult) Bytes

func (globalTradeStationSearchPokemonResult *GlobalTradeStationSearchPokemonResult) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationSearchPokemonResult and returns a byte array

func (*GlobalTradeStationSearchPokemonResult) Copy

func (globalTradeStationSearchPokemonResult *GlobalTradeStationSearchPokemonResult) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationSearchPokemonResult

func (*GlobalTradeStationSearchPokemonResult) Equals

func (globalTradeStationSearchPokemonResult *GlobalTradeStationSearchPokemonResult) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationSearchPokemonResult) ExtractFromStream

func (globalTradeStationSearchPokemonResult *GlobalTradeStationSearchPokemonResult) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationSearchPokemonResult structure from a stream

func (*GlobalTradeStationSearchPokemonResult) FormatToString

func (globalTradeStationSearchPokemonResult *GlobalTradeStationSearchPokemonResult) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationSearchPokemonResult) String

func (globalTradeStationSearchPokemonResult *GlobalTradeStationSearchPokemonResult) String() string

String returns a string representation of the struct

type GlobalTradeStationTradeKey

type GlobalTradeStationTradeKey struct {
	nex.Structure
	DataID  uint64
	Version uint32
}

GlobalTradeStationTradeKey holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationTradeKey

func NewGlobalTradeStationTradeKey() *GlobalTradeStationTradeKey

NewGlobalTradeStationTradeKey returns a new GlobalTradeStationTradeKey

func (*GlobalTradeStationTradeKey) Bytes

func (globalTradeStationTradeKey *GlobalTradeStationTradeKey) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationTradeKey and returns a byte array

func (*GlobalTradeStationTradeKey) Copy

func (globalTradeStationTradeKey *GlobalTradeStationTradeKey) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationTradeKey

func (*GlobalTradeStationTradeKey) Equals

func (globalTradeStationTradeKey *GlobalTradeStationTradeKey) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationTradeKey) ExtractFromStream

func (globalTradeStationTradeKey *GlobalTradeStationTradeKey) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationTradeKey structure from a stream

func (*GlobalTradeStationTradeKey) FormatToString

func (globalTradeStationTradeKey *GlobalTradeStationTradeKey) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationTradeKey) String

func (globalTradeStationTradeKey *GlobalTradeStationTradeKey) String() string

String returns a string representation of the struct

type GlobalTradeStationTradePokemonParam

type GlobalTradeStationTradePokemonParam struct {
	nex.Structure
	TradeKey         *GlobalTradeStationTradeKey
	PrepareTradeKey  *GlobalTradeStationRecordKey
	PrepareUploadKey *GlobalTradeStationRecordKey
	Period           uint16
	IndexData        []byte
	PokemonData      []byte
	Signature        []byte
	NeedData         bool
}

GlobalTradeStationTradePokemonParam holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationTradePokemonParam

func NewGlobalTradeStationTradePokemonParam() *GlobalTradeStationTradePokemonParam

NewGlobalTradeStationTradePokemonParam returns a new GlobalTradeStationTradePokemonParam

func (*GlobalTradeStationTradePokemonParam) Bytes

func (globalTradeStationTradePokemonParam *GlobalTradeStationTradePokemonParam) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationTradePokemonParam and returns a byte array

func (*GlobalTradeStationTradePokemonParam) Copy

func (globalTradeStationTradePokemonParam *GlobalTradeStationTradePokemonParam) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationTradePokemonParam

func (*GlobalTradeStationTradePokemonParam) Equals

func (globalTradeStationTradePokemonParam *GlobalTradeStationTradePokemonParam) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationTradePokemonParam) ExtractFromStream

func (globalTradeStationTradePokemonParam *GlobalTradeStationTradePokemonParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationTradePokemonParam structure from a stream

func (*GlobalTradeStationTradePokemonParam) FormatToString

func (globalTradeStationTradePokemonParam *GlobalTradeStationTradePokemonParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationTradePokemonParam) String

func (globalTradeStationTradePokemonParam *GlobalTradeStationTradePokemonParam) String() string

String returns a string representation of the struct

type GlobalTradeStationTradePokemonResult

type GlobalTradeStationTradePokemonResult struct {
	nex.Structure
	Result   *GlobalTradeStationDownloadPokemonResult
	MyDataID uint64
}

GlobalTradeStationTradePokemonResult holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationTradePokemonResult

func NewGlobalTradeStationTradePokemonResult() *GlobalTradeStationTradePokemonResult

NewGlobalTradeStationTradePokemonResult returns a new GlobalTradeStationTradePokemonResult

func (*GlobalTradeStationTradePokemonResult) Bytes

func (globalTradeStationTradePokemonResult *GlobalTradeStationTradePokemonResult) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationTradePokemonResult and returns a byte array

func (*GlobalTradeStationTradePokemonResult) Copy

func (globalTradeStationTradePokemonResult *GlobalTradeStationTradePokemonResult) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationTradePokemonResult

func (*GlobalTradeStationTradePokemonResult) Equals

func (globalTradeStationTradePokemonResult *GlobalTradeStationTradePokemonResult) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationTradePokemonResult) ExtractFromStream

func (globalTradeStationTradePokemonResult *GlobalTradeStationTradePokemonResult) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationTradePokemonResult structure from a stream

func (*GlobalTradeStationTradePokemonResult) FormatToString

func (globalTradeStationTradePokemonResult *GlobalTradeStationTradePokemonResult) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationTradePokemonResult) String

func (globalTradeStationTradePokemonResult *GlobalTradeStationTradePokemonResult) String() string

String returns a string representation of the struct

type GlobalTradeStationUploadPokemonParam

type GlobalTradeStationUploadPokemonParam struct {
	nex.Structure
	PrepareUploadKey *GlobalTradeStationRecordKey
	Period           uint16
	IndexData        []byte
	PokemonData      []byte
	Signature        []byte
}

GlobalTradeStationUploadPokemonParam holds data for the DataStore (Pokemon Bank) protocol

func NewGlobalTradeStationUploadPokemonParam

func NewGlobalTradeStationUploadPokemonParam() *GlobalTradeStationUploadPokemonParam

NewGlobalTradeStationUploadPokemonParam returns a new GlobalTradeStationUploadPokemonParam

func (*GlobalTradeStationUploadPokemonParam) Bytes

func (globalTradeStationUploadPokemonParam *GlobalTradeStationUploadPokemonParam) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GlobalTradeStationUploadPokemonParam and returns a byte array

func (*GlobalTradeStationUploadPokemonParam) Copy

func (globalTradeStationUploadPokemonParam *GlobalTradeStationUploadPokemonParam) Copy() nex.StructureInterface

Copy returns a new copied instance of GlobalTradeStationUploadPokemonParam

func (*GlobalTradeStationUploadPokemonParam) Equals

func (globalTradeStationUploadPokemonParam *GlobalTradeStationUploadPokemonParam) Equals(structure nex.StructureInterface) bool

Equals checks if the passed Structure contains the same data as the current instance

func (*GlobalTradeStationUploadPokemonParam) ExtractFromStream

func (globalTradeStationUploadPokemonParam *GlobalTradeStationUploadPokemonParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GlobalTradeStationUploadPokemonParam structure from a stream

func (*GlobalTradeStationUploadPokemonParam) FormatToString

func (globalTradeStationUploadPokemonParam *GlobalTradeStationUploadPokemonParam) FormatToString(indentationLevel int) string

FormatToString pretty-prints the struct data using the provided indentation level

func (*GlobalTradeStationUploadPokemonParam) String

func (globalTradeStationUploadPokemonParam *GlobalTradeStationUploadPokemonParam) String() string

String returns a string representation of the struct

Jump to

Keyboard shortcuts

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