Help us shape the future of Go! Take the 2026 Go Developer Survey

abilities

package
v0.1.58 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 6 Imported by: 0

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"`
	// 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) 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 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"`
	// 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) 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 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"`
	// 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) 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 the modifier as "<ability>/<modifier>", such as
	// ability_smoke_bomb/smokebomb_modifier_invis.
	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 an ability's 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 HoldModifierRequest

type HoldModifierRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Modifier names the modifier as "<ability>/<modifier>", 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 an ability's 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 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 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"`
	// 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) 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

Jump to

Keyboard shortcuts

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