Documentation
¶
Index ¶
- type ButtonsResponse
- func (m *ButtonsResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ButtonsResponse) CloneVT() *ButtonsResponse
- func (this *ButtonsResponse) EqualMessageVT(thatMsg any) bool
- func (this *ButtonsResponse) EqualVT(that *ButtonsResponse) bool
- func (x *ButtonsResponse) GetButtons() uint64
- func (x *ButtonsResponse) MarshalJSON() ([]byte, error)
- func (x *ButtonsResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *ButtonsResponse) MarshalProtoText() string
- func (m *ButtonsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ButtonsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ButtonsResponse) MarshalVT() (dAtA []byte, err error)
- func (*ButtonsResponse) ProtoMessage()
- func (x *ButtonsResponse) Reset()
- func (m *ButtonsResponse) SizeVT() (n int)
- func (x *ButtonsResponse) String() string
- func (x *ButtonsResponse) UnmarshalJSON(b []byte) error
- func (x *ButtonsResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ButtonsResponse) UnmarshalVT(dAtA []byte) error
- type InputEvent
- func (m *InputEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *InputEvent) CloneVT() *InputEvent
- func (this *InputEvent) EqualMessageVT(thatMsg any) bool
- func (this *InputEvent) EqualVT(that *InputEvent) bool
- func (x *InputEvent) GetPlayer() int32
- func (x *InputEvent) GetPressed() uint64
- func (x *InputEvent) GetReleased() uint64
- func (x *InputEvent) MarshalJSON() ([]byte, error)
- func (x *InputEvent) MarshalProtoJSON(s *json.MarshalState)
- func (x *InputEvent) MarshalProtoText() string
- func (m *InputEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InputEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *InputEvent) MarshalVT() (dAtA []byte, err error)
- func (*InputEvent) ProtoMessage()
- func (x *InputEvent) Reset()
- func (m *InputEvent) SizeVT() (n int)
- func (x *InputEvent) String() string
- func (x *InputEvent) UnmarshalJSON(b []byte) error
- func (x *InputEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *InputEvent) UnmarshalVT(dAtA []byte) error
- type InputRequest
- func (m *InputRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *InputRequest) CloneVT() *InputRequest
- func (this *InputRequest) EqualMessageVT(thatMsg any) bool
- func (this *InputRequest) EqualVT(that *InputRequest) bool
- func (x *InputRequest) GetButtons() uint64
- func (x *InputRequest) MarshalJSON() ([]byte, error)
- func (x *InputRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *InputRequest) MarshalProtoText() string
- func (m *InputRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InputRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *InputRequest) MarshalVT() (dAtA []byte, err error)
- func (*InputRequest) ProtoMessage()
- func (x *InputRequest) Reset()
- func (m *InputRequest) SizeVT() (n int)
- func (x *InputRequest) String() string
- func (x *InputRequest) UnmarshalJSON(b []byte) error
- func (x *InputRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *InputRequest) UnmarshalVT(dAtA []byte) error
- type PlayerInputRequest
- func (m *PlayerInputRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *PlayerInputRequest) CloneVT() *PlayerInputRequest
- func (this *PlayerInputRequest) EqualMessageVT(thatMsg any) bool
- func (this *PlayerInputRequest) EqualVT(that *PlayerInputRequest) bool
- func (x *PlayerInputRequest) GetButtons() uint64
- func (x *PlayerInputRequest) GetPlayer() int32
- func (x *PlayerInputRequest) MarshalJSON() ([]byte, error)
- func (x *PlayerInputRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *PlayerInputRequest) MarshalProtoText() string
- func (m *PlayerInputRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PlayerInputRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *PlayerInputRequest) MarshalVT() (dAtA []byte, err error)
- func (*PlayerInputRequest) ProtoMessage()
- func (x *PlayerInputRequest) Reset()
- func (m *PlayerInputRequest) SizeVT() (n int)
- func (x *PlayerInputRequest) String() string
- func (x *PlayerInputRequest) UnmarshalJSON(b []byte) error
- func (x *PlayerInputRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *PlayerInputRequest) UnmarshalVT(dAtA []byte) error
- type RemapInputRequest
- func (m *RemapInputRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *RemapInputRequest) CloneVT() *RemapInputRequest
- func (this *RemapInputRequest) EqualMessageVT(thatMsg any) bool
- func (this *RemapInputRequest) EqualVT(that *RemapInputRequest) bool
- func (x *RemapInputRequest) GetFrom() uint64
- func (x *RemapInputRequest) GetRepeat() bool
- func (x *RemapInputRequest) GetTo() uint64
- func (x *RemapInputRequest) MarshalJSON() ([]byte, error)
- func (x *RemapInputRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *RemapInputRequest) MarshalProtoText() string
- func (m *RemapInputRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RemapInputRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *RemapInputRequest) MarshalVT() (dAtA []byte, err error)
- func (*RemapInputRequest) ProtoMessage()
- func (x *RemapInputRequest) Reset()
- func (m *RemapInputRequest) SizeVT() (n int)
- func (x *RemapInputRequest) String() string
- func (x *RemapInputRequest) UnmarshalJSON(b []byte) error
- func (x *RemapInputRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *RemapInputRequest) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ButtonsResponse ¶
type ButtonsResponse struct {
Buttons uint64 `protobuf:"varint,1,opt,name=buttons,proto3" json:"buttons,omitempty"`
// contains filtered or unexported fields
}
ButtonsResponse holds the buttons a player holds.
func (*ButtonsResponse) CloneMessageVT ¶
func (m *ButtonsResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ButtonsResponse) CloneVT ¶
func (m *ButtonsResponse) CloneVT() *ButtonsResponse
func (*ButtonsResponse) EqualMessageVT ¶
func (this *ButtonsResponse) EqualMessageVT(thatMsg any) bool
func (*ButtonsResponse) EqualVT ¶
func (this *ButtonsResponse) EqualVT(that *ButtonsResponse) bool
func (*ButtonsResponse) GetButtons ¶
func (x *ButtonsResponse) GetButtons() uint64
func (*ButtonsResponse) MarshalJSON ¶
func (x *ButtonsResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ButtonsResponse to JSON.
func (*ButtonsResponse) MarshalProtoJSON ¶
func (x *ButtonsResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ButtonsResponse message to JSON.
func (*ButtonsResponse) MarshalProtoText ¶
func (x *ButtonsResponse) MarshalProtoText() string
func (*ButtonsResponse) MarshalToSizedBufferVT ¶
func (m *ButtonsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ButtonsResponse) MarshalToVT ¶
func (m *ButtonsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ButtonsResponse) MarshalVT ¶
func (m *ButtonsResponse) MarshalVT() (dAtA []byte, err error)
func (*ButtonsResponse) ProtoMessage ¶
func (*ButtonsResponse) ProtoMessage()
func (*ButtonsResponse) Reset ¶
func (x *ButtonsResponse) Reset()
func (*ButtonsResponse) SizeVT ¶
func (m *ButtonsResponse) SizeVT() (n int)
func (*ButtonsResponse) String ¶
func (x *ButtonsResponse) String() string
func (*ButtonsResponse) UnmarshalJSON ¶
func (x *ButtonsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ButtonsResponse from JSON.
func (*ButtonsResponse) UnmarshalProtoJSON ¶
func (x *ButtonsResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ButtonsResponse message from JSON.
func (*ButtonsResponse) UnmarshalVT ¶
func (m *ButtonsResponse) UnmarshalVT(dAtA []byte) error
type InputEvent ¶
type InputEvent struct {
// Player is the player who pressed.
Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
// Pressed holds one bit per button that went down.
Pressed uint64 `protobuf:"varint,2,opt,name=pressed,proto3" json:"pressed,omitempty"`
// Released holds one bit per button that went up.
Released uint64 `protobuf:"varint,3,opt,name=released,proto3" json:"released,omitempty"`
// contains filtered or unexported fields
}
InputEvent is one player's watched buttons that went down or up.
func (*InputEvent) CloneMessageVT ¶
func (m *InputEvent) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*InputEvent) CloneVT ¶
func (m *InputEvent) CloneVT() *InputEvent
func (*InputEvent) EqualMessageVT ¶
func (this *InputEvent) EqualMessageVT(thatMsg any) bool
func (*InputEvent) EqualVT ¶
func (this *InputEvent) EqualVT(that *InputEvent) bool
func (*InputEvent) GetPlayer ¶
func (x *InputEvent) GetPlayer() int32
func (*InputEvent) GetPressed ¶
func (x *InputEvent) GetPressed() uint64
func (*InputEvent) GetReleased ¶
func (x *InputEvent) GetReleased() uint64
func (*InputEvent) MarshalJSON ¶
func (x *InputEvent) MarshalJSON() ([]byte, error)
MarshalJSON marshals the InputEvent to JSON.
func (*InputEvent) MarshalProtoJSON ¶
func (x *InputEvent) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the InputEvent message to JSON.
func (*InputEvent) MarshalProtoText ¶
func (x *InputEvent) MarshalProtoText() string
func (*InputEvent) MarshalToSizedBufferVT ¶
func (m *InputEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InputEvent) MarshalToVT ¶
func (m *InputEvent) MarshalToVT(dAtA []byte) (int, error)
func (*InputEvent) MarshalVT ¶
func (m *InputEvent) MarshalVT() (dAtA []byte, err error)
func (*InputEvent) ProtoMessage ¶
func (*InputEvent) ProtoMessage()
func (*InputEvent) Reset ¶
func (x *InputEvent) Reset()
func (*InputEvent) SizeVT ¶
func (m *InputEvent) SizeVT() (n int)
func (*InputEvent) String ¶
func (x *InputEvent) String() string
func (*InputEvent) UnmarshalJSON ¶
func (x *InputEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the InputEvent from JSON.
func (*InputEvent) UnmarshalProtoJSON ¶
func (x *InputEvent) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the InputEvent message from JSON.
func (*InputEvent) UnmarshalVT ¶
func (m *InputEvent) UnmarshalVT(dAtA []byte) error
type InputRequest ¶
type InputRequest struct {
// Buttons holds one bit per button; zero names none.
Buttons uint64 `protobuf:"varint,1,opt,name=buttons,proto3" json:"buttons,omitempty"`
// contains filtered or unexported fields
}
InputRequest names buttons for every player. Buttons are the game's input bits; bit 42 is parry.
func (*InputRequest) CloneMessageVT ¶
func (m *InputRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*InputRequest) CloneVT ¶
func (m *InputRequest) CloneVT() *InputRequest
func (*InputRequest) EqualMessageVT ¶
func (this *InputRequest) EqualMessageVT(thatMsg any) bool
func (*InputRequest) EqualVT ¶
func (this *InputRequest) EqualVT(that *InputRequest) bool
func (*InputRequest) GetButtons ¶
func (x *InputRequest) GetButtons() uint64
func (*InputRequest) MarshalJSON ¶
func (x *InputRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the InputRequest to JSON.
func (*InputRequest) MarshalProtoJSON ¶
func (x *InputRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the InputRequest message to JSON.
func (*InputRequest) MarshalProtoText ¶
func (x *InputRequest) MarshalProtoText() string
func (*InputRequest) MarshalToSizedBufferVT ¶
func (m *InputRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InputRequest) MarshalToVT ¶
func (m *InputRequest) MarshalToVT(dAtA []byte) (int, error)
func (*InputRequest) MarshalVT ¶
func (m *InputRequest) MarshalVT() (dAtA []byte, err error)
func (*InputRequest) ProtoMessage ¶
func (*InputRequest) ProtoMessage()
func (*InputRequest) Reset ¶
func (x *InputRequest) Reset()
func (*InputRequest) SizeVT ¶
func (m *InputRequest) SizeVT() (n int)
func (*InputRequest) String ¶
func (x *InputRequest) String() string
func (*InputRequest) UnmarshalJSON ¶
func (x *InputRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the InputRequest from JSON.
func (*InputRequest) UnmarshalProtoJSON ¶
func (x *InputRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the InputRequest message from JSON.
func (*InputRequest) UnmarshalVT ¶
func (m *InputRequest) UnmarshalVT(dAtA []byte) error
type PlayerInputRequest ¶
type PlayerInputRequest struct {
Player int32 `protobuf:"varint,1,opt,name=player,proto3" json:"player,omitempty"`
// Buttons holds one bit per button.
Buttons uint64 `protobuf:"varint,2,opt,name=buttons,proto3" json:"buttons,omitempty"`
// contains filtered or unexported fields
}
PlayerInputRequest names buttons for one player.
func (*PlayerInputRequest) CloneMessageVT ¶
func (m *PlayerInputRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*PlayerInputRequest) CloneVT ¶
func (m *PlayerInputRequest) CloneVT() *PlayerInputRequest
func (*PlayerInputRequest) EqualMessageVT ¶
func (this *PlayerInputRequest) EqualMessageVT(thatMsg any) bool
func (*PlayerInputRequest) EqualVT ¶
func (this *PlayerInputRequest) EqualVT(that *PlayerInputRequest) bool
func (*PlayerInputRequest) GetButtons ¶
func (x *PlayerInputRequest) GetButtons() uint64
func (*PlayerInputRequest) GetPlayer ¶
func (x *PlayerInputRequest) GetPlayer() int32
func (*PlayerInputRequest) MarshalJSON ¶
func (x *PlayerInputRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the PlayerInputRequest to JSON.
func (*PlayerInputRequest) MarshalProtoJSON ¶
func (x *PlayerInputRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the PlayerInputRequest message to JSON.
func (*PlayerInputRequest) MarshalProtoText ¶
func (x *PlayerInputRequest) MarshalProtoText() string
func (*PlayerInputRequest) MarshalToSizedBufferVT ¶
func (m *PlayerInputRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PlayerInputRequest) MarshalToVT ¶
func (m *PlayerInputRequest) MarshalToVT(dAtA []byte) (int, error)
func (*PlayerInputRequest) MarshalVT ¶
func (m *PlayerInputRequest) MarshalVT() (dAtA []byte, err error)
func (*PlayerInputRequest) ProtoMessage ¶
func (*PlayerInputRequest) ProtoMessage()
func (*PlayerInputRequest) Reset ¶
func (x *PlayerInputRequest) Reset()
func (*PlayerInputRequest) SizeVT ¶
func (m *PlayerInputRequest) SizeVT() (n int)
func (*PlayerInputRequest) String ¶
func (x *PlayerInputRequest) String() string
func (*PlayerInputRequest) UnmarshalJSON ¶
func (x *PlayerInputRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the PlayerInputRequest from JSON.
func (*PlayerInputRequest) UnmarshalProtoJSON ¶
func (x *PlayerInputRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the PlayerInputRequest message from JSON.
func (*PlayerInputRequest) UnmarshalVT ¶
func (m *PlayerInputRequest) UnmarshalVT(dAtA []byte) error
type RemapInputRequest ¶
type RemapInputRequest struct {
// From holds the buttons the player presses; zero stops remapping.
From uint64 `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"`
// To holds the buttons the hero receives in their place.
To uint64 `protobuf:"varint,2,opt,name=to,proto3" json:"to,omitempty"`
// Repeat marks to as newly pressed in every input while from is held.
Repeat *bool `protobuf:"varint,3,opt,name=repeat,proto3,oneof" json:"repeat,omitempty"`
// contains filtered or unexported fields
}
RemapInputRequest replaces the button the mod remaps for every hero.
func (*RemapInputRequest) CloneMessageVT ¶
func (m *RemapInputRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*RemapInputRequest) CloneVT ¶
func (m *RemapInputRequest) CloneVT() *RemapInputRequest
func (*RemapInputRequest) EqualMessageVT ¶
func (this *RemapInputRequest) EqualMessageVT(thatMsg any) bool
func (*RemapInputRequest) EqualVT ¶
func (this *RemapInputRequest) EqualVT(that *RemapInputRequest) bool
func (*RemapInputRequest) GetFrom ¶
func (x *RemapInputRequest) GetFrom() uint64
func (*RemapInputRequest) GetRepeat ¶
func (x *RemapInputRequest) GetRepeat() bool
func (*RemapInputRequest) GetTo ¶
func (x *RemapInputRequest) GetTo() uint64
func (*RemapInputRequest) MarshalJSON ¶
func (x *RemapInputRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the RemapInputRequest to JSON.
func (*RemapInputRequest) MarshalProtoJSON ¶
func (x *RemapInputRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the RemapInputRequest message to JSON.
func (*RemapInputRequest) MarshalProtoText ¶
func (x *RemapInputRequest) MarshalProtoText() string
func (*RemapInputRequest) MarshalToSizedBufferVT ¶
func (m *RemapInputRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RemapInputRequest) MarshalToVT ¶
func (m *RemapInputRequest) MarshalToVT(dAtA []byte) (int, error)
func (*RemapInputRequest) MarshalVT ¶
func (m *RemapInputRequest) MarshalVT() (dAtA []byte, err error)
func (*RemapInputRequest) ProtoMessage ¶
func (*RemapInputRequest) ProtoMessage()
func (*RemapInputRequest) Reset ¶
func (x *RemapInputRequest) Reset()
func (*RemapInputRequest) SizeVT ¶
func (m *RemapInputRequest) SizeVT() (n int)
func (*RemapInputRequest) String ¶
func (x *RemapInputRequest) String() string
func (*RemapInputRequest) UnmarshalJSON ¶
func (x *RemapInputRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the RemapInputRequest from JSON.
func (*RemapInputRequest) UnmarshalProtoJSON ¶
func (x *RemapInputRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the RemapInputRequest message from JSON.
func (*RemapInputRequest) UnmarshalVT ¶
func (m *RemapInputRequest) UnmarshalVT(dAtA []byte) error