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

effects

package
v0.1.52 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 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 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"`
	// 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) 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 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"`
	// 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) 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

Jump to

Keyboard shortcuts

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