effects

package
v0.1.77 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ScreenEffect_name = map[int32]string{
		0: "SCREEN_EFFECT_KILLED",
		1: "SCREEN_EFFECT_BLACK",
		2: "SCREEN_EFFECT_BLINDED",
		3: "SCREEN_EFFECT_DARKNESS",
		4: "SCREEN_EFFECT_MATCH_INTRO",
	}
	ScreenEffect_value = map[string]int32{
		"SCREEN_EFFECT_KILLED":      0,
		"SCREEN_EFFECT_BLACK":       1,
		"SCREEN_EFFECT_BLINDED":     2,
		"SCREEN_EFFECT_DARKNESS":    3,
		"SCREEN_EFFECT_MATCH_INTRO": 4,
	}
)

Enum value maps for ScreenEffect.

Functions

This section is empty.

Types

type AdjustSoundRequest added in v0.1.77

type AdjustSoundRequest struct {

	// Id is the sound's ID, as Sound or EmitSound returned it.
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Volume replaces the sound's loudness scale when present.
	Volume *float32 `protobuf:"fixed32,2,opt,name=volume,proto3,oneof" json:"volume,omitempty"`
	// Pitch replaces the sound's pitch scale when present.
	Pitch *float32 `protobuf:"fixed32,3,opt,name=pitch,proto3,oneof" json:"pitch,omitempty"`
	// contains filtered or unexported fields
}

AdjustSoundRequest changes a playing sound.

func (*AdjustSoundRequest) CloneMessageVT added in v0.1.77

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

func (*AdjustSoundRequest) CloneVT added in v0.1.77

func (m *AdjustSoundRequest) CloneVT() *AdjustSoundRequest

func (*AdjustSoundRequest) EqualMessageVT added in v0.1.77

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

func (*AdjustSoundRequest) EqualVT added in v0.1.77

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

func (*AdjustSoundRequest) GetId added in v0.1.77

func (x *AdjustSoundRequest) GetId() uint32

func (*AdjustSoundRequest) GetPitch added in v0.1.77

func (x *AdjustSoundRequest) GetPitch() float32

func (*AdjustSoundRequest) GetVolume added in v0.1.77

func (x *AdjustSoundRequest) GetVolume() float32

func (*AdjustSoundRequest) MarshalJSON added in v0.1.77

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

MarshalJSON marshals the AdjustSoundRequest to JSON.

func (*AdjustSoundRequest) MarshalProtoJSON added in v0.1.77

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

MarshalProtoJSON marshals the AdjustSoundRequest message to JSON.

func (*AdjustSoundRequest) MarshalProtoText added in v0.1.77

func (x *AdjustSoundRequest) MarshalProtoText() string

func (*AdjustSoundRequest) MarshalToSizedBufferVT added in v0.1.77

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

func (*AdjustSoundRequest) MarshalToVT added in v0.1.77

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

func (*AdjustSoundRequest) MarshalVT added in v0.1.77

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

func (*AdjustSoundRequest) ProtoMessage added in v0.1.77

func (*AdjustSoundRequest) ProtoMessage()

func (*AdjustSoundRequest) Reset added in v0.1.77

func (x *AdjustSoundRequest) Reset()

func (*AdjustSoundRequest) SizeVT added in v0.1.77

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

func (*AdjustSoundRequest) String added in v0.1.77

func (x *AdjustSoundRequest) String() string

func (*AdjustSoundRequest) UnmarshalJSON added in v0.1.77

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

UnmarshalJSON unmarshals the AdjustSoundRequest from JSON.

func (*AdjustSoundRequest) UnmarshalProtoJSON added in v0.1.77

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

UnmarshalProtoJSON unmarshals the AdjustSoundRequest message from JSON.

func (*AdjustSoundRequest) UnmarshalVT added in v0.1.77

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

type AnnounceRequest

type AnnounceRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Title is the announcement's heading.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Text is the announcement's body.
	Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

AnnounceRequest addresses a game announcement to one player.

func (*AnnounceRequest) CloneMessageVT

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

func (*AnnounceRequest) CloneVT

func (m *AnnounceRequest) CloneVT() *AnnounceRequest

func (*AnnounceRequest) EqualMessageVT

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

func (*AnnounceRequest) EqualVT

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

func (*AnnounceRequest) GetPlayer

func (x *AnnounceRequest) GetPlayer() int32

func (*AnnounceRequest) GetText

func (x *AnnounceRequest) GetText() string

func (*AnnounceRequest) GetTitle

func (x *AnnounceRequest) GetTitle() string

func (*AnnounceRequest) MarshalJSON

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

MarshalJSON marshals the AnnounceRequest to JSON.

func (*AnnounceRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the AnnounceRequest message to JSON.

func (*AnnounceRequest) MarshalProtoText

func (x *AnnounceRequest) MarshalProtoText() string

func (*AnnounceRequest) MarshalToSizedBufferVT

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

func (*AnnounceRequest) MarshalToVT

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

func (*AnnounceRequest) MarshalVT

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

func (*AnnounceRequest) ProtoMessage

func (*AnnounceRequest) ProtoMessage()

func (*AnnounceRequest) Reset

func (x *AnnounceRequest) Reset()

func (*AnnounceRequest) SizeVT

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

func (*AnnounceRequest) String

func (x *AnnounceRequest) String() string

func (*AnnounceRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the AnnounceRequest from JSON.

func (*AnnounceRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the AnnounceRequest message from JSON.

func (*AnnounceRequest) UnmarshalVT

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

type CenterTextRequest

type CenterTextRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Text is the text to show; empty text clears it.
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

CenterTextRequest replaces one player's center text.

func (*CenterTextRequest) CloneMessageVT

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

func (*CenterTextRequest) CloneVT

func (m *CenterTextRequest) CloneVT() *CenterTextRequest

func (*CenterTextRequest) EqualMessageVT

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

func (*CenterTextRequest) EqualVT

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

func (*CenterTextRequest) GetPlayer

func (x *CenterTextRequest) GetPlayer() int32

func (*CenterTextRequest) GetText

func (x *CenterTextRequest) GetText() string

func (*CenterTextRequest) MarshalJSON

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

MarshalJSON marshals the CenterTextRequest to JSON.

func (*CenterTextRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the CenterTextRequest message to JSON.

func (*CenterTextRequest) MarshalProtoText

func (x *CenterTextRequest) MarshalProtoText() string

func (*CenterTextRequest) MarshalToSizedBufferVT

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

func (*CenterTextRequest) MarshalToVT

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

func (*CenterTextRequest) MarshalVT

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

func (*CenterTextRequest) ProtoMessage

func (*CenterTextRequest) ProtoMessage()

func (*CenterTextRequest) Reset

func (x *CenterTextRequest) Reset()

func (*CenterTextRequest) SizeVT

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

func (*CenterTextRequest) String

func (x *CenterTextRequest) String() string

func (*CenterTextRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the CenterTextRequest from JSON.

func (*CenterTextRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the CenterTextRequest message from JSON.

func (*CenterTextRequest) UnmarshalVT

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

type ChatRequest

type ChatRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Text is the chat line.
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

ChatRequest addresses server chat to one player.

func (*ChatRequest) CloneMessageVT

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

func (*ChatRequest) CloneVT

func (m *ChatRequest) CloneVT() *ChatRequest

func (*ChatRequest) EqualMessageVT

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

func (*ChatRequest) EqualVT

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

func (*ChatRequest) GetPlayer

func (x *ChatRequest) GetPlayer() int32

func (*ChatRequest) GetText

func (x *ChatRequest) GetText() string

func (*ChatRequest) MarshalJSON

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

MarshalJSON marshals the ChatRequest to JSON.

func (*ChatRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the ChatRequest message to JSON.

func (*ChatRequest) MarshalProtoText

func (x *ChatRequest) MarshalProtoText() string

func (*ChatRequest) MarshalToSizedBufferVT

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

func (*ChatRequest) MarshalToVT

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

func (*ChatRequest) MarshalVT

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

func (*ChatRequest) ProtoMessage

func (*ChatRequest) ProtoMessage()

func (*ChatRequest) Reset

func (x *ChatRequest) Reset()

func (*ChatRequest) SizeVT

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

func (*ChatRequest) String

func (x *ChatRequest) String() string

func (*ChatRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the ChatRequest from JSON.

func (*ChatRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ChatRequest message from JSON.

func (*ChatRequest) UnmarshalVT

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

type ClearScreenEffectRequest

type ClearScreenEffectRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Effect is the effect to end.
	Effect ScreenEffect `protobuf:"varint,2,opt,name=effect,proto3" json:"effect,omitempty"`
	// contains filtered or unexported fields
}

ClearScreenEffectRequest ends a screen effect on one player's view.

func (*ClearScreenEffectRequest) CloneMessageVT

func (*ClearScreenEffectRequest) CloneVT

func (*ClearScreenEffectRequest) EqualMessageVT

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

func (*ClearScreenEffectRequest) EqualVT

func (*ClearScreenEffectRequest) GetEffect

func (x *ClearScreenEffectRequest) GetEffect() ScreenEffect

func (*ClearScreenEffectRequest) GetPlayer

func (x *ClearScreenEffectRequest) GetPlayer() int32

func (*ClearScreenEffectRequest) MarshalJSON

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

MarshalJSON marshals the ClearScreenEffectRequest to JSON.

func (*ClearScreenEffectRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the ClearScreenEffectRequest message to JSON.

func (*ClearScreenEffectRequest) MarshalProtoText

func (x *ClearScreenEffectRequest) MarshalProtoText() string

func (*ClearScreenEffectRequest) MarshalToSizedBufferVT

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

func (*ClearScreenEffectRequest) MarshalToVT

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

func (*ClearScreenEffectRequest) MarshalVT

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

func (*ClearScreenEffectRequest) ProtoMessage

func (*ClearScreenEffectRequest) ProtoMessage()

func (*ClearScreenEffectRequest) Reset

func (x *ClearScreenEffectRequest) Reset()

func (*ClearScreenEffectRequest) SizeVT

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

func (*ClearScreenEffectRequest) String

func (x *ClearScreenEffectRequest) String() string

func (*ClearScreenEffectRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the ClearScreenEffectRequest from JSON.

func (*ClearScreenEffectRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ClearScreenEffectRequest message from JSON.

func (*ClearScreenEffectRequest) UnmarshalVT

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

type EmitSoundRequest

type EmitSoundRequest struct {

	// Entity is the entity's handle.
	Entity uint32 `protobuf:"varint,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Sound is the game sound event's name.
	Sound string `protobuf:"bytes,2,opt,name=sound,proto3" json:"sound,omitempty"`
	// Options set the sound's volume and pitch and who hears it; without
	// them every player hears the sound as the game made it.
	Options *SoundOptions `protobuf:"bytes,3,opt,name=options,proto3,oneof" json:"options,omitempty"`
	// contains filtered or unexported fields
}

EmitSoundRequest plays one sound on an entity.

func (*EmitSoundRequest) CloneMessageVT

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

func (*EmitSoundRequest) CloneVT

func (m *EmitSoundRequest) CloneVT() *EmitSoundRequest

func (*EmitSoundRequest) EqualMessageVT

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

func (*EmitSoundRequest) EqualVT

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

func (*EmitSoundRequest) GetEntity

func (x *EmitSoundRequest) GetEntity() uint32

func (*EmitSoundRequest) GetOptions added in v0.1.77

func (x *EmitSoundRequest) GetOptions() *SoundOptions

func (*EmitSoundRequest) GetSound

func (x *EmitSoundRequest) GetSound() string

func (*EmitSoundRequest) MarshalJSON

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

MarshalJSON marshals the EmitSoundRequest to JSON.

func (*EmitSoundRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the EmitSoundRequest message to JSON.

func (*EmitSoundRequest) MarshalProtoText

func (x *EmitSoundRequest) MarshalProtoText() string

func (*EmitSoundRequest) MarshalToSizedBufferVT

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

func (*EmitSoundRequest) MarshalToVT

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

func (*EmitSoundRequest) MarshalVT

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

func (*EmitSoundRequest) ProtoMessage

func (*EmitSoundRequest) ProtoMessage()

func (*EmitSoundRequest) Reset

func (x *EmitSoundRequest) Reset()

func (*EmitSoundRequest) SizeVT

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

func (*EmitSoundRequest) String

func (x *EmitSoundRequest) String() string

func (*EmitSoundRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the EmitSoundRequest from JSON.

func (*EmitSoundRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the EmitSoundRequest message from JSON.

func (*EmitSoundRequest) UnmarshalVT

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

type ScreenEffect

type ScreenEffect int32

ScreenEffect is a stock full-screen view effect.

const (
	// SCREEN_EFFECT_KILLED is the death treatment.
	ScreenEffect_SCREEN_EFFECT_KILLED ScreenEffect = 0
	// SCREEN_EFFECT_BLACK fades the view to black.
	ScreenEffect_SCREEN_EFFECT_BLACK ScreenEffect = 1
	// SCREEN_EFFECT_BLINDED is the blind treatment.
	ScreenEffect_SCREEN_EFFECT_BLINDED ScreenEffect = 2
	// SCREEN_EFFECT_DARKNESS is Drifter's darkness view.
	ScreenEffect_SCREEN_EFFECT_DARKNESS ScreenEffect = 3
	// SCREEN_EFFECT_MATCH_INTRO is the match start treatment.
	ScreenEffect_SCREEN_EFFECT_MATCH_INTRO ScreenEffect = 4
)

func (ScreenEffect) Enum

func (x ScreenEffect) Enum() *ScreenEffect

func (ScreenEffect) MarshalJSON

func (x ScreenEffect) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ScreenEffect to JSON.

func (ScreenEffect) MarshalProtoJSON

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

MarshalProtoJSON marshals the ScreenEffect to JSON.

func (ScreenEffect) MarshalProtoText

func (x ScreenEffect) MarshalProtoText() string

func (ScreenEffect) MarshalText

func (x ScreenEffect) MarshalText() ([]byte, error)

MarshalText marshals the ScreenEffect to text.

func (ScreenEffect) String

func (x ScreenEffect) String() string

func (*ScreenEffect) UnmarshalJSON

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

UnmarshalJSON unmarshals the ScreenEffect from JSON.

func (*ScreenEffect) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ScreenEffect from JSON.

func (*ScreenEffect) UnmarshalText

func (x *ScreenEffect) UnmarshalText(b []byte) error

UnmarshalText unmarshals the ScreenEffect from text.

type ScreenEffectRequest

type ScreenEffectRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Effect is the effect to play.
	Effect ScreenEffect `protobuf:"varint,2,opt,name=effect,proto3" json:"effect,omitempty"`
	// Timing is the effect's timing; omitted, the effect's own.
	Timing *ScreenTiming `protobuf:"bytes,3,opt,name=timing,proto3,oneof" json:"timing,omitempty"`
	// contains filtered or unexported fields
}

ScreenEffectRequest plays a screen effect on one player's view.

func (*ScreenEffectRequest) CloneMessageVT

func (*ScreenEffectRequest) CloneVT

func (*ScreenEffectRequest) EqualMessageVT

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

func (*ScreenEffectRequest) EqualVT

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

func (*ScreenEffectRequest) GetEffect

func (x *ScreenEffectRequest) GetEffect() ScreenEffect

func (*ScreenEffectRequest) GetPlayer

func (x *ScreenEffectRequest) GetPlayer() int32

func (*ScreenEffectRequest) GetTiming

func (x *ScreenEffectRequest) GetTiming() *ScreenTiming

func (*ScreenEffectRequest) MarshalJSON

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

MarshalJSON marshals the ScreenEffectRequest to JSON.

func (*ScreenEffectRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the ScreenEffectRequest message to JSON.

func (*ScreenEffectRequest) MarshalProtoText

func (x *ScreenEffectRequest) MarshalProtoText() string

func (*ScreenEffectRequest) MarshalToSizedBufferVT

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

func (*ScreenEffectRequest) MarshalToVT

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

func (*ScreenEffectRequest) MarshalVT

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

func (*ScreenEffectRequest) ProtoMessage

func (*ScreenEffectRequest) ProtoMessage()

func (*ScreenEffectRequest) Reset

func (x *ScreenEffectRequest) Reset()

func (*ScreenEffectRequest) SizeVT

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

func (*ScreenEffectRequest) String

func (x *ScreenEffectRequest) String() string

func (*ScreenEffectRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the ScreenEffectRequest from JSON.

func (*ScreenEffectRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ScreenEffectRequest message from JSON.

func (*ScreenEffectRequest) UnmarshalVT

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

type ScreenTiming

type ScreenTiming struct {

	// Delay is the time before the effect starts.
	Delay *float32 `protobuf:"fixed32,1,opt,name=delay,proto3,oneof" json:"delay,omitempty"`
	// FadeIn is the time the effect takes to reach full strength.
	FadeIn *float32 `protobuf:"fixed32,2,opt,name=fade_in,json=fadeIn,proto3,oneof" json:"fadeIn,omitempty"`
	// Hold is the time the effect stays at full strength.
	Hold *float32 `protobuf:"fixed32,3,opt,name=hold,proto3,oneof" json:"hold,omitempty"`
	// FadeOut is the time the effect takes to end.
	FadeOut *float32 `protobuf:"fixed32,4,opt,name=fade_out,json=fadeOut,proto3,oneof" json:"fadeOut,omitempty"`
	// contains filtered or unexported fields
}

ScreenTiming is a screen effect's timing in seconds.

func (*ScreenTiming) CloneMessageVT

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

func (*ScreenTiming) CloneVT

func (m *ScreenTiming) CloneVT() *ScreenTiming

func (*ScreenTiming) EqualMessageVT

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

func (*ScreenTiming) EqualVT

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

func (*ScreenTiming) GetDelay

func (x *ScreenTiming) GetDelay() float32

func (*ScreenTiming) GetFadeIn

func (x *ScreenTiming) GetFadeIn() float32

func (*ScreenTiming) GetFadeOut

func (x *ScreenTiming) GetFadeOut() float32

func (*ScreenTiming) GetHold

func (x *ScreenTiming) GetHold() float32

func (*ScreenTiming) MarshalJSON

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

MarshalJSON marshals the ScreenTiming to JSON.

func (*ScreenTiming) MarshalProtoJSON

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

MarshalProtoJSON marshals the ScreenTiming message to JSON.

func (*ScreenTiming) MarshalProtoText

func (x *ScreenTiming) MarshalProtoText() string

func (*ScreenTiming) MarshalToSizedBufferVT

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

func (*ScreenTiming) MarshalToVT

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

func (*ScreenTiming) MarshalVT

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

func (*ScreenTiming) ProtoMessage

func (*ScreenTiming) ProtoMessage()

func (*ScreenTiming) Reset

func (x *ScreenTiming) Reset()

func (*ScreenTiming) SizeVT

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

func (*ScreenTiming) String

func (x *ScreenTiming) String() string

func (*ScreenTiming) UnmarshalJSON

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

UnmarshalJSON unmarshals the ScreenTiming from JSON.

func (*ScreenTiming) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the ScreenTiming message from JSON.

func (*ScreenTiming) UnmarshalVT

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

type SilencePlayerVoiceRequest added in v0.1.77

type SilencePlayerVoiceRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Concepts name CitadelConcept_t values; none lets the hero speak again.
	Concepts []string `protobuf:"bytes,2,rep,name=concepts,proto3" json:"concepts,omitempty"`
	// contains filtered or unexported fields
}

SilencePlayerVoiceRequest names the voice concepts one player's hero keeps silent.

func (*SilencePlayerVoiceRequest) CloneMessageVT added in v0.1.77

func (*SilencePlayerVoiceRequest) CloneVT added in v0.1.77

func (*SilencePlayerVoiceRequest) EqualMessageVT added in v0.1.77

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

func (*SilencePlayerVoiceRequest) EqualVT added in v0.1.77

func (*SilencePlayerVoiceRequest) GetConcepts added in v0.1.77

func (x *SilencePlayerVoiceRequest) GetConcepts() []string

func (*SilencePlayerVoiceRequest) GetPlayer added in v0.1.77

func (x *SilencePlayerVoiceRequest) GetPlayer() int32

func (*SilencePlayerVoiceRequest) MarshalJSON added in v0.1.77

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

MarshalJSON marshals the SilencePlayerVoiceRequest to JSON.

func (*SilencePlayerVoiceRequest) MarshalProtoJSON added in v0.1.77

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

MarshalProtoJSON marshals the SilencePlayerVoiceRequest message to JSON.

func (*SilencePlayerVoiceRequest) MarshalProtoText added in v0.1.77

func (x *SilencePlayerVoiceRequest) MarshalProtoText() string

func (*SilencePlayerVoiceRequest) MarshalToSizedBufferVT added in v0.1.77

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

func (*SilencePlayerVoiceRequest) MarshalToVT added in v0.1.77

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

func (*SilencePlayerVoiceRequest) MarshalVT added in v0.1.77

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

func (*SilencePlayerVoiceRequest) ProtoMessage added in v0.1.77

func (*SilencePlayerVoiceRequest) ProtoMessage()

func (*SilencePlayerVoiceRequest) Reset added in v0.1.77

func (x *SilencePlayerVoiceRequest) Reset()

func (*SilencePlayerVoiceRequest) SizeVT added in v0.1.77

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

func (*SilencePlayerVoiceRequest) String added in v0.1.77

func (x *SilencePlayerVoiceRequest) String() string

func (*SilencePlayerVoiceRequest) UnmarshalJSON added in v0.1.77

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

UnmarshalJSON unmarshals the SilencePlayerVoiceRequest from JSON.

func (*SilencePlayerVoiceRequest) UnmarshalProtoJSON added in v0.1.77

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

UnmarshalProtoJSON unmarshals the SilencePlayerVoiceRequest message from JSON.

func (*SilencePlayerVoiceRequest) UnmarshalVT added in v0.1.77

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

type SilenceVoiceRequest added in v0.1.77

type SilenceVoiceRequest struct {

	// Concepts name CitadelConcept_t values, such as TLK_CITADEL_GOLD_GAINED,
	// under which a hero calls out its souls and reminds itself to spend them.
	// None lets every hero speak again.
	Concepts []string `protobuf:"bytes,1,rep,name=concepts,proto3" json:"concepts,omitempty"`
	// contains filtered or unexported fields
}

SilenceVoiceRequest names the voice concepts every hero keeps silent.

func (*SilenceVoiceRequest) CloneMessageVT added in v0.1.77

func (*SilenceVoiceRequest) CloneVT added in v0.1.77

func (*SilenceVoiceRequest) EqualMessageVT added in v0.1.77

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

func (*SilenceVoiceRequest) EqualVT added in v0.1.77

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

func (*SilenceVoiceRequest) GetConcepts added in v0.1.77

func (x *SilenceVoiceRequest) GetConcepts() []string

func (*SilenceVoiceRequest) MarshalJSON added in v0.1.77

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

MarshalJSON marshals the SilenceVoiceRequest to JSON.

func (*SilenceVoiceRequest) MarshalProtoJSON added in v0.1.77

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

MarshalProtoJSON marshals the SilenceVoiceRequest message to JSON.

func (*SilenceVoiceRequest) MarshalProtoText added in v0.1.77

func (x *SilenceVoiceRequest) MarshalProtoText() string

func (*SilenceVoiceRequest) MarshalToSizedBufferVT added in v0.1.77

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

func (*SilenceVoiceRequest) MarshalToVT added in v0.1.77

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

func (*SilenceVoiceRequest) MarshalVT added in v0.1.77

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

func (*SilenceVoiceRequest) ProtoMessage added in v0.1.77

func (*SilenceVoiceRequest) ProtoMessage()

func (*SilenceVoiceRequest) Reset added in v0.1.77

func (x *SilenceVoiceRequest) Reset()

func (*SilenceVoiceRequest) SizeVT added in v0.1.77

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

func (*SilenceVoiceRequest) String added in v0.1.77

func (x *SilenceVoiceRequest) String() string

func (*SilenceVoiceRequest) UnmarshalJSON added in v0.1.77

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

UnmarshalJSON unmarshals the SilenceVoiceRequest from JSON.

func (*SilenceVoiceRequest) UnmarshalProtoJSON added in v0.1.77

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

UnmarshalProtoJSON unmarshals the SilenceVoiceRequest message from JSON.

func (*SilenceVoiceRequest) UnmarshalVT added in v0.1.77

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

type SoundOptions added in v0.1.77

type SoundOptions struct {

	// Volume scales the sound's loudness; 1 plays it as the game made it.
	Volume *float32 `protobuf:"fixed32,1,opt,name=volume,proto3,oneof" json:"volume,omitempty"`
	// Pitch scales the sound's pitch; 1 plays it as the game made it.
	Pitch *float32 `protobuf:"fixed32,2,opt,name=pitch,proto3,oneof" json:"pitch,omitempty"`
	// Listeners are the player slots that hear the sound; empty means every
	// player.
	Listeners []int32 `protobuf:"varint,3,rep,packed,name=listeners,proto3" json:"listeners,omitempty"`
	// contains filtered or unexported fields
}

SoundOptions shape one sound; the zero value plays it to every player as the game made it.

func (*SoundOptions) CloneMessageVT added in v0.1.77

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

func (*SoundOptions) CloneVT added in v0.1.77

func (m *SoundOptions) CloneVT() *SoundOptions

func (*SoundOptions) EqualMessageVT added in v0.1.77

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

func (*SoundOptions) EqualVT added in v0.1.77

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

func (*SoundOptions) GetListeners added in v0.1.77

func (x *SoundOptions) GetListeners() []int32

func (*SoundOptions) GetPitch added in v0.1.77

func (x *SoundOptions) GetPitch() float32

func (*SoundOptions) GetVolume added in v0.1.77

func (x *SoundOptions) GetVolume() float32

func (*SoundOptions) MarshalJSON added in v0.1.77

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

MarshalJSON marshals the SoundOptions to JSON.

func (*SoundOptions) MarshalProtoJSON added in v0.1.77

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

MarshalProtoJSON marshals the SoundOptions message to JSON.

func (*SoundOptions) MarshalProtoText added in v0.1.77

func (x *SoundOptions) MarshalProtoText() string

func (*SoundOptions) MarshalToSizedBufferVT added in v0.1.77

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

func (*SoundOptions) MarshalToVT added in v0.1.77

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

func (*SoundOptions) MarshalVT added in v0.1.77

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

func (*SoundOptions) ProtoMessage added in v0.1.77

func (*SoundOptions) ProtoMessage()

func (*SoundOptions) Reset added in v0.1.77

func (x *SoundOptions) Reset()

func (*SoundOptions) SizeVT added in v0.1.77

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

func (*SoundOptions) String added in v0.1.77

func (x *SoundOptions) String() string

func (*SoundOptions) UnmarshalJSON added in v0.1.77

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

UnmarshalJSON unmarshals the SoundOptions from JSON.

func (*SoundOptions) UnmarshalProtoJSON added in v0.1.77

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

UnmarshalProtoJSON unmarshals the SoundOptions message from JSON.

func (*SoundOptions) UnmarshalVT added in v0.1.77

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

type SoundRequest

type SoundRequest struct {
	Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
	// Sound is the game sound event's name, such as Player.ClaimOrb.
	Sound string `protobuf:"bytes,2,opt,name=sound,proto3" json:"sound,omitempty"`
	// Options set the sound's volume and pitch and who hears it; without
	// them every player hears the sound as the game made it.
	Options *SoundOptions `protobuf:"bytes,3,opt,name=options,proto3,oneof" json:"options,omitempty"`
	// contains filtered or unexported fields
}

SoundRequest plays one sound on a player's hero.

func (*SoundRequest) CloneMessageVT

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

func (*SoundRequest) CloneVT

func (m *SoundRequest) CloneVT() *SoundRequest

func (*SoundRequest) EqualMessageVT

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

func (*SoundRequest) EqualVT

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

func (*SoundRequest) GetOptions added in v0.1.77

func (x *SoundRequest) GetOptions() *SoundOptions

func (*SoundRequest) GetPlayer

func (x *SoundRequest) GetPlayer() int32

func (*SoundRequest) GetSound

func (x *SoundRequest) GetSound() string

func (*SoundRequest) MarshalJSON

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

MarshalJSON marshals the SoundRequest to JSON.

func (*SoundRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the SoundRequest message to JSON.

func (*SoundRequest) MarshalProtoText

func (x *SoundRequest) MarshalProtoText() string

func (*SoundRequest) MarshalToSizedBufferVT

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

func (*SoundRequest) MarshalToVT

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

func (*SoundRequest) MarshalVT

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

func (*SoundRequest) ProtoMessage

func (*SoundRequest) ProtoMessage()

func (*SoundRequest) Reset

func (x *SoundRequest) Reset()

func (*SoundRequest) SizeVT

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

func (*SoundRequest) String

func (x *SoundRequest) String() string

func (*SoundRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the SoundRequest from JSON.

func (*SoundRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the SoundRequest message from JSON.

func (*SoundRequest) UnmarshalVT

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

type SoundResponse added in v0.1.77

type SoundResponse struct {

	// Id names the playing sound to AdjustSound and StopSound; it is never 0.
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

SoundResponse names a sound that Sound or EmitSound started.

func (*SoundResponse) CloneMessageVT added in v0.1.77

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

func (*SoundResponse) CloneVT added in v0.1.77

func (m *SoundResponse) CloneVT() *SoundResponse

func (*SoundResponse) EqualMessageVT added in v0.1.77

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

func (*SoundResponse) EqualVT added in v0.1.77

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

func (*SoundResponse) GetId added in v0.1.77

func (x *SoundResponse) GetId() uint32

func (*SoundResponse) MarshalJSON added in v0.1.77

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

MarshalJSON marshals the SoundResponse to JSON.

func (*SoundResponse) MarshalProtoJSON added in v0.1.77

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

MarshalProtoJSON marshals the SoundResponse message to JSON.

func (*SoundResponse) MarshalProtoText added in v0.1.77

func (x *SoundResponse) MarshalProtoText() string

func (*SoundResponse) MarshalToSizedBufferVT added in v0.1.77

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

func (*SoundResponse) MarshalToVT added in v0.1.77

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

func (*SoundResponse) MarshalVT added in v0.1.77

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

func (*SoundResponse) ProtoMessage added in v0.1.77

func (*SoundResponse) ProtoMessage()

func (*SoundResponse) Reset added in v0.1.77

func (x *SoundResponse) Reset()

func (*SoundResponse) SizeVT added in v0.1.77

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

func (*SoundResponse) String added in v0.1.77

func (x *SoundResponse) String() string

func (*SoundResponse) UnmarshalJSON added in v0.1.77

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

UnmarshalJSON unmarshals the SoundResponse from JSON.

func (*SoundResponse) UnmarshalProtoJSON added in v0.1.77

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

UnmarshalProtoJSON unmarshals the SoundResponse message from JSON.

func (*SoundResponse) UnmarshalVT added in v0.1.77

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

type StopSoundRequest added in v0.1.77

type StopSoundRequest struct {

	// Id is the sound's ID, as Sound or EmitSound returned it.
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

StopSoundRequest names a playing sound to stop.

func (*StopSoundRequest) CloneMessageVT added in v0.1.77

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

func (*StopSoundRequest) CloneVT added in v0.1.77

func (m *StopSoundRequest) CloneVT() *StopSoundRequest

func (*StopSoundRequest) EqualMessageVT added in v0.1.77

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

func (*StopSoundRequest) EqualVT added in v0.1.77

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

func (*StopSoundRequest) GetId added in v0.1.77

func (x *StopSoundRequest) GetId() uint32

func (*StopSoundRequest) MarshalJSON added in v0.1.77

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

MarshalJSON marshals the StopSoundRequest to JSON.

func (*StopSoundRequest) MarshalProtoJSON added in v0.1.77

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

MarshalProtoJSON marshals the StopSoundRequest message to JSON.

func (*StopSoundRequest) MarshalProtoText added in v0.1.77

func (x *StopSoundRequest) MarshalProtoText() string

func (*StopSoundRequest) MarshalToSizedBufferVT added in v0.1.77

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

func (*StopSoundRequest) MarshalToVT added in v0.1.77

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

func (*StopSoundRequest) MarshalVT added in v0.1.77

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

func (*StopSoundRequest) ProtoMessage added in v0.1.77

func (*StopSoundRequest) ProtoMessage()

func (*StopSoundRequest) Reset added in v0.1.77

func (x *StopSoundRequest) Reset()

func (*StopSoundRequest) SizeVT added in v0.1.77

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

func (*StopSoundRequest) String added in v0.1.77

func (x *StopSoundRequest) String() string

func (*StopSoundRequest) UnmarshalJSON added in v0.1.77

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

UnmarshalJSON unmarshals the StopSoundRequest from JSON.

func (*StopSoundRequest) UnmarshalProtoJSON added in v0.1.77

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

UnmarshalProtoJSON unmarshals the StopSoundRequest message from JSON.

func (*StopSoundRequest) UnmarshalVT added in v0.1.77

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

Jump to

Keyboard shortcuts

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