abilities

package
v0.1.98 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 6 Imported by: 1 module, 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 AbilitiesResponse

type AbilitiesResponse struct {
	Abilities []*Ability `protobuf:"bytes,1,rep,name=abilities,proto3" json:"abilities,omitempty"`
	// contains filtered or unexported fields
}

AbilitiesResponse lists a hero's abilities in the hero's order.

func (*AbilitiesResponse) CloneMessageVT

func (m *AbilitiesResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*AbilitiesResponse) CloneVT

func (m *AbilitiesResponse) CloneVT() *AbilitiesResponse

func (*AbilitiesResponse) EqualMessageVT

func (this *AbilitiesResponse) EqualMessageVT(thatMsg any) bool

func (*AbilitiesResponse) EqualVT

func (this *AbilitiesResponse) EqualVT(that *AbilitiesResponse) bool

func (*AbilitiesResponse) GetAbilities

func (x *AbilitiesResponse) GetAbilities() []*Ability

func (*AbilitiesResponse) MarshalJSON

func (x *AbilitiesResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the AbilitiesResponse to JSON.

func (*AbilitiesResponse) MarshalProtoJSON

func (x *AbilitiesResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the AbilitiesResponse message to JSON.

func (*AbilitiesResponse) MarshalProtoText

func (x *AbilitiesResponse) MarshalProtoText() string

func (*AbilitiesResponse) MarshalToSizedBufferVT

func (m *AbilitiesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AbilitiesResponse) MarshalToVT

func (m *AbilitiesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*AbilitiesResponse) MarshalVT

func (m *AbilitiesResponse) MarshalVT() (dAtA []byte, err error)

func (*AbilitiesResponse) ProtoMessage

func (*AbilitiesResponse) ProtoMessage()

func (*AbilitiesResponse) Reset

func (x *AbilitiesResponse) Reset()

func (*AbilitiesResponse) SizeVT

func (m *AbilitiesResponse) SizeVT() (n int)

func (*AbilitiesResponse) String

func (x *AbilitiesResponse) String() string

func (*AbilitiesResponse) UnmarshalJSON

func (x *AbilitiesResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the AbilitiesResponse from JSON.

func (*AbilitiesResponse) UnmarshalProtoJSON

func (x *AbilitiesResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the AbilitiesResponse message from JSON.

func (*AbilitiesResponse) UnmarshalVT

func (m *AbilitiesResponse) UnmarshalVT(dAtA []byte) error

type Ability

type Ability struct {

	// Name is the ability's name, such as citadel_ability_hornet_snipe.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Slot is the ability's place on the hero: 0 to 3 are the ability keys.
	Slot int32 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"`
	// Entity is the ability's entity handle, as DamageEvent.ability reports
	// it.
	Entity uint32 `protobuf:"varint,3,opt,name=entity,proto3" json:"entity,omitempty"`
	// Upgrades holds the bought tiers: bit 0 unlocks it and bits 1 to 3 are
	// its upgrades.
	Upgrades uint32 `protobuf:"varint,4,opt,name=upgrades,proto3" json:"upgrades,omitempty"`
	// Charges is the charges the ability holds.
	Charges int32 `protobuf:"varint,5,opt,name=charges,proto3" json:"charges,omitempty"`
	// CooldownEnd is the game time its cooldown ends, or zero without one.
	CooldownEnd float32 `protobuf:"fixed32,6,opt,name=cooldown_end,json=cooldownEnd,proto3" json:"cooldownEnd,omitempty"`
	// Id identifies the ability's definition, as replays record it.
	Id uint32 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"`
	// State is the packed upgrade word; its high half is upgrades.
	State uint32 `protobuf:"varint,8,opt,name=state,proto3" json:"state,omitempty"`
	// CooldownStart is the game time its cooldown began.
	CooldownStart float32 `protobuf:"fixed32,9,opt,name=cooldown_start,json=cooldownStart,proto3" json:"cooldownStart,omitempty"`
	// RechargeStart is the game time its next charge began recovering.
	RechargeStart float32 `protobuf:"fixed32,10,opt,name=recharge_start,json=rechargeStart,proto3" json:"rechargeStart,omitempty"`
	// RechargeEnd is the game time its next charge returns, or zero without
	// one.
	RechargeEnd float32 `protobuf:"fixed32,11,opt,name=recharge_end,json=rechargeEnd,proto3" json:"rechargeEnd,omitempty"`
	// Imbues names the abilities an imbuing item strengthens.
	Imbues []string `protobuf:"bytes,12,rep,name=imbues,proto3" json:"imbues,omitempty"`
	// contains filtered or unexported fields
}

Ability is one ability a hero owns.

func (*Ability) CloneMessageVT

func (m *Ability) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Ability) CloneVT

func (m *Ability) CloneVT() *Ability

func (*Ability) EqualMessageVT

func (this *Ability) EqualMessageVT(thatMsg any) bool

func (*Ability) EqualVT

func (this *Ability) EqualVT(that *Ability) bool

func (*Ability) GetCharges

func (x *Ability) GetCharges() int32

func (*Ability) GetCooldownEnd

func (x *Ability) GetCooldownEnd() float32

func (*Ability) GetCooldownStart

func (x *Ability) GetCooldownStart() float32

func (*Ability) GetEntity

func (x *Ability) GetEntity() uint32

func (*Ability) GetId

func (x *Ability) GetId() uint32

func (*Ability) GetImbues added in v0.1.67

func (x *Ability) GetImbues() []string

func (*Ability) GetName

func (x *Ability) GetName() string

func (*Ability) GetRechargeEnd

func (x *Ability) GetRechargeEnd() float32

func (*Ability) GetRechargeStart

func (x *Ability) GetRechargeStart() float32

func (*Ability) GetSlot

func (x *Ability) GetSlot() int32

func (*Ability) GetState

func (x *Ability) GetState() uint32

func (*Ability) GetUpgrades

func (x *Ability) GetUpgrades() uint32

func (*Ability) MarshalJSON

func (x *Ability) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Ability to JSON.

func (*Ability) MarshalProtoJSON

func (x *Ability) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the Ability message to JSON.

func (*Ability) MarshalProtoText

func (x *Ability) MarshalProtoText() string

func (*Ability) MarshalToSizedBufferVT

func (m *Ability) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Ability) MarshalToVT

func (m *Ability) MarshalToVT(dAtA []byte) (int, error)

func (*Ability) MarshalVT

func (m *Ability) MarshalVT() (dAtA []byte, err error)

func (*Ability) ProtoMessage

func (*Ability) ProtoMessage()

func (*Ability) Reset

func (x *Ability) Reset()

func (*Ability) SizeVT

func (m *Ability) SizeVT() (n int)

func (*Ability) String

func (x *Ability) String() string

func (*Ability) UnmarshalJSON

func (x *Ability) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the Ability from JSON.

func (*Ability) UnmarshalProtoJSON

func (x *Ability) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the Ability message from JSON.

func (*Ability) UnmarshalVT

func (m *Ability) UnmarshalVT(dAtA []byte) error

type AbilityCastEvent added in v0.1.83

type AbilityCastEvent struct {

	// Caster is the entity that cast it, a hero for a player's cast.
	Caster uint32 `protobuf:"varint,1,opt,name=caster,proto3" json:"caster,omitempty"`
	// Player is the slot of the player whose hero cast it, or -1.
	Player int32 `protobuf:"varint,2,opt,name=player,proto3" json:"player,omitempty"`
	// Ability is the ability's entity handle, as Ability.entity reports it.
	Ability uint32 `protobuf:"varint,3,opt,name=ability,proto3" json:"ability,omitempty"`
	// Name is the ability's name, such as citadel_ability_hornet_snipe, when
	// a player's hero cast it.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Slot is the ability's place on the hero, as Ability.slot reports it, or
	// -1 when the caster is not a player's hero.
	Slot int32 `protobuf:"varint,5,opt,name=slot,proto3" json:"slot,omitempty"`
	// Target is the entity the cast was aimed at, or zero without one.
	Target uint32 `protobuf:"varint,6,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

AbilityCastEvent reports one ability the game executed: the moment the cast takes effect, after any cast time, for a hero's abilities and the items a player activates.

func (*AbilityCastEvent) CloneMessageVT added in v0.1.83

func (m *AbilityCastEvent) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*AbilityCastEvent) CloneVT added in v0.1.83

func (m *AbilityCastEvent) CloneVT() *AbilityCastEvent

func (*AbilityCastEvent) EqualMessageVT added in v0.1.83

func (this *AbilityCastEvent) EqualMessageVT(thatMsg any) bool

func (*AbilityCastEvent) EqualVT added in v0.1.83

func (this *AbilityCastEvent) EqualVT(that *AbilityCastEvent) bool

func (*AbilityCastEvent) GetAbility added in v0.1.83

func (x *AbilityCastEvent) GetAbility() uint32

func (*AbilityCastEvent) GetCaster added in v0.1.83

func (x *AbilityCastEvent) GetCaster() uint32

func (*AbilityCastEvent) GetName added in v0.1.83

func (x *AbilityCastEvent) GetName() string

func (*AbilityCastEvent) GetPlayer added in v0.1.83

func (x *AbilityCastEvent) GetPlayer() int32

func (*AbilityCastEvent) GetSlot added in v0.1.83

func (x *AbilityCastEvent) GetSlot() int32

func (*AbilityCastEvent) GetTarget added in v0.1.83

func (x *AbilityCastEvent) GetTarget() uint32

func (*AbilityCastEvent) MarshalJSON added in v0.1.83

func (x *AbilityCastEvent) MarshalJSON() ([]byte, error)

MarshalJSON marshals the AbilityCastEvent to JSON.

func (*AbilityCastEvent) MarshalProtoJSON added in v0.1.83

func (x *AbilityCastEvent) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the AbilityCastEvent message to JSON.

func (*AbilityCastEvent) MarshalProtoText added in v0.1.83

func (x *AbilityCastEvent) MarshalProtoText() string

func (*AbilityCastEvent) MarshalToSizedBufferVT added in v0.1.83

func (m *AbilityCastEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AbilityCastEvent) MarshalToVT added in v0.1.83

func (m *AbilityCastEvent) MarshalToVT(dAtA []byte) (int, error)

func (*AbilityCastEvent) MarshalVT added in v0.1.83

func (m *AbilityCastEvent) MarshalVT() (dAtA []byte, err error)

func (*AbilityCastEvent) ProtoMessage added in v0.1.83

func (*AbilityCastEvent) ProtoMessage()

func (*AbilityCastEvent) Reset added in v0.1.83

func (x *AbilityCastEvent) Reset()

func (*AbilityCastEvent) SizeVT added in v0.1.83

func (m *AbilityCastEvent) SizeVT() (n int)

func (*AbilityCastEvent) String added in v0.1.83

func (x *AbilityCastEvent) String() string

func (*AbilityCastEvent) UnmarshalJSON added in v0.1.83

func (x *AbilityCastEvent) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the AbilityCastEvent from JSON.

func (*AbilityCastEvent) UnmarshalProtoJSON added in v0.1.83

func (x *AbilityCastEvent) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the AbilityCastEvent message from JSON.

func (*AbilityCastEvent) UnmarshalVT added in v0.1.83

func (m *AbilityCastEvent) UnmarshalVT(dAtA []byte) error

type AbilityOptions

type AbilityOptions struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Ability is the ability's name.
	Ability string `protobuf:"bytes,2,opt,name=ability,proto3" json:"ability,omitempty"`
	// Upgrades replaces the bought tiers, as Ability.upgrades: 0b1111 unlocks
	// it with all three upgrades.
	Upgrades *uint32 `protobuf:"varint,3,opt,name=upgrades,proto3,oneof" json:"upgrades,omitempty"`
	// Charges replaces the charges the ability holds, keeping its timers.
	Charges *int32 `protobuf:"varint,4,opt,name=charges,proto3,oneof" json:"charges,omitempty"`
	// CooldownEnd replaces the game time its cooldown ends.
	CooldownEnd *float32 `protobuf:"fixed32,5,opt,name=cooldown_end,json=cooldownEnd,proto3,oneof" json:"cooldownEnd,omitempty"`
	// RechargeEnd replaces the game time its next charge returns.
	RechargeEnd *float32 `protobuf:"fixed32,6,opt,name=recharge_end,json=rechargeEnd,proto3,oneof" json:"rechargeEnd,omitempty"`
	// MaxCharges replaces the most charges the ability can hold, from 1 to 100;
	// 0 returns it to the game's own. The server applies it, so the hero's
	// screen can still show the game's maximum. Charges above the new maximum
	// are not removed; set them with charges.
	MaxCharges *int32 `protobuf:"varint,7,opt,name=max_charges,json=maxCharges,proto3,oneof" json:"maxCharges,omitempty"`
	// Cooldown makes every cooldown the ability starts from now on last this
	// many seconds, in place of the game's own length. An ability that holds
	// charges waits this long between casts. 0 leaves the ability always
	// ready, and a negative value returns it to the game's own. The game asks
	// for the length as it starts each cooldown and applies the hero's cooldown
	// reduction to it, so it holds for every later cast and the hero's screen
	// shows it; a cooldown already running keeps its end, which cooldown_end
	// moves. It holds for this ability of this hero until the mod stops, so
	// set it again after a hero change or a replaced ability.
	Cooldown *float32 `protobuf:"fixed32,8,opt,name=cooldown,proto3,oneof" json:"cooldown,omitempty"`
	// contains filtered or unexported fields
}

AbilityOptions changes one ability of a player's hero.

func (*AbilityOptions) CloneMessageVT

func (m *AbilityOptions) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*AbilityOptions) CloneVT

func (m *AbilityOptions) CloneVT() *AbilityOptions

func (*AbilityOptions) EqualMessageVT

func (this *AbilityOptions) EqualMessageVT(thatMsg any) bool

func (*AbilityOptions) EqualVT

func (this *AbilityOptions) EqualVT(that *AbilityOptions) bool

func (*AbilityOptions) GetAbility

func (x *AbilityOptions) GetAbility() string

func (*AbilityOptions) GetCharges

func (x *AbilityOptions) GetCharges() int32

func (*AbilityOptions) GetCooldown added in v0.1.83

func (x *AbilityOptions) GetCooldown() float32

func (*AbilityOptions) GetCooldownEnd

func (x *AbilityOptions) GetCooldownEnd() float32

func (*AbilityOptions) GetMaxCharges

func (x *AbilityOptions) GetMaxCharges() int32

func (*AbilityOptions) GetPlayer

func (x *AbilityOptions) GetPlayer() int32

func (*AbilityOptions) GetRechargeEnd

func (x *AbilityOptions) GetRechargeEnd() float32

func (*AbilityOptions) GetUpgrades

func (x *AbilityOptions) GetUpgrades() uint32

func (*AbilityOptions) MarshalJSON

func (x *AbilityOptions) MarshalJSON() ([]byte, error)

MarshalJSON marshals the AbilityOptions to JSON.

func (*AbilityOptions) MarshalProtoJSON

func (x *AbilityOptions) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the AbilityOptions message to JSON.

func (*AbilityOptions) MarshalProtoText

func (x *AbilityOptions) MarshalProtoText() string

func (*AbilityOptions) MarshalToSizedBufferVT

func (m *AbilityOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AbilityOptions) MarshalToVT

func (m *AbilityOptions) MarshalToVT(dAtA []byte) (int, error)

func (*AbilityOptions) MarshalVT

func (m *AbilityOptions) MarshalVT() (dAtA []byte, err error)

func (*AbilityOptions) ProtoMessage

func (*AbilityOptions) ProtoMessage()

func (*AbilityOptions) Reset

func (x *AbilityOptions) Reset()

func (*AbilityOptions) SizeVT

func (m *AbilityOptions) SizeVT() (n int)

func (*AbilityOptions) String

func (x *AbilityOptions) String() string

func (*AbilityOptions) UnmarshalJSON

func (x *AbilityOptions) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the AbilityOptions from JSON.

func (*AbilityOptions) UnmarshalProtoJSON

func (x *AbilityOptions) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the AbilityOptions message from JSON.

func (*AbilityOptions) UnmarshalVT

func (m *AbilityOptions) UnmarshalVT(dAtA []byte) error

type ActiveResponse

type ActiveResponse struct {
	Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

ActiveResponse reports whether a state is active.

func (*ActiveResponse) CloneMessageVT

func (m *ActiveResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ActiveResponse) CloneVT

func (m *ActiveResponse) CloneVT() *ActiveResponse

func (*ActiveResponse) EqualMessageVT

func (this *ActiveResponse) EqualMessageVT(thatMsg any) bool

func (*ActiveResponse) EqualVT

func (this *ActiveResponse) EqualVT(that *ActiveResponse) bool

func (*ActiveResponse) GetActive

func (x *ActiveResponse) GetActive() bool

func (*ActiveResponse) MarshalJSON

func (x *ActiveResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ActiveResponse to JSON.

func (*ActiveResponse) MarshalProtoJSON

func (x *ActiveResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ActiveResponse message to JSON.

func (*ActiveResponse) MarshalProtoText

func (x *ActiveResponse) MarshalProtoText() string

func (*ActiveResponse) MarshalToSizedBufferVT

func (m *ActiveResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ActiveResponse) MarshalToVT

func (m *ActiveResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ActiveResponse) MarshalVT

func (m *ActiveResponse) MarshalVT() (dAtA []byte, err error)

func (*ActiveResponse) ProtoMessage

func (*ActiveResponse) ProtoMessage()

func (*ActiveResponse) Reset

func (x *ActiveResponse) Reset()

func (*ActiveResponse) SizeVT

func (m *ActiveResponse) SizeVT() (n int)

func (*ActiveResponse) String

func (x *ActiveResponse) String() string

func (*ActiveResponse) UnmarshalJSON

func (x *ActiveResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ActiveResponse from JSON.

func (*ActiveResponse) UnmarshalProtoJSON

func (x *ActiveResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ActiveResponse message from JSON.

func (*ActiveResponse) UnmarshalVT

func (m *ActiveResponse) UnmarshalVT(dAtA []byte) error

type BuildCategory added in v0.1.47

type BuildCategory struct {

	// Name is the category's title.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description is the author's note on the category.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Items lists the category's items in buying order. An item this game
	// version does not define is left out.
	Items []*BuildItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

BuildCategory is one named group of a build's items.

func (*BuildCategory) CloneMessageVT added in v0.1.47

func (m *BuildCategory) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*BuildCategory) CloneVT added in v0.1.47

func (m *BuildCategory) CloneVT() *BuildCategory

func (*BuildCategory) EqualMessageVT added in v0.1.47

func (this *BuildCategory) EqualMessageVT(thatMsg any) bool

func (*BuildCategory) EqualVT added in v0.1.47

func (this *BuildCategory) EqualVT(that *BuildCategory) bool

func (*BuildCategory) GetDescription added in v0.1.47

func (x *BuildCategory) GetDescription() string

func (*BuildCategory) GetItems added in v0.1.47

func (x *BuildCategory) GetItems() []*BuildItem

func (*BuildCategory) GetName added in v0.1.47

func (x *BuildCategory) GetName() string

func (*BuildCategory) MarshalJSON added in v0.1.47

func (x *BuildCategory) MarshalJSON() ([]byte, error)

MarshalJSON marshals the BuildCategory to JSON.

func (*BuildCategory) MarshalProtoJSON added in v0.1.47

func (x *BuildCategory) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the BuildCategory message to JSON.

func (*BuildCategory) MarshalProtoText added in v0.1.47

func (x *BuildCategory) MarshalProtoText() string

func (*BuildCategory) MarshalToSizedBufferVT added in v0.1.47

func (m *BuildCategory) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BuildCategory) MarshalToVT added in v0.1.47

func (m *BuildCategory) MarshalToVT(dAtA []byte) (int, error)

func (*BuildCategory) MarshalVT added in v0.1.47

func (m *BuildCategory) MarshalVT() (dAtA []byte, err error)

func (*BuildCategory) ProtoMessage added in v0.1.47

func (*BuildCategory) ProtoMessage()

func (*BuildCategory) Reset added in v0.1.47

func (x *BuildCategory) Reset()

func (*BuildCategory) SizeVT added in v0.1.47

func (m *BuildCategory) SizeVT() (n int)

func (*BuildCategory) String added in v0.1.47

func (x *BuildCategory) String() string

func (*BuildCategory) UnmarshalJSON added in v0.1.47

func (x *BuildCategory) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the BuildCategory from JSON.

func (*BuildCategory) UnmarshalProtoJSON added in v0.1.47

func (x *BuildCategory) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the BuildCategory message from JSON.

func (*BuildCategory) UnmarshalVT added in v0.1.47

func (m *BuildCategory) UnmarshalVT(dAtA []byte) error

type BuildItem added in v0.1.47

type BuildItem struct {

	// Item is the item's name, as GiveItem takes it.
	Item string `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// Annotation is the author's note on the item.
	Annotation string `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"`
	// contains filtered or unexported fields
}

BuildItem is one item of a build.

func (*BuildItem) CloneMessageVT added in v0.1.47

func (m *BuildItem) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*BuildItem) CloneVT added in v0.1.47

func (m *BuildItem) CloneVT() *BuildItem

func (*BuildItem) EqualMessageVT added in v0.1.47

func (this *BuildItem) EqualMessageVT(thatMsg any) bool

func (*BuildItem) EqualVT added in v0.1.47

func (this *BuildItem) EqualVT(that *BuildItem) bool

func (*BuildItem) GetAnnotation added in v0.1.47

func (x *BuildItem) GetAnnotation() string

func (*BuildItem) GetItem added in v0.1.47

func (x *BuildItem) GetItem() string

func (*BuildItem) MarshalJSON added in v0.1.47

func (x *BuildItem) MarshalJSON() ([]byte, error)

MarshalJSON marshals the BuildItem to JSON.

func (*BuildItem) MarshalProtoJSON added in v0.1.47

func (x *BuildItem) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the BuildItem message to JSON.

func (*BuildItem) MarshalProtoText added in v0.1.47

func (x *BuildItem) MarshalProtoText() string

func (*BuildItem) MarshalToSizedBufferVT added in v0.1.47

func (m *BuildItem) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BuildItem) MarshalToVT added in v0.1.47

func (m *BuildItem) MarshalToVT(dAtA []byte) (int, error)

func (*BuildItem) MarshalVT added in v0.1.47

func (m *BuildItem) MarshalVT() (dAtA []byte, err error)

func (*BuildItem) ProtoMessage added in v0.1.47

func (*BuildItem) ProtoMessage()

func (*BuildItem) Reset added in v0.1.47

func (x *BuildItem) Reset()

func (*BuildItem) SizeVT added in v0.1.47

func (m *BuildItem) SizeVT() (n int)

func (*BuildItem) String added in v0.1.47

func (x *BuildItem) String() string

func (*BuildItem) UnmarshalJSON added in v0.1.47

func (x *BuildItem) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the BuildItem from JSON.

func (*BuildItem) UnmarshalProtoJSON added in v0.1.47

func (x *BuildItem) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the BuildItem message from JSON.

func (*BuildItem) UnmarshalVT added in v0.1.47

func (m *BuildItem) UnmarshalVT(dAtA []byte) error

type BuyItemRequest added in v0.1.76

type BuyItemRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Item is the item's name, such as upgrade_fleetfoot_boots.
	Item string `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	// Imbue is the ability slot, 0 to 3, whose ability an imbuing item
	// strengthens, as the shop asks when one is bought.
	Imbue *uint32 `protobuf:"varint,3,opt,name=imbue,proto3,oneof" json:"imbue,omitempty"`
	// Source is where in the shop the purchase was made, from 0 to 21, as the
	// game's buyitem and buydependentitem commands carry it; 0 when omitted.
	Source *uint32 `protobuf:"varint,4,opt,name=source,proto3,oneof" json:"source,omitempty"`
	// contains filtered or unexported fields
}

BuyItemRequest buys an item from the shop for one player's hero.

func (*BuyItemRequest) CloneMessageVT added in v0.1.76

func (m *BuyItemRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*BuyItemRequest) CloneVT added in v0.1.76

func (m *BuyItemRequest) CloneVT() *BuyItemRequest

func (*BuyItemRequest) EqualMessageVT added in v0.1.76

func (this *BuyItemRequest) EqualMessageVT(thatMsg any) bool

func (*BuyItemRequest) EqualVT added in v0.1.76

func (this *BuyItemRequest) EqualVT(that *BuyItemRequest) bool

func (*BuyItemRequest) GetImbue added in v0.1.76

func (x *BuyItemRequest) GetImbue() uint32

func (*BuyItemRequest) GetItem added in v0.1.76

func (x *BuyItemRequest) GetItem() string

func (*BuyItemRequest) GetPlayer added in v0.1.76

func (x *BuyItemRequest) GetPlayer() int32

func (*BuyItemRequest) GetSource added in v0.1.76

func (x *BuyItemRequest) GetSource() uint32

func (*BuyItemRequest) MarshalJSON added in v0.1.76

func (x *BuyItemRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the BuyItemRequest to JSON.

func (*BuyItemRequest) MarshalProtoJSON added in v0.1.76

func (x *BuyItemRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the BuyItemRequest message to JSON.

func (*BuyItemRequest) MarshalProtoText added in v0.1.76

func (x *BuyItemRequest) MarshalProtoText() string

func (*BuyItemRequest) MarshalToSizedBufferVT added in v0.1.76

func (m *BuyItemRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*BuyItemRequest) MarshalToVT added in v0.1.76

func (m *BuyItemRequest) MarshalToVT(dAtA []byte) (int, error)

func (*BuyItemRequest) MarshalVT added in v0.1.76

func (m *BuyItemRequest) MarshalVT() (dAtA []byte, err error)

func (*BuyItemRequest) ProtoMessage added in v0.1.76

func (*BuyItemRequest) ProtoMessage()

func (*BuyItemRequest) Reset added in v0.1.76

func (x *BuyItemRequest) Reset()

func (*BuyItemRequest) SizeVT added in v0.1.76

func (m *BuyItemRequest) SizeVT() (n int)

func (*BuyItemRequest) String added in v0.1.76

func (x *BuyItemRequest) String() string

func (*BuyItemRequest) UnmarshalJSON added in v0.1.76

func (x *BuyItemRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the BuyItemRequest from JSON.

func (*BuyItemRequest) UnmarshalProtoJSON added in v0.1.76

func (x *BuyItemRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the BuyItemRequest message from JSON.

func (*BuyItemRequest) UnmarshalVT added in v0.1.76

func (m *BuyItemRequest) UnmarshalVT(dAtA []byte) error

type GiveEntityModifierRequest added in v0.1.78

type GiveEntityModifierRequest struct {

	// Entity is the entity handle, such as Npc.entity or Pawn.entity.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Modifier names an ability's modifier as "<ability>/<modifier>", or a
	// standalone modifier by its name, such as modifier_citadel_idol_glow.
	Modifier string `protobuf:"bytes,2,opt,name=modifier,proto3" json:"modifier,omitempty"`
	// Seconds is how long the modifier lasts.
	Seconds float32 `protobuf:"fixed32,3,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// contains filtered or unexported fields
}

GiveEntityModifierRequest gives a live entity a modifier.

func (*GiveEntityModifierRequest) CloneMessageVT added in v0.1.78

func (*GiveEntityModifierRequest) CloneVT added in v0.1.78

func (*GiveEntityModifierRequest) EqualMessageVT added in v0.1.78

func (this *GiveEntityModifierRequest) EqualMessageVT(thatMsg any) bool

func (*GiveEntityModifierRequest) EqualVT added in v0.1.78

func (*GiveEntityModifierRequest) GetEntity added in v0.1.78

func (x *GiveEntityModifierRequest) GetEntity() uint32

func (*GiveEntityModifierRequest) GetModifier added in v0.1.78

func (x *GiveEntityModifierRequest) GetModifier() string

func (*GiveEntityModifierRequest) GetSeconds added in v0.1.78

func (x *GiveEntityModifierRequest) GetSeconds() float32

func (*GiveEntityModifierRequest) MarshalJSON added in v0.1.78

func (x *GiveEntityModifierRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GiveEntityModifierRequest to JSON.

func (*GiveEntityModifierRequest) MarshalProtoJSON added in v0.1.78

func (x *GiveEntityModifierRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GiveEntityModifierRequest message to JSON.

func (*GiveEntityModifierRequest) MarshalProtoText added in v0.1.78

func (x *GiveEntityModifierRequest) MarshalProtoText() string

func (*GiveEntityModifierRequest) MarshalToSizedBufferVT added in v0.1.78

func (m *GiveEntityModifierRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GiveEntityModifierRequest) MarshalToVT added in v0.1.78

func (m *GiveEntityModifierRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GiveEntityModifierRequest) MarshalVT added in v0.1.78

func (m *GiveEntityModifierRequest) MarshalVT() (dAtA []byte, err error)

func (*GiveEntityModifierRequest) ProtoMessage added in v0.1.78

func (*GiveEntityModifierRequest) ProtoMessage()

func (*GiveEntityModifierRequest) Reset added in v0.1.78

func (x *GiveEntityModifierRequest) Reset()

func (*GiveEntityModifierRequest) SizeVT added in v0.1.78

func (m *GiveEntityModifierRequest) SizeVT() (n int)

func (*GiveEntityModifierRequest) String added in v0.1.78

func (x *GiveEntityModifierRequest) String() string

func (*GiveEntityModifierRequest) UnmarshalJSON added in v0.1.78

func (x *GiveEntityModifierRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GiveEntityModifierRequest from JSON.

func (*GiveEntityModifierRequest) UnmarshalProtoJSON added in v0.1.78

func (x *GiveEntityModifierRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GiveEntityModifierRequest message from JSON.

func (*GiveEntityModifierRequest) UnmarshalVT added in v0.1.78

func (m *GiveEntityModifierRequest) UnmarshalVT(dAtA []byte) error

type GiveItemRequest

type GiveItemRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Item is the item's name, such as upgrade_fleetfoot_boots.
	Item string `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	// Imbue is the ability slot, 0 to 3, whose ability an imbuing item
	// strengthens, as the shop asks when one is bought. An imbuing item needs
	// one, and the ability must accept it; other items take none.
	Imbue *uint32 `protobuf:"varint,3,opt,name=imbue,proto3,oneof" json:"imbue,omitempty"`
	// contains filtered or unexported fields
}

GiveItemRequest gives one player's hero an item.

func (*GiveItemRequest) CloneMessageVT

func (m *GiveItemRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*GiveItemRequest) CloneVT

func (m *GiveItemRequest) CloneVT() *GiveItemRequest

func (*GiveItemRequest) EqualMessageVT

func (this *GiveItemRequest) EqualMessageVT(thatMsg any) bool

func (*GiveItemRequest) EqualVT

func (this *GiveItemRequest) EqualVT(that *GiveItemRequest) bool

func (*GiveItemRequest) GetImbue added in v0.1.67

func (x *GiveItemRequest) GetImbue() uint32

func (*GiveItemRequest) GetItem

func (x *GiveItemRequest) GetItem() string

func (*GiveItemRequest) GetPlayer

func (x *GiveItemRequest) GetPlayer() int32

func (*GiveItemRequest) MarshalJSON

func (x *GiveItemRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GiveItemRequest to JSON.

func (*GiveItemRequest) MarshalProtoJSON

func (x *GiveItemRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GiveItemRequest message to JSON.

func (*GiveItemRequest) MarshalProtoText

func (x *GiveItemRequest) MarshalProtoText() string

func (*GiveItemRequest) MarshalToSizedBufferVT

func (m *GiveItemRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GiveItemRequest) MarshalToVT

func (m *GiveItemRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GiveItemRequest) MarshalVT

func (m *GiveItemRequest) MarshalVT() (dAtA []byte, err error)

func (*GiveItemRequest) ProtoMessage

func (*GiveItemRequest) ProtoMessage()

func (*GiveItemRequest) Reset

func (x *GiveItemRequest) Reset()

func (*GiveItemRequest) SizeVT

func (m *GiveItemRequest) SizeVT() (n int)

func (*GiveItemRequest) String

func (x *GiveItemRequest) String() string

func (*GiveItemRequest) UnmarshalJSON

func (x *GiveItemRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GiveItemRequest from JSON.

func (*GiveItemRequest) UnmarshalProtoJSON

func (x *GiveItemRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GiveItemRequest message from JSON.

func (*GiveItemRequest) UnmarshalVT

func (m *GiveItemRequest) UnmarshalVT(dAtA []byte) error

type GiveModifierRequest

type GiveModifierRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Modifier names an ability's modifier as "<ability>/<modifier>", such as
	// ability_smoke_bomb/smokebomb_modifier_invis, or a modifier of its own by
	// its name, such as modifier_street_brawl_round_start_zipline_boost.
	Modifier string `protobuf:"bytes,2,opt,name=modifier,proto3" json:"modifier,omitempty"`
	// Seconds is how long the modifier lasts.
	Seconds float32 `protobuf:"fixed32,3,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// contains filtered or unexported fields
}

GiveModifierRequest gives one player's living hero a modifier.

func (*GiveModifierRequest) CloneMessageVT

func (*GiveModifierRequest) CloneVT

func (*GiveModifierRequest) EqualMessageVT

func (this *GiveModifierRequest) EqualMessageVT(thatMsg any) bool

func (*GiveModifierRequest) EqualVT

func (this *GiveModifierRequest) EqualVT(that *GiveModifierRequest) bool

func (*GiveModifierRequest) GetModifier

func (x *GiveModifierRequest) GetModifier() string

func (*GiveModifierRequest) GetPlayer

func (x *GiveModifierRequest) GetPlayer() int32

func (*GiveModifierRequest) GetSeconds

func (x *GiveModifierRequest) GetSeconds() float32

func (*GiveModifierRequest) MarshalJSON

func (x *GiveModifierRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GiveModifierRequest to JSON.

func (*GiveModifierRequest) MarshalProtoJSON

func (x *GiveModifierRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GiveModifierRequest message to JSON.

func (*GiveModifierRequest) MarshalProtoText

func (x *GiveModifierRequest) MarshalProtoText() string

func (*GiveModifierRequest) MarshalToSizedBufferVT

func (m *GiveModifierRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GiveModifierRequest) MarshalToVT

func (m *GiveModifierRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GiveModifierRequest) MarshalVT

func (m *GiveModifierRequest) MarshalVT() (dAtA []byte, err error)

func (*GiveModifierRequest) ProtoMessage

func (*GiveModifierRequest) ProtoMessage()

func (*GiveModifierRequest) Reset

func (x *GiveModifierRequest) Reset()

func (*GiveModifierRequest) SizeVT

func (m *GiveModifierRequest) SizeVT() (n int)

func (*GiveModifierRequest) String

func (x *GiveModifierRequest) String() string

func (*GiveModifierRequest) UnmarshalJSON

func (x *GiveModifierRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GiveModifierRequest from JSON.

func (*GiveModifierRequest) UnmarshalProtoJSON

func (x *GiveModifierRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GiveModifierRequest message from JSON.

func (*GiveModifierRequest) UnmarshalVT

func (m *GiveModifierRequest) UnmarshalVT(dAtA []byte) error

type HeroBuildRequest added in v0.1.47

type HeroBuildRequest struct {

	// Hero is the hero's class name, such as hero_inferno.
	Hero string `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero,omitempty"`
	// contains filtered or unexported fields
}

HeroBuildRequest names the hero whose build to read.

func (*HeroBuildRequest) CloneMessageVT added in v0.1.47

func (m *HeroBuildRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*HeroBuildRequest) CloneVT added in v0.1.47

func (m *HeroBuildRequest) CloneVT() *HeroBuildRequest

func (*HeroBuildRequest) EqualMessageVT added in v0.1.47

func (this *HeroBuildRequest) EqualMessageVT(thatMsg any) bool

func (*HeroBuildRequest) EqualVT added in v0.1.47

func (this *HeroBuildRequest) EqualVT(that *HeroBuildRequest) bool

func (*HeroBuildRequest) GetHero added in v0.1.47

func (x *HeroBuildRequest) GetHero() string

func (*HeroBuildRequest) MarshalJSON added in v0.1.47

func (x *HeroBuildRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the HeroBuildRequest to JSON.

func (*HeroBuildRequest) MarshalProtoJSON added in v0.1.47

func (x *HeroBuildRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the HeroBuildRequest message to JSON.

func (*HeroBuildRequest) MarshalProtoText added in v0.1.47

func (x *HeroBuildRequest) MarshalProtoText() string

func (*HeroBuildRequest) MarshalToSizedBufferVT added in v0.1.47

func (m *HeroBuildRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*HeroBuildRequest) MarshalToVT added in v0.1.47

func (m *HeroBuildRequest) MarshalToVT(dAtA []byte) (int, error)

func (*HeroBuildRequest) MarshalVT added in v0.1.47

func (m *HeroBuildRequest) MarshalVT() (dAtA []byte, err error)

func (*HeroBuildRequest) ProtoMessage added in v0.1.47

func (*HeroBuildRequest) ProtoMessage()

func (*HeroBuildRequest) Reset added in v0.1.47

func (x *HeroBuildRequest) Reset()

func (*HeroBuildRequest) SizeVT added in v0.1.47

func (m *HeroBuildRequest) SizeVT() (n int)

func (*HeroBuildRequest) String added in v0.1.47

func (x *HeroBuildRequest) String() string

func (*HeroBuildRequest) UnmarshalJSON added in v0.1.47

func (x *HeroBuildRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the HeroBuildRequest from JSON.

func (*HeroBuildRequest) UnmarshalProtoJSON added in v0.1.47

func (x *HeroBuildRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the HeroBuildRequest message from JSON.

func (*HeroBuildRequest) UnmarshalVT added in v0.1.47

func (m *HeroBuildRequest) UnmarshalVT(dAtA []byte) error

type HeroBuildResponse added in v0.1.47

type HeroBuildResponse struct {

	// Categories lists the build's phases in order, such as early, mid and late
	// game.
	Categories []*BuildCategory `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"`
	// contains filtered or unexported fields
}

HeroBuildResponse is a hero's recommended build. A hero without a build answers with no categories.

func (*HeroBuildResponse) CloneMessageVT added in v0.1.47

func (m *HeroBuildResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*HeroBuildResponse) CloneVT added in v0.1.47

func (m *HeroBuildResponse) CloneVT() *HeroBuildResponse

func (*HeroBuildResponse) EqualMessageVT added in v0.1.47

func (this *HeroBuildResponse) EqualMessageVT(thatMsg any) bool

func (*HeroBuildResponse) EqualVT added in v0.1.47

func (this *HeroBuildResponse) EqualVT(that *HeroBuildResponse) bool

func (*HeroBuildResponse) GetCategories added in v0.1.47

func (x *HeroBuildResponse) GetCategories() []*BuildCategory

func (*HeroBuildResponse) MarshalJSON added in v0.1.47

func (x *HeroBuildResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the HeroBuildResponse to JSON.

func (*HeroBuildResponse) MarshalProtoJSON added in v0.1.47

func (x *HeroBuildResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the HeroBuildResponse message to JSON.

func (*HeroBuildResponse) MarshalProtoText added in v0.1.47

func (x *HeroBuildResponse) MarshalProtoText() string

func (*HeroBuildResponse) MarshalToSizedBufferVT added in v0.1.47

func (m *HeroBuildResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*HeroBuildResponse) MarshalToVT added in v0.1.47

func (m *HeroBuildResponse) MarshalToVT(dAtA []byte) (int, error)

func (*HeroBuildResponse) MarshalVT added in v0.1.47

func (m *HeroBuildResponse) MarshalVT() (dAtA []byte, err error)

func (*HeroBuildResponse) ProtoMessage added in v0.1.47

func (*HeroBuildResponse) ProtoMessage()

func (*HeroBuildResponse) Reset added in v0.1.47

func (x *HeroBuildResponse) Reset()

func (*HeroBuildResponse) SizeVT added in v0.1.47

func (m *HeroBuildResponse) SizeVT() (n int)

func (*HeroBuildResponse) String added in v0.1.47

func (x *HeroBuildResponse) String() string

func (*HeroBuildResponse) UnmarshalJSON added in v0.1.47

func (x *HeroBuildResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the HeroBuildResponse from JSON.

func (*HeroBuildResponse) UnmarshalProtoJSON added in v0.1.47

func (x *HeroBuildResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the HeroBuildResponse message from JSON.

func (*HeroBuildResponse) UnmarshalVT added in v0.1.47

func (m *HeroBuildResponse) UnmarshalVT(dAtA []byte) error

type HoldEntityModifierRequest added in v0.1.78

type HoldEntityModifierRequest struct {

	// Entity is the entity handle, such as Npc.entity or Pawn.entity.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Modifier names the modifier as GiveModifierRequest.modifier does, such
	// as upgrade_colossus/modifier_colossus_active.
	Modifier string `protobuf:"bytes,2,opt,name=modifier,proto3" json:"modifier,omitempty"`
	// Active holds the modifier when true or omitted; false releases the hold.
	Active *bool `protobuf:"varint,3,opt,name=active,proto3,oneof" json:"active,omitempty"`
	// contains filtered or unexported fields
}

HoldEntityModifierRequest holds or releases a modifier on an entity.

func (*HoldEntityModifierRequest) CloneMessageVT added in v0.1.78

func (*HoldEntityModifierRequest) CloneVT added in v0.1.78

func (*HoldEntityModifierRequest) EqualMessageVT added in v0.1.78

func (this *HoldEntityModifierRequest) EqualMessageVT(thatMsg any) bool

func (*HoldEntityModifierRequest) EqualVT added in v0.1.78

func (*HoldEntityModifierRequest) GetActive added in v0.1.78

func (x *HoldEntityModifierRequest) GetActive() bool

func (*HoldEntityModifierRequest) GetEntity added in v0.1.78

func (x *HoldEntityModifierRequest) GetEntity() uint32

func (*HoldEntityModifierRequest) GetModifier added in v0.1.78

func (x *HoldEntityModifierRequest) GetModifier() string

func (*HoldEntityModifierRequest) MarshalJSON added in v0.1.78

func (x *HoldEntityModifierRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the HoldEntityModifierRequest to JSON.

func (*HoldEntityModifierRequest) MarshalProtoJSON added in v0.1.78

func (x *HoldEntityModifierRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the HoldEntityModifierRequest message to JSON.

func (*HoldEntityModifierRequest) MarshalProtoText added in v0.1.78

func (x *HoldEntityModifierRequest) MarshalProtoText() string

func (*HoldEntityModifierRequest) MarshalToSizedBufferVT added in v0.1.78

func (m *HoldEntityModifierRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*HoldEntityModifierRequest) MarshalToVT added in v0.1.78

func (m *HoldEntityModifierRequest) MarshalToVT(dAtA []byte) (int, error)

func (*HoldEntityModifierRequest) MarshalVT added in v0.1.78

func (m *HoldEntityModifierRequest) MarshalVT() (dAtA []byte, err error)

func (*HoldEntityModifierRequest) ProtoMessage added in v0.1.78

func (*HoldEntityModifierRequest) ProtoMessage()

func (*HoldEntityModifierRequest) Reset added in v0.1.78

func (x *HoldEntityModifierRequest) Reset()

func (*HoldEntityModifierRequest) SizeVT added in v0.1.78

func (m *HoldEntityModifierRequest) SizeVT() (n int)

func (*HoldEntityModifierRequest) String added in v0.1.78

func (x *HoldEntityModifierRequest) String() string

func (*HoldEntityModifierRequest) UnmarshalJSON added in v0.1.78

func (x *HoldEntityModifierRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the HoldEntityModifierRequest from JSON.

func (*HoldEntityModifierRequest) UnmarshalProtoJSON added in v0.1.78

func (x *HoldEntityModifierRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the HoldEntityModifierRequest message from JSON.

func (*HoldEntityModifierRequest) UnmarshalVT added in v0.1.78

func (m *HoldEntityModifierRequest) UnmarshalVT(dAtA []byte) error

type HoldModifierRequest

type HoldModifierRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Modifier names the modifier as GiveModifierRequest.modifier does, such
	// as upgrade_fleetfoot_boots/modifier_fleetfoot_boots.
	Modifier string `protobuf:"bytes,2,opt,name=modifier,proto3" json:"modifier,omitempty"`
	// Active holds the modifier when true or omitted; false releases the hold.
	Active *bool `protobuf:"varint,3,opt,name=active,proto3,oneof" json:"active,omitempty"`
	// contains filtered or unexported fields
}

HoldModifierRequest holds or releases a modifier on one player's hero.

func (*HoldModifierRequest) CloneMessageVT

func (*HoldModifierRequest) CloneVT

func (*HoldModifierRequest) EqualMessageVT

func (this *HoldModifierRequest) EqualMessageVT(thatMsg any) bool

func (*HoldModifierRequest) EqualVT

func (this *HoldModifierRequest) EqualVT(that *HoldModifierRequest) bool

func (*HoldModifierRequest) GetActive

func (x *HoldModifierRequest) GetActive() bool

func (*HoldModifierRequest) GetModifier

func (x *HoldModifierRequest) GetModifier() string

func (*HoldModifierRequest) GetPlayer

func (x *HoldModifierRequest) GetPlayer() int32

func (*HoldModifierRequest) MarshalJSON

func (x *HoldModifierRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the HoldModifierRequest to JSON.

func (*HoldModifierRequest) MarshalProtoJSON

func (x *HoldModifierRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the HoldModifierRequest message to JSON.

func (*HoldModifierRequest) MarshalProtoText

func (x *HoldModifierRequest) MarshalProtoText() string

func (*HoldModifierRequest) MarshalToSizedBufferVT

func (m *HoldModifierRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*HoldModifierRequest) MarshalToVT

func (m *HoldModifierRequest) MarshalToVT(dAtA []byte) (int, error)

func (*HoldModifierRequest) MarshalVT

func (m *HoldModifierRequest) MarshalVT() (dAtA []byte, err error)

func (*HoldModifierRequest) ProtoMessage

func (*HoldModifierRequest) ProtoMessage()

func (*HoldModifierRequest) Reset

func (x *HoldModifierRequest) Reset()

func (*HoldModifierRequest) SizeVT

func (m *HoldModifierRequest) SizeVT() (n int)

func (*HoldModifierRequest) String

func (x *HoldModifierRequest) String() string

func (*HoldModifierRequest) UnmarshalJSON

func (x *HoldModifierRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the HoldModifierRequest from JSON.

func (*HoldModifierRequest) UnmarshalProtoJSON

func (x *HoldModifierRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the HoldModifierRequest message from JSON.

func (*HoldModifierRequest) UnmarshalVT

func (m *HoldModifierRequest) UnmarshalVT(dAtA []byte) error

type HoldModifierStateRequest

type HoldModifierStateRequest struct {

	// Entity is the entity handle, such as Pawn.entity.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// State is the state's name, such as MODIFIER_STATE_ITEMS_DISABLED.
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// Active holds the state when true or omitted; false releases the hold.
	Active *bool `protobuf:"varint,3,opt,name=active,proto3,oneof" json:"active,omitempty"`
	// contains filtered or unexported fields
}

HoldModifierStateRequest holds one modifier state on an entity, or releases it.

func (*HoldModifierStateRequest) CloneMessageVT

func (*HoldModifierStateRequest) CloneVT

func (*HoldModifierStateRequest) EqualMessageVT

func (this *HoldModifierStateRequest) EqualMessageVT(thatMsg any) bool

func (*HoldModifierStateRequest) EqualVT

func (*HoldModifierStateRequest) GetActive

func (x *HoldModifierStateRequest) GetActive() bool

func (*HoldModifierStateRequest) GetEntity

func (x *HoldModifierStateRequest) GetEntity() uint32

func (*HoldModifierStateRequest) GetState

func (x *HoldModifierStateRequest) GetState() string

func (*HoldModifierStateRequest) MarshalJSON

func (x *HoldModifierStateRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the HoldModifierStateRequest to JSON.

func (*HoldModifierStateRequest) MarshalProtoJSON

func (x *HoldModifierStateRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the HoldModifierStateRequest message to JSON.

func (*HoldModifierStateRequest) MarshalProtoText

func (x *HoldModifierStateRequest) MarshalProtoText() string

func (*HoldModifierStateRequest) MarshalToSizedBufferVT

func (m *HoldModifierStateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*HoldModifierStateRequest) MarshalToVT

func (m *HoldModifierStateRequest) MarshalToVT(dAtA []byte) (int, error)

func (*HoldModifierStateRequest) MarshalVT

func (m *HoldModifierStateRequest) MarshalVT() (dAtA []byte, err error)

func (*HoldModifierStateRequest) ProtoMessage

func (*HoldModifierStateRequest) ProtoMessage()

func (*HoldModifierStateRequest) Reset

func (x *HoldModifierStateRequest) Reset()

func (*HoldModifierStateRequest) SizeVT

func (m *HoldModifierStateRequest) SizeVT() (n int)

func (*HoldModifierStateRequest) String

func (x *HoldModifierStateRequest) String() string

func (*HoldModifierStateRequest) UnmarshalJSON

func (x *HoldModifierStateRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the HoldModifierStateRequest from JSON.

func (*HoldModifierStateRequest) UnmarshalProtoJSON

func (x *HoldModifierStateRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the HoldModifierStateRequest message from JSON.

func (*HoldModifierStateRequest) UnmarshalVT

func (m *HoldModifierStateRequest) UnmarshalVT(dAtA []byte) error

type HoldReloadRequest

type HoldReloadRequest struct {

	// Held is true to keep the running build through a reload, and false to
	// let a waiting reload apply.
	Held bool `protobuf:"varint,1,opt,name=held,proto3" json:"held,omitempty"`
	// contains filtered or unexported fields
}

HoldReloadRequest holds or releases the mod's running build.

func (*HoldReloadRequest) CloneMessageVT

func (m *HoldReloadRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*HoldReloadRequest) CloneVT

func (m *HoldReloadRequest) CloneVT() *HoldReloadRequest

func (*HoldReloadRequest) EqualMessageVT

func (this *HoldReloadRequest) EqualMessageVT(thatMsg any) bool

func (*HoldReloadRequest) EqualVT

func (this *HoldReloadRequest) EqualVT(that *HoldReloadRequest) bool

func (*HoldReloadRequest) GetHeld

func (x *HoldReloadRequest) GetHeld() bool

func (*HoldReloadRequest) MarshalJSON

func (x *HoldReloadRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the HoldReloadRequest to JSON.

func (*HoldReloadRequest) MarshalProtoJSON

func (x *HoldReloadRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the HoldReloadRequest message to JSON.

func (*HoldReloadRequest) MarshalProtoText

func (x *HoldReloadRequest) MarshalProtoText() string

func (*HoldReloadRequest) MarshalToSizedBufferVT

func (m *HoldReloadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*HoldReloadRequest) MarshalToVT

func (m *HoldReloadRequest) MarshalToVT(dAtA []byte) (int, error)

func (*HoldReloadRequest) MarshalVT

func (m *HoldReloadRequest) MarshalVT() (dAtA []byte, err error)

func (*HoldReloadRequest) ProtoMessage

func (*HoldReloadRequest) ProtoMessage()

func (*HoldReloadRequest) Reset

func (x *HoldReloadRequest) Reset()

func (*HoldReloadRequest) SizeVT

func (m *HoldReloadRequest) SizeVT() (n int)

func (*HoldReloadRequest) String

func (x *HoldReloadRequest) String() string

func (*HoldReloadRequest) UnmarshalJSON

func (x *HoldReloadRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the HoldReloadRequest from JSON.

func (*HoldReloadRequest) UnmarshalProtoJSON

func (x *HoldReloadRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the HoldReloadRequest message from JSON.

func (*HoldReloadRequest) UnmarshalVT

func (m *HoldReloadRequest) UnmarshalVT(dAtA []byte) error

type Modifier added in v0.1.80

type Modifier struct {

	// Name is the modifier's name, such as modifier_citadel_knockdown, as
	// GiveModifier and ReadModifierField name it. It is empty when the game
	// keeps no readable name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ClassName is the modifier's server class, such as
	// CCitadel_Modifier_Knockdown, which ReadModifierField takes. Several
	// names can share a class.
	ClassName string `protobuf:"bytes,2,opt,name=class_name,json=className,proto3" json:"className,omitempty"`
	// Caster is the handle of the entity that applied it, such as the hero
	// whose ability did, or 0 when none did.
	Caster uint32 `protobuf:"varint,3,opt,name=caster,proto3" json:"caster,omitempty"`
	// Ability is the handle of the ability that applied it, or 0 when none did.
	Ability uint32 `protobuf:"varint,4,opt,name=ability,proto3" json:"ability,omitempty"`
	// Age is how many seconds ago the game created it.
	Age float32 `protobuf:"fixed32,5,opt,name=age,proto3" json:"age,omitempty"`
	// Remaining is how many seconds it has left since it was last applied. It
	// is absent for a modifier that lasts until something removes it.
	Remaining *float32 `protobuf:"fixed32,6,opt,name=remaining,proto3,oneof" json:"remaining,omitempty"`
	// Stacks and MaxStacks count its stacks, for a modifier that stacks.
	Stacks    int32 `protobuf:"varint,7,opt,name=stacks,proto3" json:"stacks,omitempty"`
	MaxStacks int32 `protobuf:"varint,8,opt,name=max_stacks,json=maxStacks,proto3" json:"maxStacks,omitempty"`
	// Team is the team number it belongs to.
	Team uint32 `protobuf:"varint,9,opt,name=team,proto3" json:"team,omitempty"`
	// Disabled is true while the game keeps it without its effects.
	Disabled bool `protobuf:"varint,10,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

Modifier is one modifier an entity holds, as the game keeps it.

func (*Modifier) CloneMessageVT added in v0.1.80

func (m *Modifier) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Modifier) CloneVT added in v0.1.80

func (m *Modifier) CloneVT() *Modifier

func (*Modifier) EqualMessageVT added in v0.1.80

func (this *Modifier) EqualMessageVT(thatMsg any) bool

func (*Modifier) EqualVT added in v0.1.80

func (this *Modifier) EqualVT(that *Modifier) bool

func (*Modifier) GetAbility added in v0.1.80

func (x *Modifier) GetAbility() uint32

func (*Modifier) GetAge added in v0.1.80

func (x *Modifier) GetAge() float32

func (*Modifier) GetCaster added in v0.1.80

func (x *Modifier) GetCaster() uint32

func (*Modifier) GetClassName added in v0.1.80

func (x *Modifier) GetClassName() string

func (*Modifier) GetDisabled added in v0.1.80

func (x *Modifier) GetDisabled() bool

func (*Modifier) GetMaxStacks added in v0.1.80

func (x *Modifier) GetMaxStacks() int32

func (*Modifier) GetName added in v0.1.80

func (x *Modifier) GetName() string

func (*Modifier) GetRemaining added in v0.1.80

func (x *Modifier) GetRemaining() float32

func (*Modifier) GetStacks added in v0.1.80

func (x *Modifier) GetStacks() int32

func (*Modifier) GetTeam added in v0.1.80

func (x *Modifier) GetTeam() uint32

func (*Modifier) MarshalJSON added in v0.1.80

func (x *Modifier) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Modifier to JSON.

func (*Modifier) MarshalProtoJSON added in v0.1.80

func (x *Modifier) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the Modifier message to JSON.

func (*Modifier) MarshalProtoText added in v0.1.80

func (x *Modifier) MarshalProtoText() string

func (*Modifier) MarshalToSizedBufferVT added in v0.1.80

func (m *Modifier) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Modifier) MarshalToVT added in v0.1.80

func (m *Modifier) MarshalToVT(dAtA []byte) (int, error)

func (*Modifier) MarshalVT added in v0.1.80

func (m *Modifier) MarshalVT() (dAtA []byte, err error)

func (*Modifier) ProtoMessage added in v0.1.80

func (*Modifier) ProtoMessage()

func (*Modifier) Reset added in v0.1.80

func (x *Modifier) Reset()

func (*Modifier) SizeVT added in v0.1.80

func (m *Modifier) SizeVT() (n int)

func (*Modifier) String added in v0.1.80

func (x *Modifier) String() string

func (*Modifier) UnmarshalJSON added in v0.1.80

func (x *Modifier) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the Modifier from JSON.

func (*Modifier) UnmarshalProtoJSON added in v0.1.80

func (x *Modifier) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the Modifier message from JSON.

func (*Modifier) UnmarshalVT added in v0.1.80

func (m *Modifier) UnmarshalVT(dAtA []byte) error

type ModifierStateRequest

type ModifierStateRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// State is the EModifierState name, such as MODIFIER_STATE_PARRY_ACTIVE.
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

ModifierStateRequest asks whether a modifier state is active on an entity.

func (*ModifierStateRequest) CloneMessageVT

func (*ModifierStateRequest) CloneVT

func (*ModifierStateRequest) EqualMessageVT

func (this *ModifierStateRequest) EqualMessageVT(thatMsg any) bool

func (*ModifierStateRequest) EqualVT

func (this *ModifierStateRequest) EqualVT(that *ModifierStateRequest) bool

func (*ModifierStateRequest) GetEntity

func (x *ModifierStateRequest) GetEntity() uint32

func (*ModifierStateRequest) GetState

func (x *ModifierStateRequest) GetState() string

func (*ModifierStateRequest) MarshalJSON

func (x *ModifierStateRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ModifierStateRequest to JSON.

func (*ModifierStateRequest) MarshalProtoJSON

func (x *ModifierStateRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ModifierStateRequest message to JSON.

func (*ModifierStateRequest) MarshalProtoText

func (x *ModifierStateRequest) MarshalProtoText() string

func (*ModifierStateRequest) MarshalToSizedBufferVT

func (m *ModifierStateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ModifierStateRequest) MarshalToVT

func (m *ModifierStateRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ModifierStateRequest) MarshalVT

func (m *ModifierStateRequest) MarshalVT() (dAtA []byte, err error)

func (*ModifierStateRequest) ProtoMessage

func (*ModifierStateRequest) ProtoMessage()

func (*ModifierStateRequest) Reset

func (x *ModifierStateRequest) Reset()

func (*ModifierStateRequest) SizeVT

func (m *ModifierStateRequest) SizeVT() (n int)

func (*ModifierStateRequest) String

func (x *ModifierStateRequest) String() string

func (*ModifierStateRequest) UnmarshalJSON

func (x *ModifierStateRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ModifierStateRequest from JSON.

func (*ModifierStateRequest) UnmarshalProtoJSON

func (x *ModifierStateRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ModifierStateRequest message from JSON.

func (*ModifierStateRequest) UnmarshalVT

func (m *ModifierStateRequest) UnmarshalVT(dAtA []byte) error

type ModifiersResponse added in v0.1.80

type ModifiersResponse struct {
	Modifiers []*Modifier `protobuf:"bytes,1,rep,name=modifiers,proto3" json:"modifiers,omitempty"`
	// contains filtered or unexported fields
}

ModifiersResponse lists the modifiers an entity holds, in the game's order.

func (*ModifiersResponse) CloneMessageVT added in v0.1.80

func (m *ModifiersResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ModifiersResponse) CloneVT added in v0.1.80

func (m *ModifiersResponse) CloneVT() *ModifiersResponse

func (*ModifiersResponse) EqualMessageVT added in v0.1.80

func (this *ModifiersResponse) EqualMessageVT(thatMsg any) bool

func (*ModifiersResponse) EqualVT added in v0.1.80

func (this *ModifiersResponse) EqualVT(that *ModifiersResponse) bool

func (*ModifiersResponse) GetModifiers added in v0.1.80

func (x *ModifiersResponse) GetModifiers() []*Modifier

func (*ModifiersResponse) MarshalJSON added in v0.1.80

func (x *ModifiersResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ModifiersResponse to JSON.

func (*ModifiersResponse) MarshalProtoJSON added in v0.1.80

func (x *ModifiersResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ModifiersResponse message to JSON.

func (*ModifiersResponse) MarshalProtoText added in v0.1.80

func (x *ModifiersResponse) MarshalProtoText() string

func (*ModifiersResponse) MarshalToSizedBufferVT added in v0.1.80

func (m *ModifiersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ModifiersResponse) MarshalToVT added in v0.1.80

func (m *ModifiersResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ModifiersResponse) MarshalVT added in v0.1.80

func (m *ModifiersResponse) MarshalVT() (dAtA []byte, err error)

func (*ModifiersResponse) ProtoMessage added in v0.1.80

func (*ModifiersResponse) ProtoMessage()

func (*ModifiersResponse) Reset added in v0.1.80

func (x *ModifiersResponse) Reset()

func (*ModifiersResponse) SizeVT added in v0.1.80

func (m *ModifiersResponse) SizeVT() (n int)

func (*ModifiersResponse) String added in v0.1.80

func (x *ModifiersResponse) String() string

func (*ModifiersResponse) UnmarshalJSON added in v0.1.80

func (x *ModifiersResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ModifiersResponse from JSON.

func (*ModifiersResponse) UnmarshalProtoJSON added in v0.1.80

func (x *ModifiersResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ModifiersResponse message from JSON.

func (*ModifiersResponse) UnmarshalVT added in v0.1.80

func (m *ModifiersResponse) UnmarshalVT(dAtA []byte) error

type RefreshAbilityRequest

type RefreshAbilityRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Ability is the ability's name.
	Ability string `protobuf:"bytes,2,opt,name=ability,proto3" json:"ability,omitempty"`
	// contains filtered or unexported fields
}

RefreshAbilityRequest names one ability of a player's hero.

func (*RefreshAbilityRequest) CloneMessageVT

func (*RefreshAbilityRequest) CloneVT

func (*RefreshAbilityRequest) EqualMessageVT

func (this *RefreshAbilityRequest) EqualMessageVT(thatMsg any) bool

func (*RefreshAbilityRequest) EqualVT

func (this *RefreshAbilityRequest) EqualVT(that *RefreshAbilityRequest) bool

func (*RefreshAbilityRequest) GetAbility

func (x *RefreshAbilityRequest) GetAbility() string

func (*RefreshAbilityRequest) GetPlayer

func (x *RefreshAbilityRequest) GetPlayer() int32

func (*RefreshAbilityRequest) MarshalJSON

func (x *RefreshAbilityRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RefreshAbilityRequest to JSON.

func (*RefreshAbilityRequest) MarshalProtoJSON

func (x *RefreshAbilityRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RefreshAbilityRequest message to JSON.

func (*RefreshAbilityRequest) MarshalProtoText

func (x *RefreshAbilityRequest) MarshalProtoText() string

func (*RefreshAbilityRequest) MarshalToSizedBufferVT

func (m *RefreshAbilityRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RefreshAbilityRequest) MarshalToVT

func (m *RefreshAbilityRequest) MarshalToVT(dAtA []byte) (int, error)

func (*RefreshAbilityRequest) MarshalVT

func (m *RefreshAbilityRequest) MarshalVT() (dAtA []byte, err error)

func (*RefreshAbilityRequest) ProtoMessage

func (*RefreshAbilityRequest) ProtoMessage()

func (*RefreshAbilityRequest) Reset

func (x *RefreshAbilityRequest) Reset()

func (*RefreshAbilityRequest) SizeVT

func (m *RefreshAbilityRequest) SizeVT() (n int)

func (*RefreshAbilityRequest) String

func (x *RefreshAbilityRequest) String() string

func (*RefreshAbilityRequest) UnmarshalJSON

func (x *RefreshAbilityRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RefreshAbilityRequest from JSON.

func (*RefreshAbilityRequest) UnmarshalProtoJSON

func (x *RefreshAbilityRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RefreshAbilityRequest message from JSON.

func (*RefreshAbilityRequest) UnmarshalVT

func (m *RefreshAbilityRequest) UnmarshalVT(dAtA []byte) error

type ReplaceAbilityRequest

type ReplaceAbilityRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Index is the ability slot, as Ability.slot.
	Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// Ability is the new ability's name, such as ability_viper_slide.
	Ability string `protobuf:"bytes,3,opt,name=ability,proto3" json:"ability,omitempty"`
	// Keep carries the replaced ability's progress to the new one: trained or
	// not, its bought upgrades, its cooldown, and its charges when both
	// abilities hold charges. The ability points and unlocks the player spent
	// stay spent, and the game upgrades the new ability from there.
	Keep *bool `protobuf:"varint,4,opt,name=keep,proto3,oneof" json:"keep,omitempty"`
	// contains filtered or unexported fields
}

ReplaceAbilityRequest puts an ability in one of a player's ability slots.

func (*ReplaceAbilityRequest) CloneMessageVT

func (*ReplaceAbilityRequest) CloneVT

func (*ReplaceAbilityRequest) EqualMessageVT

func (this *ReplaceAbilityRequest) EqualMessageVT(thatMsg any) bool

func (*ReplaceAbilityRequest) EqualVT

func (this *ReplaceAbilityRequest) EqualVT(that *ReplaceAbilityRequest) bool

func (*ReplaceAbilityRequest) GetAbility

func (x *ReplaceAbilityRequest) GetAbility() string

func (*ReplaceAbilityRequest) GetIndex

func (x *ReplaceAbilityRequest) GetIndex() uint32

func (*ReplaceAbilityRequest) GetKeep added in v0.1.74

func (x *ReplaceAbilityRequest) GetKeep() bool

func (*ReplaceAbilityRequest) GetPlayer

func (x *ReplaceAbilityRequest) GetPlayer() int32

func (*ReplaceAbilityRequest) MarshalJSON

func (x *ReplaceAbilityRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ReplaceAbilityRequest to JSON.

func (*ReplaceAbilityRequest) MarshalProtoJSON

func (x *ReplaceAbilityRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ReplaceAbilityRequest message to JSON.

func (*ReplaceAbilityRequest) MarshalProtoText

func (x *ReplaceAbilityRequest) MarshalProtoText() string

func (*ReplaceAbilityRequest) MarshalToSizedBufferVT

func (m *ReplaceAbilityRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ReplaceAbilityRequest) MarshalToVT

func (m *ReplaceAbilityRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ReplaceAbilityRequest) MarshalVT

func (m *ReplaceAbilityRequest) MarshalVT() (dAtA []byte, err error)

func (*ReplaceAbilityRequest) ProtoMessage

func (*ReplaceAbilityRequest) ProtoMessage()

func (*ReplaceAbilityRequest) Reset

func (x *ReplaceAbilityRequest) Reset()

func (*ReplaceAbilityRequest) SizeVT

func (m *ReplaceAbilityRequest) SizeVT() (n int)

func (*ReplaceAbilityRequest) String

func (x *ReplaceAbilityRequest) String() string

func (*ReplaceAbilityRequest) UnmarshalJSON

func (x *ReplaceAbilityRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ReplaceAbilityRequest from JSON.

func (*ReplaceAbilityRequest) UnmarshalProtoJSON

func (x *ReplaceAbilityRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ReplaceAbilityRequest message from JSON.

func (*ReplaceAbilityRequest) UnmarshalVT

func (m *ReplaceAbilityRequest) UnmarshalVT(dAtA []byte) error

type TrainAbilityRequest added in v0.1.76

type TrainAbilityRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Slot is the ability slot, 0 to 3, as Ability.slot.
	Slot uint32 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"`
	// contains filtered or unexported fields
}

TrainAbilityRequest trains or upgrades one of a player's abilities.

func (*TrainAbilityRequest) CloneMessageVT added in v0.1.76

func (*TrainAbilityRequest) CloneVT added in v0.1.76

func (*TrainAbilityRequest) EqualMessageVT added in v0.1.76

func (this *TrainAbilityRequest) EqualMessageVT(thatMsg any) bool

func (*TrainAbilityRequest) EqualVT added in v0.1.76

func (this *TrainAbilityRequest) EqualVT(that *TrainAbilityRequest) bool

func (*TrainAbilityRequest) GetPlayer added in v0.1.76

func (x *TrainAbilityRequest) GetPlayer() int32

func (*TrainAbilityRequest) GetSlot added in v0.1.76

func (x *TrainAbilityRequest) GetSlot() uint32

func (*TrainAbilityRequest) MarshalJSON added in v0.1.76

func (x *TrainAbilityRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the TrainAbilityRequest to JSON.

func (*TrainAbilityRequest) MarshalProtoJSON added in v0.1.76

func (x *TrainAbilityRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the TrainAbilityRequest message to JSON.

func (*TrainAbilityRequest) MarshalProtoText added in v0.1.76

func (x *TrainAbilityRequest) MarshalProtoText() string

func (*TrainAbilityRequest) MarshalToSizedBufferVT added in v0.1.76

func (m *TrainAbilityRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TrainAbilityRequest) MarshalToVT added in v0.1.76

func (m *TrainAbilityRequest) MarshalToVT(dAtA []byte) (int, error)

func (*TrainAbilityRequest) MarshalVT added in v0.1.76

func (m *TrainAbilityRequest) MarshalVT() (dAtA []byte, err error)

func (*TrainAbilityRequest) ProtoMessage added in v0.1.76

func (*TrainAbilityRequest) ProtoMessage()

func (*TrainAbilityRequest) Reset added in v0.1.76

func (x *TrainAbilityRequest) Reset()

func (*TrainAbilityRequest) SizeVT added in v0.1.76

func (m *TrainAbilityRequest) SizeVT() (n int)

func (*TrainAbilityRequest) String added in v0.1.76

func (x *TrainAbilityRequest) String() string

func (*TrainAbilityRequest) UnmarshalJSON added in v0.1.76

func (x *TrainAbilityRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the TrainAbilityRequest from JSON.

func (*TrainAbilityRequest) UnmarshalProtoJSON added in v0.1.76

func (x *TrainAbilityRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the TrainAbilityRequest message from JSON.

func (*TrainAbilityRequest) UnmarshalVT added in v0.1.76

func (m *TrainAbilityRequest) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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