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: 3

Documentation

Overview

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Package types implements all the types used by the Matchmaking protocols.

Since there are multiple match making related protocols, and they all share types all types used by all match making protocols is defined here

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoMatchmakeParam

type AutoMatchmakeParam struct {
	nex.Structure
	SourceMatchmakeSession   *MatchmakeSession
	AdditionalParticipants   []uint32
	GIDForParticipationCheck uint32
	AutoMatchmakeOption      uint32
	JoinMessage              string
	ParticipationCount       uint16
	LstSearchCriteria        []*MatchmakeSessionSearchCriteria
	TargetGIDs               []uint32
}

AutoMatchmakeParam holds parameters for a matchmake session

func NewAutoMatchmakeParam

func NewAutoMatchmakeParam() *AutoMatchmakeParam

NewAutoMatchmakeParam returns a new AutoMatchmakeParam

func (*AutoMatchmakeParam) Copy

func (autoMatchmakeParam *AutoMatchmakeParam) Copy() nex.StructureInterface

Copy returns a new copied instance of AutoMatchmakeParam

func (*AutoMatchmakeParam) Equals

func (autoMatchmakeParam *AutoMatchmakeParam) Equals(structure nex.StructureInterface) bool

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

func (*AutoMatchmakeParam) ExtractFromStream

func (autoMatchmakeParam *AutoMatchmakeParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a AutoMatchmakeParam structure from a stream

func (*AutoMatchmakeParam) FormatToString

func (autoMatchmakeParam *AutoMatchmakeParam) FormatToString(indentationLevel int) string

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

func (*AutoMatchmakeParam) String

func (autoMatchmakeParam *AutoMatchmakeParam) String() string

String returns a string representation of the struct

type CreateMatchmakeSessionParam

type CreateMatchmakeSessionParam struct {
	nex.Structure
	SourceMatchmakeSession       *MatchmakeSession
	AdditionalParticipants       []uint32
	GIDForParticipationCheck     uint32
	CreateMatchmakeSessionOption uint32
	JoinMessage                  string
	ParticipationCount           uint16
}

CreateMatchmakeSessionParam holds parameters for a matchmake session

func NewCreateMatchmakeSessionParam

func NewCreateMatchmakeSessionParam() *CreateMatchmakeSessionParam

NewCreateMatchmakeSessionParam returns a new CreateMatchmakeSessionParam

func (*CreateMatchmakeSessionParam) Copy

func (createMatchmakeSessionParam *CreateMatchmakeSessionParam) Copy() nex.StructureInterface

Copy returns a new copied instance of CreateMatchmakeSessionParam

func (*CreateMatchmakeSessionParam) Equals

func (createMatchmakeSessionParam *CreateMatchmakeSessionParam) Equals(structure nex.StructureInterface) bool

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

func (*CreateMatchmakeSessionParam) ExtractFromStream

func (createMatchmakeSessionParam *CreateMatchmakeSessionParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a CreateMatchmakeSessionParam structure from a stream

func (*CreateMatchmakeSessionParam) FormatToString

func (createMatchmakeSessionParam *CreateMatchmakeSessionParam) FormatToString(indentationLevel int) string

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

func (*CreateMatchmakeSessionParam) String

func (createMatchmakeSessionParam *CreateMatchmakeSessionParam) String() string

String returns a string representation of the struct

type DeletionEntry added in v1.0.43

type DeletionEntry struct {
	nex.Structure
	IDGathering uint32
	PID         uint32
	UIReason    uint32
}

DeletionEntry holds an entry for a deletion

func NewDeletionEntry added in v1.0.43

func NewDeletionEntry() *DeletionEntry

NewDeletionEntry returns a new DeletionEntry

func (*DeletionEntry) Bytes added in v1.0.43

func (deletionEntry *DeletionEntry) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the DeletionEntry and returns a byte array

func (*DeletionEntry) Copy added in v1.0.43

func (deletionEntry *DeletionEntry) Copy() nex.StructureInterface

Copy returns a new copied instance of DeletionEntry

func (*DeletionEntry) Equals added in v1.0.43

func (deletionEntry *DeletionEntry) Equals(structure nex.StructureInterface) bool

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

func (*DeletionEntry) ExtractFromStream added in v1.0.43

func (deletionEntry *DeletionEntry) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a DeletionEntry structure from a stream

func (*DeletionEntry) FormatToString added in v1.0.43

func (deletionEntry *DeletionEntry) FormatToString(indentationLevel int) string

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

func (*DeletionEntry) String added in v1.0.43

func (deletionEntry *DeletionEntry) String() string

String returns a string representation of the struct

type FindMatchmakeSessionByParticipantParam added in v1.0.43

type FindMatchmakeSessionByParticipantParam struct {
	nex.Structure
	PrincipalIDList []uint32
	ResultOptions   uint32
	BlockListParam  *MatchmakeBlockListParam
}

FindMatchmakeSessionByParticipantParam holds parameters for a matchmake session

func NewFindMatchmakeSessionByParticipantParam added in v1.0.43

func NewFindMatchmakeSessionByParticipantParam() *FindMatchmakeSessionByParticipantParam

NewFindMatchmakeSessionByParticipantParam returns a new FindMatchmakeSessionByParticipantParam

func (*FindMatchmakeSessionByParticipantParam) Copy added in v1.0.43

func (findMatchmakeSessionByParticipantParam *FindMatchmakeSessionByParticipantParam) Copy() nex.StructureInterface

Copy returns a new copied instance of FindMatchmakeSessionByParticipantParam

func (*FindMatchmakeSessionByParticipantParam) Equals added in v1.0.43

func (findMatchmakeSessionByParticipantParam *FindMatchmakeSessionByParticipantParam) Equals(structure nex.StructureInterface) bool

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

func (*FindMatchmakeSessionByParticipantParam) ExtractFromStream added in v1.0.43

func (findMatchmakeSessionByParticipantParam *FindMatchmakeSessionByParticipantParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a FindMatchmakeSessionByParticipantParam structure from a stream

func (*FindMatchmakeSessionByParticipantParam) FormatToString added in v1.0.43

func (findMatchmakeSessionByParticipantParam *FindMatchmakeSessionByParticipantParam) FormatToString(indentationLevel int) string

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

func (*FindMatchmakeSessionByParticipantParam) String added in v1.0.43

func (findMatchmakeSessionByParticipantParam *FindMatchmakeSessionByParticipantParam) String() string

String returns a string representation of the struct

type FindMatchmakeSessionByParticipantResult added in v1.0.43

type FindMatchmakeSessionByParticipantResult struct {
	nex.Structure
	PrincipalID uint32
	Session     *MatchmakeSession
}

FindMatchmakeSessionByParticipantResult holds parameters for a matchmake session

func NewFindMatchmakeSessionByParticipantResult added in v1.0.43

func NewFindMatchmakeSessionByParticipantResult() *FindMatchmakeSessionByParticipantResult

NewFindMatchmakeSessionByParticipantResult returns a new FindMatchmakeSessionByParticipantResult

func (*FindMatchmakeSessionByParticipantResult) Copy added in v1.0.43

func (findMatchmakeSessionByParticipantResult *FindMatchmakeSessionByParticipantResult) Copy() nex.StructureInterface

Copy returns a new copied instance of FindMatchmakeSessionByParticipantResult

func (*FindMatchmakeSessionByParticipantResult) Equals added in v1.0.43

func (findMatchmakeSessionByParticipantResult *FindMatchmakeSessionByParticipantResult) Equals(structure nex.StructureInterface) bool

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

func (*FindMatchmakeSessionByParticipantResult) ExtractFromStream added in v1.0.43

func (findMatchmakeSessionByParticipantResult *FindMatchmakeSessionByParticipantResult) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a FindMatchmakeSessionByParticipantResult structure from a stream

func (*FindMatchmakeSessionByParticipantResult) FormatToString added in v1.0.43

func (findMatchmakeSessionByParticipantResult *FindMatchmakeSessionByParticipantResult) FormatToString(indentationLevel int) string

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

func (*FindMatchmakeSessionByParticipantResult) String added in v1.0.43

func (findMatchmakeSessionByParticipantResult *FindMatchmakeSessionByParticipantResult) String() string

String returns a string representation of the struct

type Gathering

type Gathering struct {
	nex.Structure
	ID                  uint32
	OwnerPID            uint32
	HostPID             uint32
	MinimumParticipants uint16
	MaximumParticipants uint16
	ParticipationPolicy uint32
	PolicyArgument      uint32
	Flags               uint32
	State               uint32
	Description         string
}

Gathering holds information about a matchmake gathering

func NewGathering

func NewGathering() *Gathering

NewGathering returns a new Gathering

func (*Gathering) Bytes

func (gathering *Gathering) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the Gathering and returns a byte array

func (*Gathering) Copy

func (gathering *Gathering) Copy() nex.StructureInterface

Copy returns a new copied instance of Gathering

func (*Gathering) Equals

func (gathering *Gathering) Equals(structure nex.StructureInterface) bool

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

func (*Gathering) ExtractFromStream

func (gathering *Gathering) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a Gathering structure from a stream

func (*Gathering) FormatToString

func (gathering *Gathering) FormatToString(indentationLevel int) string

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

func (*Gathering) String

func (gathering *Gathering) String() string

String returns a string representation of the struct

type GatheringStats added in v1.0.43

type GatheringStats struct {
	nex.Structure
	PIDParticipant uint32
	UIFlags        uint32
	LstValues      []float32
}

GatheringStats holds stats about a Gathering

func NewGatheringStats added in v1.0.43

func NewGatheringStats() *GatheringStats

NewGatheringStats returns a new GatheringStats

func (*GatheringStats) Bytes added in v1.0.43

func (gatheringStats *GatheringStats) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GatheringStats and returns a byte array

func (*GatheringStats) Copy added in v1.0.43

func (gatheringStats *GatheringStats) Copy() nex.StructureInterface

Copy returns a new copied instance of GatheringStats

func (*GatheringStats) Equals added in v1.0.43

func (gatheringStats *GatheringStats) Equals(structure nex.StructureInterface) bool

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

func (*GatheringStats) ExtractFromStream added in v1.0.43

func (gatheringStats *GatheringStats) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GatheringStats structure from a stream

func (*GatheringStats) FormatToString added in v1.0.43

func (gatheringStats *GatheringStats) FormatToString(indentationLevel int) string

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

func (*GatheringStats) String added in v1.0.43

func (gatheringStats *GatheringStats) String() string

String returns a string representation of the struct

type GatheringURLs added in v1.0.43

type GatheringURLs struct {
	nex.Structure
	GID            uint32
	LstStationURLs []*nex.StationURL
}

GatheringURLs holds information about a matchmake gatheringURLs

func NewGatheringURLs added in v1.0.43

func NewGatheringURLs() *GatheringURLs

NewGatheringURLs returns a new GatheringURLs

func (*GatheringURLs) Bytes added in v1.0.43

func (gatheringURLs *GatheringURLs) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the GatheringURLs and returns a byte array

func (*GatheringURLs) Copy added in v1.0.43

func (gatheringURLs *GatheringURLs) Copy() nex.StructureInterface

Copy returns a new copied instance of GatheringURLs

func (*GatheringURLs) Equals added in v1.0.43

func (gatheringURLs *GatheringURLs) Equals(structure nex.StructureInterface) bool

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

func (*GatheringURLs) ExtractFromStream added in v1.0.43

func (gatheringURLs *GatheringURLs) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a GatheringURLs structure from a stream

func (*GatheringURLs) FormatToString added in v1.0.43

func (gatheringURLs *GatheringURLs) FormatToString(indentationLevel int) string

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

func (*GatheringURLs) String added in v1.0.43

func (gatheringURLs *GatheringURLs) String() string

String returns a string representation of the struct

type Invitation added in v1.0.43

type Invitation struct {
	nex.Structure
	IDGathering uint32
	IDGuest     uint32
	StrMessage  string
}

Invitation holds an invitation a Gathering

func NewInvitation added in v1.0.43

func NewInvitation() *Invitation

NewInvitation returns a new Invitation

func (*Invitation) Bytes added in v1.0.43

func (invitation *Invitation) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the Invitation and returns a byte array

func (*Invitation) Copy added in v1.0.43

func (invitation *Invitation) Copy() nex.StructureInterface

Copy returns a new copied instance of Invitation

func (*Invitation) Equals added in v1.0.43

func (invitation *Invitation) Equals(structure nex.StructureInterface) bool

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

func (*Invitation) ExtractFromStream added in v1.0.43

func (invitation *Invitation) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a Invitation structure from a stream

func (*Invitation) FormatToString added in v1.0.43

func (invitation *Invitation) FormatToString(indentationLevel int) string

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

func (*Invitation) String added in v1.0.43

func (invitation *Invitation) String() string

String returns a string representation of the struct

type JoinMatchmakeSessionParam

type JoinMatchmakeSessionParam struct {
	nex.Structure
	GID                          uint32
	AdditionalParticipants       []uint32
	GIDForParticipationCheck     uint32
	JoinMatchmakeSessionOption   uint32
	JoinMatchmakeSessionBehavior uint8
	StrUserPassword              string
	StrSystemPassword            string
	JoinMessage                  string
	ParticipationCount           uint16
	ExtraParticipants            uint16
	BlockListParam               *MatchmakeBlockListParam // * NEX 4.0+ ? Not seen in Minecraft, which is 3.10.0
}

JoinMatchmakeSessionParam holds parameters for a matchmake session

func NewJoinMatchmakeSessionParam

func NewJoinMatchmakeSessionParam() *JoinMatchmakeSessionParam

NewJoinMatchmakeSessionParam returns a new JoinMatchmakeSessionParam

func (*JoinMatchmakeSessionParam) Copy

func (joinMatchmakeSessionParam *JoinMatchmakeSessionParam) Copy() nex.StructureInterface

Copy returns a new copied instance of JoinMatchmakeSessionParam

func (*JoinMatchmakeSessionParam) Equals

func (joinMatchmakeSessionParam *JoinMatchmakeSessionParam) Equals(structure nex.StructureInterface) bool

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

func (*JoinMatchmakeSessionParam) ExtractFromStream

func (joinMatchmakeSessionParam *JoinMatchmakeSessionParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a JoinMatchmakeSessionParam structure from a stream

func (*JoinMatchmakeSessionParam) FormatToString

func (joinMatchmakeSessionParam *JoinMatchmakeSessionParam) FormatToString(indentationLevel int) string

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

func (*JoinMatchmakeSessionParam) String

func (joinMatchmakeSessionParam *JoinMatchmakeSessionParam) String() string

String returns a string representation of the struct

type MatchmakeBlockListParam

type MatchmakeBlockListParam struct {
	nex.Structure
	OptionFlag uint32
}

MatchmakeBlockListParam holds parameters for a matchmake session

func NewMatchmakeBlockListParam

func NewMatchmakeBlockListParam() *MatchmakeBlockListParam

NewMatchmakeBlockListParam returns a new MatchmakeBlockListParam

func (*MatchmakeBlockListParam) Copy

func (matchmakeBlockListParam *MatchmakeBlockListParam) Copy() nex.StructureInterface

Copy returns a new copied instance of MatchmakeBlockListParam

func (*MatchmakeBlockListParam) Equals

func (matchmakeBlockListParam *MatchmakeBlockListParam) Equals(structure nex.StructureInterface) bool

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

func (*MatchmakeBlockListParam) ExtractFromStream

func (matchmakeBlockListParam *MatchmakeBlockListParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a MatchmakeBlockListParam structure from a stream

func (*MatchmakeBlockListParam) FormatToString

func (matchmakeBlockListParam *MatchmakeBlockListParam) FormatToString(indentationLevel int) string

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

func (*MatchmakeBlockListParam) String

func (matchmakeBlockListParam *MatchmakeBlockListParam) String() string

String returns a string representation of the struct

type MatchmakeParam

type MatchmakeParam struct {
	nex.Structure
	Parameters map[string]*nex.Variant
}

MatchmakeParam holds parameters for a matchmake session

func NewMatchmakeParam

func NewMatchmakeParam() *MatchmakeParam

NewMatchmakeParam returns a new MatchmakeParam

func (*MatchmakeParam) Bytes

func (matchmakeParam *MatchmakeParam) Bytes(stream *nex.StreamOut) []byte

Bytes extracts a MatchmakeParam structure from a stream

func (*MatchmakeParam) Copy

func (matchmakeParam *MatchmakeParam) Copy() nex.StructureInterface

Copy returns a new copied instance of MatchmakeParam

func (*MatchmakeParam) Equals

func (matchmakeParam *MatchmakeParam) Equals(structure nex.StructureInterface) bool

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

func (*MatchmakeParam) ExtractFromStream

func (matchmakeParam *MatchmakeParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a MatchmakeParam structure from a stream

func (*MatchmakeParam) FormatToString

func (matchmakeParam *MatchmakeParam) FormatToString(indentationLevel int) string

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

func (*MatchmakeParam) String

func (matchmakeParam *MatchmakeParam) String() string

String returns a string representation of the struct

type MatchmakeSession

type MatchmakeSession struct {
	nex.Structure
	*Gathering
	GameMode              uint32
	Attributes            []uint32
	OpenParticipation     bool
	MatchmakeSystemType   uint32
	ApplicationData       []byte
	ParticipationCount    uint32
	ProgressScore         uint8           // NEX v3.4.0+
	SessionKey            []byte          // NEX v3.0.0+
	Option                uint32          // NEX v3.5.0+
	MatchmakeParam        *MatchmakeParam // NEX v3.6.0+
	StartedTime           *nex.DateTime   // NEX v3.6.0+
	UserPassword          string          // NEX v3.7.0+
	ReferGID              uint32          // NEX v3.8.0+
	UserPasswordEnabled   bool            // NEX v3.8.0+
	SystemPasswordEnabled bool            // NEX v3.8.0+
	CodeWord              string          // NEX v4.0.0+
}

MatchmakeSession holds information about a matchmake session

func NewMatchmakeSession

func NewMatchmakeSession() *MatchmakeSession

NewMatchmakeSession returns a new MatchmakeSession

func (*MatchmakeSession) Bytes

func (matchmakeSession *MatchmakeSession) Bytes(stream *nex.StreamOut) []byte

Bytes extracts a MatchmakeSession structure from a stream

func (*MatchmakeSession) Copy

func (matchmakeSession *MatchmakeSession) Copy() nex.StructureInterface

Copy returns a new copied instance of MatchmakeSession

func (*MatchmakeSession) Equals

func (matchmakeSession *MatchmakeSession) Equals(structure nex.StructureInterface) bool

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

func (*MatchmakeSession) ExtractFromStream

func (matchmakeSession *MatchmakeSession) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a MatchmakeSession structure from a stream

func (*MatchmakeSession) FormatToString

func (matchmakeSession *MatchmakeSession) FormatToString(indentationLevel int) string

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

func (*MatchmakeSession) String

func (matchmakeSession *MatchmakeSession) String() string

String returns a string representation of the struct

type MatchmakeSessionSearchCriteria

type MatchmakeSessionSearchCriteria struct {
	nex.Structure
	Attribs                  []string
	GameMode                 string
	MinParticipants          string
	MaxParticipants          string
	MatchmakeSystemType      string
	VacantOnly               bool
	ExcludeLocked            bool
	ExcludeNonHostPID        bool
	SelectionMethod          uint32           // NEX v3.0.0+
	VacantParticipants       uint16           // NEX v3.4.0+
	MatchmakeParam           *MatchmakeParam  // NEX v3.6.0+
	ExcludeUserPasswordSet   bool             // NEX v3.7.0+
	ExcludeSystemPasswordSet bool             // NEX v3.7.0+
	ReferGID                 uint32           // NEX v3.8.0+
	CodeWord                 string           // NEX v4.0.0+
	ResultRange              *nex.ResultRange // NEX v4.0.0+
}

MatchmakeSessionSearchCriteria holds information about a matchmaking search

func NewMatchmakeSessionSearchCriteria

func NewMatchmakeSessionSearchCriteria() *MatchmakeSessionSearchCriteria

NewMatchmakeSessionSearchCriteria returns a new MatchmakeSessionSearchCriteria

func (*MatchmakeSessionSearchCriteria) Bytes

func (matchmakeSessionSearchCriteria *MatchmakeSessionSearchCriteria) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the Gathering and returns a byte array

func (*MatchmakeSessionSearchCriteria) Copy

func (matchmakeSessionSearchCriteria *MatchmakeSessionSearchCriteria) Copy() nex.StructureInterface

Copy returns a new copied instance of Gathering

func (*MatchmakeSessionSearchCriteria) Equals

func (matchmakeSessionSearchCriteria *MatchmakeSessionSearchCriteria) Equals(structure nex.StructureInterface) bool

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

func (*MatchmakeSessionSearchCriteria) ExtractFromStream

func (matchmakeSessionSearchCriteria *MatchmakeSessionSearchCriteria) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a Gathering structure from a stream

func (*MatchmakeSessionSearchCriteria) FormatToString

func (matchmakeSessionSearchCriteria *MatchmakeSessionSearchCriteria) FormatToString(indentationLevel int) string

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

func (*MatchmakeSessionSearchCriteria) String

func (matchmakeSessionSearchCriteria *MatchmakeSessionSearchCriteria) String() string

String returns a string representation of the struct

type ParticipantDetails added in v1.0.43

type ParticipantDetails struct {
	nex.Structure
	IDParticipant  uint32
	StrName        string
	StrMessage     string
	UIParticipants uint16
}

ParticipantDetails holds information a participant

func NewParticipantDetails added in v1.0.43

func NewParticipantDetails() *ParticipantDetails

NewParticipantDetails returns a new ParticipantDetails

func (*ParticipantDetails) Bytes added in v1.0.43

func (participantDetails *ParticipantDetails) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the ParticipantDetails and returns a byte array

func (*ParticipantDetails) Copy added in v1.0.43

func (participantDetails *ParticipantDetails) Copy() nex.StructureInterface

Copy returns a new copied instance of ParticipantDetails

func (*ParticipantDetails) Equals added in v1.0.43

func (participantDetails *ParticipantDetails) Equals(structure nex.StructureInterface) bool

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

func (*ParticipantDetails) ExtractFromStream added in v1.0.43

func (participantDetails *ParticipantDetails) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a ParticipantDetails structure from a stream

func (*ParticipantDetails) FormatToString added in v1.0.43

func (participantDetails *ParticipantDetails) FormatToString(indentationLevel int) string

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

func (*ParticipantDetails) String added in v1.0.43

func (participantDetails *ParticipantDetails) String() string

String returns a string representation of the struct

type PersistentGathering

type PersistentGathering struct {
	nex.Structure
	*Gathering
	CommunityType          uint32
	Password               string
	Attribs                []uint32
	ApplicationBuffer      []byte
	ParticipationStartDate *nex.DateTime
	ParticipationEndDate   *nex.DateTime
	MatchmakeSessionCount  uint32
	ParticipationCount     uint32
}

PersistentGathering holds parameters for a matchmake session

func NewPersistentGathering

func NewPersistentGathering() *PersistentGathering

NewPersistentGathering returns a new PersistentGathering

func (*PersistentGathering) Copy

func (persistentGathering *PersistentGathering) Copy() nex.StructureInterface

Copy returns a new copied instance of PersistentGathering

func (*PersistentGathering) Equals

func (persistentGathering *PersistentGathering) Equals(structure nex.StructureInterface) bool

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

func (*PersistentGathering) ExtractFromStream

func (persistentGathering *PersistentGathering) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a PersistentGathering structure from a stream

func (*PersistentGathering) FormatToString

func (persistentGathering *PersistentGathering) FormatToString(indentationLevel int) string

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

func (*PersistentGathering) String

func (persistentGathering *PersistentGathering) String() string

String returns a string representation of the struct

type PlayingSession added in v1.0.43

type PlayingSession struct {
	nex.Structure
	PrincipalID uint32
	Gathering   *nex.DataHolder
}

PlayingSession holds information for a session

func NewPlayingSession added in v1.0.43

func NewPlayingSession() *PlayingSession

NewPlayingSession returns a new PlayingSession

func (*PlayingSession) Bytes added in v1.0.43

func (playingSession *PlayingSession) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the PlayingSession and returns a byte array

func (*PlayingSession) Copy added in v1.0.43

func (playingSession *PlayingSession) Copy() nex.StructureInterface

Copy returns a new copied instance of PlayingSession

func (*PlayingSession) Equals added in v1.0.43

func (playingSession *PlayingSession) Equals(structure nex.StructureInterface) bool

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

func (*PlayingSession) ExtractFromStream added in v1.0.43

func (playingSession *PlayingSession) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a PlayingSession structure from a stream

func (*PlayingSession) FormatToString added in v1.0.43

func (playingSession *PlayingSession) FormatToString(indentationLevel int) string

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

func (*PlayingSession) String added in v1.0.43

func (playingSession *PlayingSession) String() string

String returns a string representation of the struct

type SimpleCommunity

type SimpleCommunity struct {
	nex.Structure
	GatheringID           uint32
	MatchmakeSessionCount uint32
}

SimpleCommunity holds basic info about a community

func NewSimpleCommunity

func NewSimpleCommunity() *SimpleCommunity

NewSimpleCommunity returns a new SimpleCommunity

func (*SimpleCommunity) Copy

func (simpleCommunity *SimpleCommunity) Copy() nex.StructureInterface

Copy returns a new copied instance of SimpleCommunity

func (*SimpleCommunity) Equals

func (simpleCommunity *SimpleCommunity) Equals(structure nex.StructureInterface) bool

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

func (*SimpleCommunity) ExtractFromStream

func (simpleCommunity *SimpleCommunity) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a SimpleCommunity structure from a stream

func (*SimpleCommunity) FormatToString

func (simpleCommunity *SimpleCommunity) FormatToString(indentationLevel int) string

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

func (*SimpleCommunity) String

func (simpleCommunity *SimpleCommunity) String() string

String returns a string representation of the struct

type SimplePlayingSession added in v1.0.43

type SimplePlayingSession struct {
	nex.Structure
	PrincipalID uint32
	GatheringID uint32
	GameMode    uint32
	Attribute0  uint32
}

SimplePlayingSession holds simple information for a session

func NewSimplePlayingSession added in v1.0.43

func NewSimplePlayingSession() *SimplePlayingSession

NewSimplePlayingSession returns a new SimplePlayingSession

func (*SimplePlayingSession) Bytes added in v1.0.43

func (simplePlayingSession *SimplePlayingSession) Bytes(stream *nex.StreamOut) []byte

Bytes encodes the SimplePlayingSession and returns a byte array

func (*SimplePlayingSession) Copy added in v1.0.43

func (simplePlayingSession *SimplePlayingSession) Copy() nex.StructureInterface

Copy returns a new copied instance of SimplePlayingSession

func (*SimplePlayingSession) Equals added in v1.0.43

func (simplePlayingSession *SimplePlayingSession) Equals(structure nex.StructureInterface) bool

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

func (*SimplePlayingSession) ExtractFromStream added in v1.0.43

func (simplePlayingSession *SimplePlayingSession) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a SimplePlayingSession structure from a stream

func (*SimplePlayingSession) FormatToString added in v1.0.43

func (simplePlayingSession *SimplePlayingSession) FormatToString(indentationLevel int) string

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

func (*SimplePlayingSession) String added in v1.0.43

func (simplePlayingSession *SimplePlayingSession) String() string

String returns a string representation of the struct

type UpdateMatchmakeSessionParam added in v1.0.43

type UpdateMatchmakeSessionParam struct {
	nex.Structure
	GID                 uint32
	ModificationFlag    uint32
	Attributes          []uint32
	OpenParticipation   bool
	ApplicationBuffer   []byte
	ProgressScore       uint8
	MatchmakeParam      *MatchmakeParam
	StartedTime         *nex.DateTime
	UserPassword        string
	GameMode            uint32
	Description         string
	MinParticipants     uint16
	MaxParticipants     uint16
	MatchmakeSystemType uint32
	ParticipationPolicy uint32
	PolicyArgument      uint32
	Codeword            string
}

UpdateMatchmakeSessionParam holds parameters for a matchmake session

func NewUpdateMatchmakeSessionParam added in v1.0.43

func NewUpdateMatchmakeSessionParam() *UpdateMatchmakeSessionParam

NewUpdateMatchmakeSessionParam returns a new UpdateMatchmakeSessionParam

func (*UpdateMatchmakeSessionParam) Copy added in v1.0.43

func (updateMatchmakeSessionParam *UpdateMatchmakeSessionParam) Copy() nex.StructureInterface

Copy returns a new copied instance of UpdateMatchmakeSessionParam

func (*UpdateMatchmakeSessionParam) Equals added in v1.0.43

func (updateMatchmakeSessionParam *UpdateMatchmakeSessionParam) Equals(structure nex.StructureInterface) bool

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

func (*UpdateMatchmakeSessionParam) ExtractFromStream added in v1.0.43

func (updateMatchmakeSessionParam *UpdateMatchmakeSessionParam) ExtractFromStream(stream *nex.StreamIn) error

ExtractFromStream extracts a UpdateMatchmakeSessionParam structure from a stream

func (*UpdateMatchmakeSessionParam) FormatToString added in v1.0.43

func (updateMatchmakeSessionParam *UpdateMatchmakeSessionParam) FormatToString(indentationLevel int) string

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

func (*UpdateMatchmakeSessionParam) String added in v1.0.43

func (updateMatchmakeSessionParam *UpdateMatchmakeSessionParam) 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