factions

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: GPL-3.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Flags    ReputationFlags
	Standing ReputationRank
}

type Initialize

type Initialize struct {
	Flags    uint32
	Factions []Info
}

func (*Initialize) Decode

func (init *Initialize) Decode(build vsn.Build, in *packet.WorldPacket) error

func (*Initialize) Encode

func (init *Initialize) Encode(build vsn.Build, out *packet.WorldPacket) error

func (*Initialize) InitDefault

func (init *Initialize) InitDefault(build vsn.Build)

type ReputationFlags

type ReputationFlags uint8
const (
	ReputationVisible         ReputationFlags = 1 << iota // makes visible in client (set or can be set at interaction with target of this faction)
	ReputationAtWar                                       // enable AtWar-button in client. player controlled (except opposition team always war state), Flag only set on initial creation
	ReputationHidden                                      // hidden faction from reputation pane in client (player can gain reputation, but this update not sent to client)
	ReputationInvisibleForced                             // always overwrite FACTION_FLAG_VISIBLE and hide faction in rep.list, used for hide opposite team factions
	ReputationPeaceForced                                 // always overwrite FACTION_FLAG_AT_WAR, used for prevent war with own team factions
	ReputationInactive                                    // player controlled, state stored in characters.data ( CMSG_SET_FACTION_INACTIVE )
	ReputationRival                                       // flag for the two competing outland factions
)

type ReputationRank

type ReputationRank float32

Jump to

Keyboard shortcuts

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