Documentation
¶
Index ¶
- Constants
- Variables
- type ChatMessage
- func (m *ChatMessage) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ChatMessage) CloneVT() *ChatMessage
- func (this *ChatMessage) EqualMessageVT(thatMsg any) bool
- func (this *ChatMessage) EqualVT(that *ChatMessage) bool
- func (x *ChatMessage) GetAllChat() bool
- func (x *ChatMessage) GetPlayerSlot() int32
- func (x *ChatMessage) GetText() string
- func (x *ChatMessage) MarshalProtoText() string
- func (m *ChatMessage) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ChatMessage) MarshalToVT(dAtA []byte) (int, error)
- func (m *ChatMessage) MarshalVT() (dAtA []byte, err error)
- func (*ChatMessage) ProtoMessage()
- func (x *ChatMessage) Reset()
- func (m *ChatMessage) SizeVT() (n int)
- func (x *ChatMessage) String() string
- func (m *ChatMessage) UnmarshalVT(dAtA []byte) error
- type Damage
- func (m *Damage) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Damage) CloneVT() *Damage
- func (this *Damage) EqualMessageVT(thatMsg any) bool
- func (this *Damage) EqualVT(that *Damage) bool
- func (x *Damage) GetDamage() int32
- func (x *Damage) GetEntindexAttacker() int32
- func (x *Damage) GetEntindexVictim() int32
- func (x *Damage) GetHitgroupId() int32
- func (x *Damage) GetServerTick() int32
- func (x *Damage) MarshalProtoText() string
- func (m *Damage) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Damage) MarshalToVT(dAtA []byte) (int, error)
- func (m *Damage) MarshalVT() (dAtA []byte, err error)
- func (*Damage) ProtoMessage()
- func (x *Damage) Reset()
- func (m *Damage) SizeVT() (n int)
- func (x *Damage) String() string
- func (m *Damage) UnmarshalVT(dAtA []byte) error
- type HudAnnouncement
- func (m *HudAnnouncement) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HudAnnouncement) CloneVT() *HudAnnouncement
- func (this *HudAnnouncement) EqualMessageVT(thatMsg any) bool
- func (this *HudAnnouncement) EqualVT(that *HudAnnouncement) bool
- func (x *HudAnnouncement) GetClassname() []string
- func (x *HudAnnouncement) GetDescriptionLocstring() string
- func (x *HudAnnouncement) GetDialogVariableLocstring() []string
- func (x *HudAnnouncement) GetDialogVariableName() []string
- func (x *HudAnnouncement) GetTitleLocstring() string
- func (x *HudAnnouncement) MarshalProtoText() string
- func (m *HudAnnouncement) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HudAnnouncement) MarshalToVT(dAtA []byte) (int, error)
- func (m *HudAnnouncement) MarshalVT() (dAtA []byte, err error)
- func (*HudAnnouncement) ProtoMessage()
- func (x *HudAnnouncement) Reset()
- func (m *HudAnnouncement) SizeVT() (n int)
- func (x *HudAnnouncement) String() string
- func (m *HudAnnouncement) UnmarshalVT(dAtA []byte) error
- type HudTextMessage
- func (m *HudTextMessage) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HudTextMessage) CloneVT() *HudTextMessage
- func (this *HudTextMessage) EqualMessageVT(thatMsg any) bool
- func (this *HudTextMessage) EqualVT(that *HudTextMessage) bool
- func (x *HudTextMessage) GetDest() uint32
- func (x *HudTextMessage) GetParam() []string
- func (x *HudTextMessage) MarshalProtoText() string
- func (m *HudTextMessage) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HudTextMessage) MarshalToVT(dAtA []byte) (int, error)
- func (m *HudTextMessage) MarshalVT() (dAtA []byte, err error)
- func (*HudTextMessage) ProtoMessage()
- func (x *HudTextMessage) Reset()
- func (m *HudTextMessage) SizeVT() (n int)
- func (x *HudTextMessage) String() string
- func (m *HudTextMessage) UnmarshalVT(dAtA []byte) error
- type PlayerChatMessage
- func (m *PlayerChatMessage) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *PlayerChatMessage) CloneVT() *PlayerChatMessage
- func (this *PlayerChatMessage) EqualMessageVT(thatMsg any) bool
- func (this *PlayerChatMessage) EqualVT(that *PlayerChatMessage) bool
- func (x *PlayerChatMessage) GetChat() bool
- func (x *PlayerChatMessage) GetEntityIndex() int32
- func (x *PlayerChatMessage) GetMessageName() string
- func (x *PlayerChatMessage) GetParam3() string
- func (x *PlayerChatMessage) GetParam4() string
- func (x *PlayerChatMessage) GetPlayerName() string
- func (x *PlayerChatMessage) GetText() string
- func (x *PlayerChatMessage) MarshalProtoText() string
- func (m *PlayerChatMessage) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PlayerChatMessage) MarshalToVT(dAtA []byte) (int, error)
- func (m *PlayerChatMessage) MarshalVT() (dAtA []byte, err error)
- func (*PlayerChatMessage) ProtoMessage()
- func (x *PlayerChatMessage) Reset()
- func (m *PlayerChatMessage) SizeVT() (n int)
- func (x *PlayerChatMessage) String() string
- func (m *PlayerChatMessage) UnmarshalVT(dAtA []byte) error
- type ScreenEffect
- func (m *ScreenEffect) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ScreenEffect) CloneVT() *ScreenEffect
- func (this *ScreenEffect) EqualMessageVT(thatMsg any) bool
- func (this *ScreenEffect) EqualVT(that *ScreenEffect) bool
- func (x *ScreenEffect) GetClearAllStates() bool
- func (x *ScreenEffect) GetDelay() float32
- func (x *ScreenEffect) GetEntindexOwner() int32
- func (x *ScreenEffect) GetFadeInTime() float32
- func (x *ScreenEffect) GetFadeOutTime() float32
- func (x *ScreenEffect) GetHoldTime() float32
- func (x *ScreenEffect) GetScale() float32
- func (x *ScreenEffect) GetState() ScreenEffectState
- func (x *ScreenEffect) MarshalProtoText() string
- func (m *ScreenEffect) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ScreenEffect) MarshalToVT(dAtA []byte) (int, error)
- func (m *ScreenEffect) MarshalVT() (dAtA []byte, err error)
- func (*ScreenEffect) ProtoMessage()
- func (x *ScreenEffect) Reset()
- func (m *ScreenEffect) SizeVT() (n int)
- func (x *ScreenEffect) String() string
- func (m *ScreenEffect) UnmarshalVT(dAtA []byte) error
- type ScreenEffectState
- type StaminaConsumed
- func (m *StaminaConsumed) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StaminaConsumed) CloneVT() *StaminaConsumed
- func (this *StaminaConsumed) EqualMessageVT(thatMsg any) bool
- func (this *StaminaConsumed) EqualVT(that *StaminaConsumed) bool
- func (x *StaminaConsumed) GetDrained() bool
- func (x *StaminaConsumed) GetEntindexTarget() int32
- func (x *StaminaConsumed) GetGametime() float32
- func (x *StaminaConsumed) GetPlaySound() bool
- func (x *StaminaConsumed) GetStaminaAfter() float32
- func (x *StaminaConsumed) GetStaminaBefore() float32
- func (x *StaminaConsumed) GetStaminaMax() float32
- func (x *StaminaConsumed) MarshalProtoText() string
- func (m *StaminaConsumed) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StaminaConsumed) MarshalToVT(dAtA []byte) (int, error)
- func (m *StaminaConsumed) MarshalVT() (dAtA []byte, err error)
- func (*StaminaConsumed) ProtoMessage()
- func (x *StaminaConsumed) Reset()
- func (m *StaminaConsumed) SizeVT() (n int)
- func (x *StaminaConsumed) String() string
- func (m *StaminaConsumed) UnmarshalVT(dAtA []byte) error
Constants ¶
const ( Default_Damage_EntindexVictim = int32(-1) Default_Damage_EntindexAttacker = int32(-1) )
Default values for Damage fields.
const (
Default_ChatMessage_PlayerSlot = int32(-1)
)
Default values for ChatMessage fields.
const (
Default_PlayerChatMessage_EntityIndex = int32(-1)
)
Default values for PlayerChatMessage fields.
const (
Default_ScreenEffect_EntindexOwner = int32(-1)
)
Default values for ScreenEffect fields.
const (
Default_StaminaConsumed_EntindexTarget = int32(-1)
)
Default values for StaminaConsumed fields.
Variables ¶
var ( ScreenEffectState_name = map[int32]string{ 0: "SCREEN_EFFECT_STATE_KILLED", 1: "SCREEN_EFFECT_STATE_BLACK", 2: "SCREEN_EFFECT_STATE_DOORMAN_HOTEL_VICTIM", 3: "SCREEN_EFFECT_STATE_BLINDED", 4: "SCREEN_EFFECT_STATE_DRIFTER_DARKNESS_CASTER", 5: "SCREEN_EFFECT_STATE_MATCH_INTRO", } ScreenEffectState_value = map[string]int32{ "SCREEN_EFFECT_STATE_KILLED": 0, "SCREEN_EFFECT_STATE_BLACK": 1, "SCREEN_EFFECT_STATE_DOORMAN_HOTEL_VICTIM": 2, "SCREEN_EFFECT_STATE_BLINDED": 3, "SCREEN_EFFECT_STATE_DRIFTER_DARKNESS_CASTER": 4, "SCREEN_EFFECT_STATE_MATCH_INTRO": 5, } )
Enum value maps for ScreenEffectState.
Functions ¶
This section is empty.
Types ¶
type ChatMessage ¶
type ChatMessage struct {
// PlayerSlot identifies the sender's zero-based client slot.
PlayerSlot *int32 `protobuf:"varint,1,opt,name=player_slot,json=playerSlot,def=-1" json:"playerSlot,omitempty"`
// Text contains the accepted player chat.
Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
// AllChat distinguishes global chat from team chat.
AllChat *bool `protobuf:"varint,3,opt,name=all_chat,json=allChat" json:"allChat,omitempty"`
// contains filtered or unexported fields
}
ChatMessage matches CCitadelUserMsg_ChatMsg, message 314, from the game chat box.
func (*ChatMessage) CloneMessageVT ¶
func (m *ChatMessage) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ChatMessage) CloneVT ¶
func (m *ChatMessage) CloneVT() *ChatMessage
func (*ChatMessage) EqualMessageVT ¶
func (this *ChatMessage) EqualMessageVT(thatMsg any) bool
func (*ChatMessage) EqualVT ¶
func (this *ChatMessage) EqualVT(that *ChatMessage) bool
func (*ChatMessage) GetAllChat ¶
func (x *ChatMessage) GetAllChat() bool
func (*ChatMessage) GetPlayerSlot ¶
func (x *ChatMessage) GetPlayerSlot() int32
func (*ChatMessage) GetText ¶
func (x *ChatMessage) GetText() string
func (*ChatMessage) MarshalProtoText ¶
func (x *ChatMessage) MarshalProtoText() string
func (*ChatMessage) MarshalToSizedBufferVT ¶
func (m *ChatMessage) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ChatMessage) MarshalToVT ¶
func (m *ChatMessage) MarshalToVT(dAtA []byte) (int, error)
func (*ChatMessage) MarshalVT ¶
func (m *ChatMessage) MarshalVT() (dAtA []byte, err error)
func (*ChatMessage) ProtoMessage ¶
func (*ChatMessage) ProtoMessage()
func (*ChatMessage) Reset ¶
func (x *ChatMessage) Reset()
func (*ChatMessage) SizeVT ¶
func (m *ChatMessage) SizeVT() (n int)
func (*ChatMessage) String ¶
func (x *ChatMessage) String() string
func (*ChatMessage) UnmarshalVT ¶
func (m *ChatMessage) UnmarshalVT(dAtA []byte) error
type Damage ¶
type Damage struct {
// Damage is the positive health damage reported for this hit.
Damage *int32 `protobuf:"varint,1,opt,name=damage" json:"damage,omitempty"`
// EntindexVictim identifies the hit entity without restricting its category.
EntindexVictim *int32 `protobuf:"varint,6,opt,name=entindex_victim,json=entindexVictim,def=-1" json:"entindexVictim,omitempty"`
// EntindexAttacker identifies the entity credited with the hit.
EntindexAttacker *int32 `protobuf:"varint,8,opt,name=entindex_attacker,json=entindexAttacker,def=-1" json:"entindexAttacker,omitempty"`
// HitgroupId identifies the hit region; Source HitGroup_t assigns head to 1.
HitgroupId *int32 `protobuf:"varint,21,opt,name=hitgroup_id,json=hitgroupId" json:"hitgroupId,omitempty"`
// ServerTick is the authoritative simulation tick used for deduplication.
ServerTick *int32 `protobuf:"varint,29,opt,name=server_tick,json=serverTick" json:"serverTick,omitempty"`
// contains filtered or unexported fields
}
Damage decodes the attribution subset of Deadlock user message 300. Field numbers follow CCitadelUserMessage_Damage in citadel_usermessages.proto.
func (*Damage) CloneMessageVT ¶
func (m *Damage) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Damage) EqualMessageVT ¶
func (*Damage) GetEntindexAttacker ¶
func (*Damage) GetEntindexVictim ¶
func (*Damage) GetHitgroupId ¶
func (*Damage) GetServerTick ¶
func (*Damage) MarshalProtoText ¶
func (*Damage) MarshalToSizedBufferVT ¶
func (*Damage) ProtoMessage ¶
func (*Damage) ProtoMessage()
func (*Damage) UnmarshalVT ¶
type HudAnnouncement ¶
type HudAnnouncement struct {
// TitleLocstring is the announcement title or localization token.
TitleLocstring *string `protobuf:"bytes,1,opt,name=title_locstring,json=titleLocstring" json:"titleLocstring,omitempty"`
// DescriptionLocstring is the announcement description or localization token.
DescriptionLocstring *string `protobuf:"bytes,2,opt,name=description_locstring,json=descriptionLocstring" json:"descriptionLocstring,omitempty"`
// Classname adds existing native announcement style classes.
Classname []string `protobuf:"bytes,3,rep,name=classname" json:"classname,omitempty"`
// DialogVariableName identifies an optional localized substitution.
DialogVariableName []string `protobuf:"bytes,4,rep,name=dialog_variable_name,json=dialogVariableName" json:"dialogVariableName,omitempty"`
// DialogVariableLocstring supplies the localized substitution.
DialogVariableLocstring []string `protobuf:"bytes,5,rep,name=dialog_variable_locstring,json=dialogVariableLocstring" json:"dialogVariableLocstring,omitempty"`
// contains filtered or unexported fields
}
HudAnnouncement matches Deadlock CCitadelUserMsg_HudGameAnnouncement, message 363.
func (*HudAnnouncement) CloneMessageVT ¶
func (m *HudAnnouncement) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HudAnnouncement) CloneVT ¶
func (m *HudAnnouncement) CloneVT() *HudAnnouncement
func (*HudAnnouncement) EqualMessageVT ¶
func (this *HudAnnouncement) EqualMessageVT(thatMsg any) bool
func (*HudAnnouncement) EqualVT ¶
func (this *HudAnnouncement) EqualVT(that *HudAnnouncement) bool
func (*HudAnnouncement) GetClassname ¶
func (x *HudAnnouncement) GetClassname() []string
func (*HudAnnouncement) GetDescriptionLocstring ¶
func (x *HudAnnouncement) GetDescriptionLocstring() string
func (*HudAnnouncement) GetDialogVariableLocstring ¶
func (x *HudAnnouncement) GetDialogVariableLocstring() []string
func (*HudAnnouncement) GetDialogVariableName ¶
func (x *HudAnnouncement) GetDialogVariableName() []string
func (*HudAnnouncement) GetTitleLocstring ¶
func (x *HudAnnouncement) GetTitleLocstring() string
func (*HudAnnouncement) MarshalProtoText ¶
func (x *HudAnnouncement) MarshalProtoText() string
func (*HudAnnouncement) MarshalToSizedBufferVT ¶
func (m *HudAnnouncement) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HudAnnouncement) MarshalToVT ¶
func (m *HudAnnouncement) MarshalToVT(dAtA []byte) (int, error)
func (*HudAnnouncement) MarshalVT ¶
func (m *HudAnnouncement) MarshalVT() (dAtA []byte, err error)
func (*HudAnnouncement) ProtoMessage ¶
func (*HudAnnouncement) ProtoMessage()
func (*HudAnnouncement) Reset ¶
func (x *HudAnnouncement) Reset()
func (*HudAnnouncement) SizeVT ¶
func (m *HudAnnouncement) SizeVT() (n int)
func (*HudAnnouncement) String ¶
func (x *HudAnnouncement) String() string
func (*HudAnnouncement) UnmarshalVT ¶
func (m *HudAnnouncement) UnmarshalVT(dAtA []byte) error
type HudTextMessage ¶
type HudTextMessage struct {
// Dest selects the native print destination; 4 is HUD_PRINTCENTER.
Dest *uint32 `protobuf:"varint,1,opt,name=dest" json:"dest,omitempty"`
// Param contains the text followed by any native format substitutions.
Param []string `protobuf:"bytes,2,rep,name=param" json:"param,omitempty"`
// contains filtered or unexported fields
}
HudTextMessage matches native CUserMessageTextMsg, message 124.
func (*HudTextMessage) CloneMessageVT ¶
func (m *HudTextMessage) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HudTextMessage) CloneVT ¶
func (m *HudTextMessage) CloneVT() *HudTextMessage
func (*HudTextMessage) EqualMessageVT ¶
func (this *HudTextMessage) EqualMessageVT(thatMsg any) bool
func (*HudTextMessage) EqualVT ¶
func (this *HudTextMessage) EqualVT(that *HudTextMessage) bool
func (*HudTextMessage) GetDest ¶
func (x *HudTextMessage) GetDest() uint32
func (*HudTextMessage) GetParam ¶
func (x *HudTextMessage) GetParam() []string
func (*HudTextMessage) MarshalProtoText ¶
func (x *HudTextMessage) MarshalProtoText() string
func (*HudTextMessage) MarshalToSizedBufferVT ¶
func (m *HudTextMessage) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HudTextMessage) MarshalToVT ¶
func (m *HudTextMessage) MarshalToVT(dAtA []byte) (int, error)
func (*HudTextMessage) MarshalVT ¶
func (m *HudTextMessage) MarshalVT() (dAtA []byte, err error)
func (*HudTextMessage) ProtoMessage ¶
func (*HudTextMessage) ProtoMessage()
func (*HudTextMessage) Reset ¶
func (x *HudTextMessage) Reset()
func (*HudTextMessage) SizeVT ¶
func (m *HudTextMessage) SizeVT() (n int)
func (*HudTextMessage) String ¶
func (x *HudTextMessage) String() string
func (*HudTextMessage) UnmarshalVT ¶
func (m *HudTextMessage) UnmarshalVT(dAtA []byte) error
type PlayerChatMessage ¶
type PlayerChatMessage struct {
// EntityIndex identifies the sender's native controller; zero is server chat.
EntityIndex *int32 `protobuf:"varint,1,opt,name=entity_index,json=entityIndex,def=-1" json:"entityIndex,omitempty"`
// Chat distinguishes a player chat line from another text notification.
Chat *bool `protobuf:"varint,2,opt,name=chat" json:"chat,omitempty"`
// MessageName selects the native localization template and chat audience.
MessageName *string `protobuf:"bytes,3,opt,name=message_name,json=messageName" json:"messageName,omitempty"`
// PlayerName is the first native template parameter, the sender's display name.
PlayerName *string `protobuf:"bytes,4,opt,name=player_name,json=playerName" json:"playerName,omitempty"`
// Text is the second native template parameter, the accepted chat text.
Text *string `protobuf:"bytes,5,opt,name=text" json:"text,omitempty"`
// Param3 preserves the third native template parameter.
Param3 *string `protobuf:"bytes,6,opt,name=param3" json:"param3,omitempty"`
// Param4 preserves the fourth native template parameter.
Param4 *string `protobuf:"bytes,7,opt,name=param4" json:"param4,omitempty"`
// contains filtered or unexported fields
}
PlayerChatMessage matches native CUserMessageSayText2, message 118. It carries accepted console chat.
func (*PlayerChatMessage) CloneMessageVT ¶
func (m *PlayerChatMessage) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*PlayerChatMessage) CloneVT ¶
func (m *PlayerChatMessage) CloneVT() *PlayerChatMessage
func (*PlayerChatMessage) EqualMessageVT ¶
func (this *PlayerChatMessage) EqualMessageVT(thatMsg any) bool
func (*PlayerChatMessage) EqualVT ¶
func (this *PlayerChatMessage) EqualVT(that *PlayerChatMessage) bool
func (*PlayerChatMessage) GetChat ¶
func (x *PlayerChatMessage) GetChat() bool
func (*PlayerChatMessage) GetEntityIndex ¶
func (x *PlayerChatMessage) GetEntityIndex() int32
func (*PlayerChatMessage) GetMessageName ¶
func (x *PlayerChatMessage) GetMessageName() string
func (*PlayerChatMessage) GetParam3 ¶
func (x *PlayerChatMessage) GetParam3() string
func (*PlayerChatMessage) GetParam4 ¶
func (x *PlayerChatMessage) GetParam4() string
func (*PlayerChatMessage) GetPlayerName ¶
func (x *PlayerChatMessage) GetPlayerName() string
func (*PlayerChatMessage) GetText ¶
func (x *PlayerChatMessage) GetText() string
func (*PlayerChatMessage) MarshalProtoText ¶
func (x *PlayerChatMessage) MarshalProtoText() string
func (*PlayerChatMessage) MarshalToSizedBufferVT ¶
func (m *PlayerChatMessage) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PlayerChatMessage) MarshalToVT ¶
func (m *PlayerChatMessage) MarshalToVT(dAtA []byte) (int, error)
func (*PlayerChatMessage) MarshalVT ¶
func (m *PlayerChatMessage) MarshalVT() (dAtA []byte, err error)
func (*PlayerChatMessage) ProtoMessage ¶
func (*PlayerChatMessage) ProtoMessage()
func (*PlayerChatMessage) Reset ¶
func (x *PlayerChatMessage) Reset()
func (*PlayerChatMessage) SizeVT ¶
func (m *PlayerChatMessage) SizeVT() (n int)
func (*PlayerChatMessage) String ¶
func (x *PlayerChatMessage) String() string
func (*PlayerChatMessage) UnmarshalVT ¶
func (m *PlayerChatMessage) UnmarshalVT(dAtA []byte) error
type ScreenEffect ¶
type ScreenEffect struct {
// EntindexOwner is the entity the effect belongs to, normally the
// recipient's pawn.
EntindexOwner *int32 `protobuf:"varint,1,opt,name=entindex_owner,json=entindexOwner,def=-1" json:"entindexOwner,omitempty"`
// ClearAllStates ends every running instance of state instead of starting one.
ClearAllStates *bool `protobuf:"varint,2,opt,name=clear_all_states,json=clearAllStates" json:"clearAllStates,omitempty"`
// State selects the stock post-processing resource.
State *ScreenEffectState `protobuf:"varint,3,opt,name=state" json:"state,omitempty"`
// Delay, FadeInTime, HoldTime and FadeOutTime are seconds, applied in order.
Delay *float32 `protobuf:"fixed32,4,opt,name=delay" json:"delay,omitempty"`
FadeInTime *float32 `protobuf:"fixed32,5,opt,name=fade_in_time,json=fadeInTime" json:"fadeInTime,omitempty"`
HoldTime *float32 `protobuf:"fixed32,6,opt,name=hold_time,json=holdTime" json:"holdTime,omitempty"`
FadeOutTime *float32 `protobuf:"fixed32,7,opt,name=fade_out_time,json=fadeOutTime" json:"fadeOutTime,omitempty"`
// Scale weights the effect; the client stores it with each instance.
Scale *float32 `protobuf:"fixed32,8,opt,name=scale" json:"scale,omitempty"`
// contains filtered or unexported fields
}
ScreenEffect matches Deadlock CCitadelUserMsg_PostProcessingAnim, message 332. The client ignores the message unless entindex_owner names a live entity. Each state keeps a list of running instances, so effects of one state stack.
func (*ScreenEffect) CloneMessageVT ¶
func (m *ScreenEffect) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ScreenEffect) CloneVT ¶
func (m *ScreenEffect) CloneVT() *ScreenEffect
func (*ScreenEffect) EqualMessageVT ¶
func (this *ScreenEffect) EqualMessageVT(thatMsg any) bool
func (*ScreenEffect) EqualVT ¶
func (this *ScreenEffect) EqualVT(that *ScreenEffect) bool
func (*ScreenEffect) GetClearAllStates ¶
func (x *ScreenEffect) GetClearAllStates() bool
func (*ScreenEffect) GetDelay ¶
func (x *ScreenEffect) GetDelay() float32
func (*ScreenEffect) GetEntindexOwner ¶
func (x *ScreenEffect) GetEntindexOwner() int32
func (*ScreenEffect) GetFadeInTime ¶
func (x *ScreenEffect) GetFadeInTime() float32
func (*ScreenEffect) GetFadeOutTime ¶
func (x *ScreenEffect) GetFadeOutTime() float32
func (*ScreenEffect) GetHoldTime ¶
func (x *ScreenEffect) GetHoldTime() float32
func (*ScreenEffect) GetScale ¶
func (x *ScreenEffect) GetScale() float32
func (*ScreenEffect) GetState ¶
func (x *ScreenEffect) GetState() ScreenEffectState
func (*ScreenEffect) MarshalProtoText ¶
func (x *ScreenEffect) MarshalProtoText() string
func (*ScreenEffect) MarshalToSizedBufferVT ¶
func (m *ScreenEffect) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ScreenEffect) MarshalToVT ¶
func (m *ScreenEffect) MarshalToVT(dAtA []byte) (int, error)
func (*ScreenEffect) MarshalVT ¶
func (m *ScreenEffect) MarshalVT() (dAtA []byte, err error)
func (*ScreenEffect) ProtoMessage ¶
func (*ScreenEffect) ProtoMessage()
func (*ScreenEffect) Reset ¶
func (x *ScreenEffect) Reset()
func (*ScreenEffect) SizeVT ¶
func (m *ScreenEffect) SizeVT() (n int)
func (*ScreenEffect) String ¶
func (x *ScreenEffect) String() string
func (*ScreenEffect) UnmarshalVT ¶
func (m *ScreenEffect) UnmarshalVT(dAtA []byte) error
type ScreenEffectState ¶
type ScreenEffectState int32
ScreenEffectState matches Deadlock PostProcessingGameStates.
const ( // SCREEN_EFFECT_STATE_KILLED is the stock death treatment. ScreenEffectState_SCREEN_EFFECT_STATE_KILLED ScreenEffectState = 0 // SCREEN_EFFECT_STATE_BLACK fades the view to black. ScreenEffectState_SCREEN_EFFECT_STATE_BLACK ScreenEffectState = 1 // SCREEN_EFFECT_STATE_DOORMAN_HOTEL_VICTIM is the Doorman hotel treatment. ScreenEffectState_SCREEN_EFFECT_STATE_DOORMAN_HOTEL_VICTIM ScreenEffectState = 2 // SCREEN_EFFECT_STATE_BLINDED is the stock blind treatment. ScreenEffectState_SCREEN_EFFECT_STATE_BLINDED ScreenEffectState = 3 // SCREEN_EFFECT_STATE_DRIFTER_DARKNESS_CASTER is Drifter's darkness view. ScreenEffectState_SCREEN_EFFECT_STATE_DRIFTER_DARKNESS_CASTER ScreenEffectState = 4 // SCREEN_EFFECT_STATE_MATCH_INTRO is the match start treatment. ScreenEffectState_SCREEN_EFFECT_STATE_MATCH_INTRO ScreenEffectState = 5 )
func (ScreenEffectState) Enum ¶
func (x ScreenEffectState) Enum() *ScreenEffectState
func (ScreenEffectState) MarshalProtoText ¶
func (x ScreenEffectState) MarshalProtoText() string
func (ScreenEffectState) String ¶
func (x ScreenEffectState) String() string
type StaminaConsumed ¶
type StaminaConsumed struct {
// EntindexTarget is the engine entity index of the pawn spending stamina.
EntindexTarget *int32 `protobuf:"varint,1,opt,name=entindex_target,json=entindexTarget,def=-1" json:"entindexTarget,omitempty"`
// StaminaBefore is the resource value immediately before this consumption.
StaminaBefore *float32 `protobuf:"fixed32,3,opt,name=stamina_before,json=staminaBefore" json:"staminaBefore,omitempty"`
// StaminaAfter is the resource value immediately after this consumption.
StaminaAfter *float32 `protobuf:"fixed32,4,opt,name=stamina_after,json=staminaAfter" json:"staminaAfter,omitempty"`
// Drained reports whether this action drained the resource.
Drained *bool `protobuf:"varint,5,opt,name=drained" json:"drained,omitempty"`
// StaminaMax is the pawn's current stamina capacity.
StaminaMax *float32 `protobuf:"fixed32,6,opt,name=stamina_max,json=staminaMax" json:"staminaMax,omitempty"`
// Gametime is the engine timestamp of this action.
Gametime *float32 `protobuf:"fixed32,7,opt,name=gametime" json:"gametime,omitempty"`
// PlaySound is presentation data and does not affect accounting.
PlaySound *bool `protobuf:"varint,8,opt,name=play_sound,json=playSound" json:"playSound,omitempty"`
// contains filtered or unexported fields
}
StaminaConsumed decodes Deadlock user message 337. Field numbers follow CCitadelUserMsg_StaminaConsumed in the upstream citadel_usermessages.proto. Only serialized bytes cross from the game's protobuf ABI into Modlock.
func (*StaminaConsumed) CloneMessageVT ¶
func (m *StaminaConsumed) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StaminaConsumed) CloneVT ¶
func (m *StaminaConsumed) CloneVT() *StaminaConsumed
func (*StaminaConsumed) EqualMessageVT ¶
func (this *StaminaConsumed) EqualMessageVT(thatMsg any) bool
func (*StaminaConsumed) EqualVT ¶
func (this *StaminaConsumed) EqualVT(that *StaminaConsumed) bool
func (*StaminaConsumed) GetDrained ¶
func (x *StaminaConsumed) GetDrained() bool
func (*StaminaConsumed) GetEntindexTarget ¶
func (x *StaminaConsumed) GetEntindexTarget() int32
func (*StaminaConsumed) GetGametime ¶
func (x *StaminaConsumed) GetGametime() float32
func (*StaminaConsumed) GetPlaySound ¶
func (x *StaminaConsumed) GetPlaySound() bool
func (*StaminaConsumed) GetStaminaAfter ¶
func (x *StaminaConsumed) GetStaminaAfter() float32
func (*StaminaConsumed) GetStaminaBefore ¶
func (x *StaminaConsumed) GetStaminaBefore() float32
func (*StaminaConsumed) GetStaminaMax ¶
func (x *StaminaConsumed) GetStaminaMax() float32
func (*StaminaConsumed) MarshalProtoText ¶
func (x *StaminaConsumed) MarshalProtoText() string
func (*StaminaConsumed) MarshalToSizedBufferVT ¶
func (m *StaminaConsumed) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StaminaConsumed) MarshalToVT ¶
func (m *StaminaConsumed) MarshalToVT(dAtA []byte) (int, error)
func (*StaminaConsumed) MarshalVT ¶
func (m *StaminaConsumed) MarshalVT() (dAtA []byte, err error)
func (*StaminaConsumed) ProtoMessage ¶
func (*StaminaConsumed) ProtoMessage()
func (*StaminaConsumed) Reset ¶
func (x *StaminaConsumed) Reset()
func (*StaminaConsumed) SizeVT ¶
func (m *StaminaConsumed) SizeVT() (n int)
func (*StaminaConsumed) String ¶
func (x *StaminaConsumed) String() string
func (*StaminaConsumed) UnmarshalVT ¶
func (m *StaminaConsumed) UnmarshalVT(dAtA []byte) error