Documentation
¶
Index ¶
- Variables
- func RegisterAnticheatServer(s grpc.ServiceRegistrar, srv AnticheatServer)
- type AddPlayerRequest
- func (*AddPlayerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddPlayerRequest) GetData() map[int64]*TimestampedReportData
- func (x *AddPlayerRequest) GetPlayer() *Player
- func (*AddPlayerRequest) ProtoMessage()
- func (x *AddPlayerRequest) ProtoReflect() protoreflect.Message
- func (x *AddPlayerRequest) Reset()
- func (x *AddPlayerRequest) String() string
- type AnticheatClient
- type AnticheatServer
- type AttackData
- func (*AttackData) Descriptor() ([]byte, []int)deprecated
- func (x *AttackData) GetAttacker() *EntityPositionData
- func (x *AttackData) GetCause() DamageCause
- func (x *AttackData) GetTarget() *EntityPositionData
- func (*AttackData) ProtoMessage()
- func (x *AttackData) ProtoReflect() protoreflect.Message
- func (x *AttackData) Reset()
- func (x *AttackData) String() string
- type AxisAlignedBoundingBox
- func (*AxisAlignedBoundingBox) Descriptor() ([]byte, []int)deprecated
- func (x *AxisAlignedBoundingBox) GetMax() *Vec3F
- func (x *AxisAlignedBoundingBox) GetMin() *Vec3F
- func (*AxisAlignedBoundingBox) ProtoMessage()
- func (x *AxisAlignedBoundingBox) ProtoReflect() protoreflect.Message
- func (x *AxisAlignedBoundingBox) Reset()
- func (x *AxisAlignedBoundingBox) String() string
- type BatchedReportData
- func (*BatchedReportData) Descriptor() ([]byte, []int)deprecated
- func (x *BatchedReportData) GetData() []*ReportData
- func (*BatchedReportData) ProtoMessage()
- func (x *BatchedReportData) ProtoReflect() protoreflect.Message
- func (x *BatchedReportData) Reset()
- func (x *BatchedReportData) String() string
- type BatchedReportResponse
- func (*BatchedReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchedReportResponse) GetData() []*BatchedReportResponseEntry
- func (*BatchedReportResponse) ProtoMessage()
- func (x *BatchedReportResponse) ProtoReflect() protoreflect.Message
- func (x *BatchedReportResponse) Reset()
- func (x *BatchedReportResponse) String() string
- type BatchedReportResponseEntry
- func (*BatchedReportResponseEntry) Descriptor() ([]byte, []int)deprecated
- func (x *BatchedReportResponseEntry) GetJudgements() []*JudgementData
- func (x *BatchedReportResponseEntry) GetPlayer() *PlayerReceipt
- func (*BatchedReportResponseEntry) ProtoMessage()
- func (x *BatchedReportResponseEntry) ProtoReflect() protoreflect.Message
- func (x *BatchedReportResponseEntry) Reset()
- func (x *BatchedReportResponseEntry) String() string
- type BlockData
- type BlockFeature
- func (*BlockFeature) Descriptor() ([]byte, []int)deprecated
- func (x *BlockFeature) GetCollisionBoxes() []*AxisAlignedBoundingBox
- func (x *BlockFeature) GetFriction() float32
- func (x *BlockFeature) GetIsAir() bool
- func (x *BlockFeature) GetIsClimbable() bool
- func (x *BlockFeature) GetIsCobweb() bool
- func (x *BlockFeature) GetIsIce() bool
- func (x *BlockFeature) GetIsLiquid() bool
- func (x *BlockFeature) GetIsSlime() bool
- func (x *BlockFeature) GetIsSolid() bool
- func (x *BlockFeature) GetIsSweetBerry() bool
- func (*BlockFeature) ProtoMessage()
- func (x *BlockFeature) ProtoReflect() protoreflect.Message
- func (x *BlockFeature) Reset()
- func (x *BlockFeature) String() string
- type BreakBlockStatus
- func (BreakBlockStatus) Descriptor() protoreflect.EnumDescriptor
- func (x BreakBlockStatus) Enum() *BreakBlockStatus
- func (BreakBlockStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x BreakBlockStatus) Number() protoreflect.EnumNumber
- func (x BreakBlockStatus) String() string
- func (BreakBlockStatus) Type() protoreflect.EnumType
- type ConsumeStatus
- func (ConsumeStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ConsumeStatus) Enum() *ConsumeStatus
- func (ConsumeStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConsumeStatus) Number() protoreflect.EnumNumber
- func (x ConsumeStatus) String() string
- func (ConsumeStatus) Type() protoreflect.EnumType
- type DamageCause
- func (DamageCause) Descriptor() protoreflect.EnumDescriptor
- func (x DamageCause) Enum() *DamageCause
- func (DamageCause) EnumDescriptor() ([]byte, []int)deprecated
- func (x DamageCause) Number() protoreflect.EnumNumber
- func (x DamageCause) String() string
- func (DamageCause) Type() protoreflect.EnumType
- type DeviceOS
- type EffectFeature
- func (*EffectFeature) Descriptor() ([]byte, []int)deprecated
- func (x *EffectFeature) GetAmplifier() int32
- func (x *EffectFeature) GetIsHaste() bool
- func (x *EffectFeature) GetIsJumpBoost() bool
- func (x *EffectFeature) GetIsLevitation() bool
- func (x *EffectFeature) GetIsSlowFalling() bool
- func (x *EffectFeature) GetIsSlowness() bool
- func (x *EffectFeature) GetIsSpeed() bool
- func (*EffectFeature) ProtoMessage()
- func (x *EffectFeature) ProtoReflect() protoreflect.Message
- func (x *EffectFeature) Reset()
- func (x *EffectFeature) String() string
- type EntityPositionData
- func (*EntityPositionData) Descriptor() ([]byte, []int)deprecated
- func (x *EntityPositionData) GetAllowFlying() bool
- func (x *EntityPositionData) GetBelowThatAffectMovement() *BlockData
- func (x *EntityPositionData) GetBoundingBox() *AxisAlignedBoundingBox
- func (x *EntityPositionData) GetCollidedBlocks() []*BlockData
- func (x *EntityPositionData) GetDirection() *Vec3F
- func (x *EntityPositionData) GetHaveGravity() bool
- func (x *EntityPositionData) GetIntersectedBlocks() []*BlockData
- func (x *EntityPositionData) GetIsFlying() bool
- func (x *EntityPositionData) GetIsImmobile() bool
- func (x *EntityPositionData) GetIsOnGround() bool
- func (x *EntityPositionData) GetMovementSpeed() float64
- func (x *EntityPositionData) GetPosition() *Vec3F
- func (x *EntityPositionData) GetWouldCollideVertically() bool
- func (*EntityPositionData) ProtoMessage()
- func (x *EntityPositionData) ProtoReflect() protoreflect.Message
- func (x *EntityPositionData) Reset()
- func (x *EntityPositionData) String() string
- type GameMode
- type InputMode
- type ItemData
- func (*ItemData) Descriptor() ([]byte, []int)deprecated
- func (x *ItemData) GetCount() uint32
- func (x *ItemData) GetFeature() *ItemFeature
- func (x *ItemData) GetVanillaName() string
- func (*ItemData) ProtoMessage()
- func (x *ItemData) ProtoReflect() protoreflect.Message
- func (x *ItemData) Reset()
- func (x *ItemData) String() string
- type ItemFeature
- func (*ItemFeature) Descriptor() ([]byte, []int)deprecated
- func (x *ItemFeature) GetIsArmor() bool
- func (x *ItemFeature) GetIsBlockPlanterItem() bool
- func (x *ItemFeature) GetIsBow() bool
- func (x *ItemFeature) GetIsCrossBow() bool
- func (x *ItemFeature) GetIsDamageable() bool
- func (x *ItemFeature) GetIsFood() bool
- func (x *ItemFeature) GetIsShield() bool
- func (x *ItemFeature) GetIsThrowable() bool
- func (x *ItemFeature) GetIsTool() bool
- func (*ItemFeature) ProtoMessage()
- func (x *ItemFeature) ProtoReflect() protoreflect.Message
- func (x *ItemFeature) Reset()
- func (x *ItemFeature) String() string
- type Judgement
- type JudgementData
- func (*JudgementData) Descriptor() ([]byte, []int)deprecated
- func (x *JudgementData) GetJudgement() Judgement
- func (x *JudgementData) GetMessage() string
- func (x *JudgementData) GetType() string
- func (*JudgementData) ProtoMessage()
- func (x *JudgementData) ProtoReflect() protoreflect.Message
- func (x *JudgementData) Reset()
- func (x *JudgementData) String() string
- type Player
- type PlayerAction
- func (PlayerAction) Descriptor() protoreflect.EnumDescriptor
- func (x PlayerAction) Enum() *PlayerAction
- func (PlayerAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x PlayerAction) Number() protoreflect.EnumNumber
- func (x PlayerAction) String() string
- func (PlayerAction) Type() protoreflect.EnumType
- type PlayerActionData
- func (*PlayerActionData) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerActionData) GetAction() PlayerAction
- func (x *PlayerActionData) GetPosition() *EntityPositionData
- func (*PlayerActionData) ProtoMessage()
- func (x *PlayerActionData) ProtoReflect() protoreflect.Message
- func (x *PlayerActionData) Reset()
- func (x *PlayerActionData) String() string
- type PlayerAttackData
- func (*PlayerAttackData) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerAttackData) GetDamaged() bool
- func (x *PlayerAttackData) GetData() *AttackData
- func (*PlayerAttackData) ProtoMessage()
- func (x *PlayerAttackData) ProtoReflect() protoreflect.Message
- func (x *PlayerAttackData) Reset()
- func (x *PlayerAttackData) String() string
- type PlayerBreakBlockData
- func (*PlayerBreakBlockData) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerBreakBlockData) GetBrokenBlock() *BlockData
- func (x *PlayerBreakBlockData) GetPosition() *EntityPositionData
- func (*PlayerBreakBlockData) ProtoMessage()
- func (x *PlayerBreakBlockData) ProtoReflect() protoreflect.Message
- func (x *PlayerBreakBlockData) Reset()
- func (x *PlayerBreakBlockData) String() string
- type PlayerEatFoodData
- func (*PlayerEatFoodData) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerEatFoodData) GetStatus() ConsumeStatus
- func (*PlayerEatFoodData) ProtoMessage()
- func (x *PlayerEatFoodData) ProtoReflect() protoreflect.Message
- func (x *PlayerEatFoodData) Reset()
- func (x *PlayerEatFoodData) String() string
- type PlayerEffectData
- func (*PlayerEffectData) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerEffectData) GetEffect() []*EffectFeature
- func (*PlayerEffectData) ProtoMessage()
- func (x *PlayerEffectData) ProtoReflect() protoreflect.Message
- func (x *PlayerEffectData) Reset()
- func (x *PlayerEffectData) String() string
- type PlayerGameModeData
- func (*PlayerGameModeData) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerGameModeData) GetGameMode() GameMode
- func (*PlayerGameModeData) ProtoMessage()
- func (x *PlayerGameModeData) ProtoReflect() protoreflect.Message
- func (x *PlayerGameModeData) Reset()
- func (x *PlayerGameModeData) String() string
- type PlayerHeldItemChangeData
- func (*PlayerHeldItemChangeData) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerHeldItemChangeData) GetItem() *ItemData
- func (*PlayerHeldItemChangeData) ProtoMessage()
- func (x *PlayerHeldItemChangeData) ProtoReflect() protoreflect.Message
- func (x *PlayerHeldItemChangeData) Reset()
- func (x *PlayerHeldItemChangeData) String() string
- type PlayerInputModeData
- func (*PlayerInputModeData) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerInputModeData) GetInputMode() InputMode
- func (*PlayerInputModeData) ProtoMessage()
- func (x *PlayerInputModeData) ProtoReflect() protoreflect.Message
- func (x *PlayerInputModeData) Reset()
- func (x *PlayerInputModeData) String() string
- type PlayerLifeData
- type PlayerMotionData
- func (*PlayerMotionData) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerMotionData) GetMotion() *Vec3F
- func (x *PlayerMotionData) GetPosition() *EntityPositionData
- func (*PlayerMotionData) ProtoMessage()
- func (x *PlayerMotionData) ProtoReflect() protoreflect.Message
- func (x *PlayerMotionData) Reset()
- func (x *PlayerMotionData) String() string
- type PlayerMoveData
- func (*PlayerMoveData) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerMoveData) GetNewPosition() *EntityPositionData
- func (x *PlayerMoveData) GetTeleport() bool
- func (*PlayerMoveData) ProtoMessage()
- func (x *PlayerMoveData) ProtoReflect() protoreflect.Message
- func (x *PlayerMoveData) Reset()
- func (x *PlayerMoveData) String() string
- type PlayerPlaceBlockData
- func (*PlayerPlaceBlockData) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerPlaceBlockData) GetPlacedBlock() *BlockData
- func (x *PlayerPlaceBlockData) GetPosition() *EntityPositionData
- func (*PlayerPlaceBlockData) ProtoMessage()
- func (x *PlayerPlaceBlockData) ProtoReflect() protoreflect.Message
- func (x *PlayerPlaceBlockData) Reset()
- func (x *PlayerPlaceBlockData) String() string
- type PlayerReceipt
- type ReportData
- func (*ReportData) Descriptor() ([]byte, []int)deprecated
- func (x *ReportData) GetData() map[int64]*TimestampedReportData
- func (x *ReportData) GetLatency() float64
- func (x *ReportData) GetPlayer() *PlayerReceipt
- func (*ReportData) ProtoMessage()
- func (x *ReportData) ProtoReflect() protoreflect.Message
- func (x *ReportData) Reset()
- func (x *ReportData) String() string
- type ReportResponse
- type TimestampedReportData
- func (*TimestampedReportData) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampedReportData) GetData() []*WildcardReportData
- func (*TimestampedReportData) ProtoMessage()
- func (x *TimestampedReportData) ProtoReflect() protoreflect.Message
- func (x *TimestampedReportData) Reset()
- func (x *TimestampedReportData) String() string
- type UnimplementedAnticheatServer
- func (UnimplementedAnticheatServer) AddPlayer(context.Context, *AddPlayerRequest) (*PlayerReceipt, error)
- func (UnimplementedAnticheatServer) RemovePlayer(context.Context, *PlayerReceipt) (*emptypb.Empty, error)
- func (UnimplementedAnticheatServer) Report(context.Context, *ReportData) (*ReportResponse, error)
- func (UnimplementedAnticheatServer) ReportBatched(context.Context, *BatchedReportData) (*BatchedReportResponse, error)
- type UnsafeAnticheatServer
- type Vec2F
- type Vec2I
- type Vec3F
- type Vec3I
- type WildcardReportData
- func (*WildcardReportData) Descriptor() ([]byte, []int)deprecated
- func (x *WildcardReportData) GetActionData() *PlayerActionData
- func (x *WildcardReportData) GetAttackData() *PlayerAttackData
- func (x *WildcardReportData) GetBreakBlockData() *PlayerBreakBlockData
- func (m *WildcardReportData) GetData() isWildcardReportData_Data
- func (x *WildcardReportData) GetEatFoodData() *PlayerEatFoodData
- func (x *WildcardReportData) GetEffectData() *PlayerEffectData
- func (x *WildcardReportData) GetGameModeData() *PlayerGameModeData
- func (x *WildcardReportData) GetHeldItemChangeData() *PlayerHeldItemChangeData
- func (x *WildcardReportData) GetInputModeData() *PlayerInputModeData
- func (x *WildcardReportData) GetLifeData() *PlayerLifeData
- func (x *WildcardReportData) GetMotionData() *PlayerMotionData
- func (x *WildcardReportData) GetMoveData() *PlayerMoveData
- func (x *WildcardReportData) GetPlaceBlockData() *PlayerPlaceBlockData
- func (*WildcardReportData) ProtoMessage()
- func (x *WildcardReportData) ProtoReflect() protoreflect.Message
- func (x *WildcardReportData) Reset()
- func (x *WildcardReportData) String() string
- type WildcardReportData_ActionData
- type WildcardReportData_AttackData
- type WildcardReportData_BreakBlockData
- type WildcardReportData_EatFoodData
- type WildcardReportData_EffectData
- type WildcardReportData_GameModeData
- type WildcardReportData_HeldItemChangeData
- type WildcardReportData_InputModeData
- type WildcardReportData_LifeData
- type WildcardReportData_MotionData
- type WildcardReportData_MoveData
- type WildcardReportData_PlaceBlockData
Constants ¶
This section is empty.
Variables ¶
var ( Judgement_name = map[int32]string{ 0: "DEBUG", 1: "AMBIGUOUS", 2: "TRIGGER", } Judgement_value = map[string]int32{ "DEBUG": 0, "AMBIGUOUS": 1, "TRIGGER": 2, } )
Enum value maps for Judgement.
var ( GameMode_name = map[int32]string{ 0: "Survival", 1: "Creative", 2: "Adventure", 3: "Spectator", } GameMode_value = map[string]int32{ "Survival": 0, "Creative": 1, "Adventure": 2, "Spectator": 3, } )
Enum value maps for GameMode.
var ( InputMode_name = map[int32]string{ 0: "MouseKeyboard", 1: "Touch", 2: "Gamepad", 3: "MotionController", } InputMode_value = map[string]int32{ "MouseKeyboard": 0, "Touch": 1, "Gamepad": 2, "MotionController": 3, } )
Enum value maps for InputMode.
var ( DeviceOS_name = map[int32]string{ 0: "Android", 1: "IOS", 2: "OSX", 3: "AMAZON", 4: "GEAR_VR", 5: "HOLOLENS", 6: "WINDOWS_10", 7: "WIN32", 8: "DEDICATED", 9: "TVOS", 10: "PLAYSTATION", 11: "NINTENDO", 12: "XBOX", 13: "WINDOWS_PHONE", } DeviceOS_value = map[string]int32{ "Android": 0, "IOS": 1, "OSX": 2, "AMAZON": 3, "GEAR_VR": 4, "HOLOLENS": 5, "WINDOWS_10": 6, "WIN32": 7, "DEDICATED": 8, "TVOS": 9, "PLAYSTATION": 10, "NINTENDO": 11, "XBOX": 12, "WINDOWS_PHONE": 13, } )
Enum value maps for DeviceOS.
var ( PlayerAction_name = map[int32]string{ 0: "Jump", 1: "Swing", 2: "StartSprint", 3: "StopSprint", 4: "StartSneak", 5: "StopSneak", 6: "StartSprintFlying", 7: "StopSprintFlying", 8: "StartGliding", 9: "StopGliding", 10: "StartSwimming", 11: "StopSwimming", 12: "OpenInventory", 13: "CloseInventory", } PlayerAction_value = map[string]int32{ "Jump": 0, "Swing": 1, "StartSprint": 2, "StopSprint": 3, "StartSneak": 4, "StopSneak": 5, "StartSprintFlying": 6, "StopSprintFlying": 7, "StartGliding": 8, "StopGliding": 9, "StartSwimming": 10, "StopSwimming": 11, "OpenInventory": 12, "CloseInventory": 13, } )
Enum value maps for PlayerAction.
var ( DamageCause_name = map[int32]string{ 0: "Contact", 1: "EntityAttack", 2: "Projectile", 3: "Suffocation", 4: "Fall", 5: "Fire", 6: "FireTick", 7: "Lava", 8: "Drowning", 9: "BlockExplosion", 10: "EntityExplosion", 11: "Void", 12: "Suicide", 13: "Magic", 14: "Custom", 15: "Starvation", 16: "FallingBlock", } DamageCause_value = map[string]int32{ "Contact": 0, "EntityAttack": 1, "Projectile": 2, "Suffocation": 3, "Fall": 4, "Fire": 5, "FireTick": 6, "Lava": 7, "Drowning": 8, "BlockExplosion": 9, "EntityExplosion": 10, "Void": 11, "Suicide": 12, "Magic": 13, "Custom": 14, "Starvation": 15, "FallingBlock": 16, } )
Enum value maps for DamageCause.
var ( BreakBlockStatus_name = map[int32]string{ 0: "StartBreak", 1: "AbortBreak", 2: "FinishBreak", } BreakBlockStatus_value = map[string]int32{ "StartBreak": 0, "AbortBreak": 1, "FinishBreak": 2, } )
Enum value maps for BreakBlockStatus.
var ( ConsumeStatus_name = map[int32]string{ 0: "Start", 1: "Stop", } ConsumeStatus_value = map[string]int32{ "Start": 0, "Stop": 1, } )
Enum value maps for ConsumeStatus.
var Anticheat_ServiceDesc = grpc.ServiceDesc{ ServiceName: "xchange.Anticheat", HandlerType: (*AnticheatServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddPlayer", Handler: _Anticheat_AddPlayer_Handler, }, { MethodName: "RemovePlayer", Handler: _Anticheat_RemovePlayer_Handler, }, { MethodName: "Report", Handler: _Anticheat_Report_Handler, }, { MethodName: "ReportBatched", Handler: _Anticheat_ReportBatched_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "xchange.proto", }
Anticheat_ServiceDesc is the grpc.ServiceDesc for Anticheat service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_anticheat_types_proto protoreflect.FileDescriptor
var File_player_proto protoreflect.FileDescriptor
var File_player_wrappers_proto protoreflect.FileDescriptor
var File_primitive_types_proto protoreflect.FileDescriptor
var File_xchange_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAnticheatServer ¶
func RegisterAnticheatServer(s grpc.ServiceRegistrar, srv AnticheatServer)
Types ¶
type AddPlayerRequest ¶
type AddPlayerRequest struct { Player *Player `protobuf:"bytes,1,opt,name=player,proto3" json:"player,omitempty"` // timestamp->report data Data map[int64]*TimestampedReportData `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AddPlayerRequest) Descriptor
deprecated
func (*AddPlayerRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddPlayerRequest.ProtoReflect.Descriptor instead.
func (*AddPlayerRequest) GetData ¶
func (x *AddPlayerRequest) GetData() map[int64]*TimestampedReportData
func (*AddPlayerRequest) GetPlayer ¶
func (x *AddPlayerRequest) GetPlayer() *Player
func (*AddPlayerRequest) ProtoMessage ¶
func (*AddPlayerRequest) ProtoMessage()
func (*AddPlayerRequest) ProtoReflect ¶
func (x *AddPlayerRequest) ProtoReflect() protoreflect.Message
func (*AddPlayerRequest) Reset ¶
func (x *AddPlayerRequest) Reset()
func (*AddPlayerRequest) String ¶
func (x *AddPlayerRequest) String() string
type AnticheatClient ¶
type AnticheatClient interface { AddPlayer(ctx context.Context, in *AddPlayerRequest, opts ...grpc.CallOption) (*PlayerReceipt, error) RemovePlayer(ctx context.Context, in *PlayerReceipt, opts ...grpc.CallOption) (*emptypb.Empty, error) Report(ctx context.Context, in *ReportData, opts ...grpc.CallOption) (*ReportResponse, error) ReportBatched(ctx context.Context, in *BatchedReportData, opts ...grpc.CallOption) (*BatchedReportResponse, error) }
AnticheatClient is the client API for Anticheat service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAnticheatClient ¶
func NewAnticheatClient(cc grpc.ClientConnInterface) AnticheatClient
type AnticheatServer ¶
type AnticheatServer interface { AddPlayer(context.Context, *AddPlayerRequest) (*PlayerReceipt, error) RemovePlayer(context.Context, *PlayerReceipt) (*emptypb.Empty, error) Report(context.Context, *ReportData) (*ReportResponse, error) ReportBatched(context.Context, *BatchedReportData) (*BatchedReportResponse, error) // contains filtered or unexported methods }
AnticheatServer is the server API for Anticheat service. All implementations must embed UnimplementedAnticheatServer for forward compatibility
type AttackData ¶
type AttackData struct { Cause DamageCause `protobuf:"varint,1,opt,name=cause,proto3,enum=xchange.DamageCause" json:"cause,omitempty"` Attacker *EntityPositionData `protobuf:"bytes,2,opt,name=attacker,proto3" json:"attacker,omitempty"` Target *EntityPositionData `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
func (*AttackData) Descriptor
deprecated
func (*AttackData) Descriptor() ([]byte, []int)
Deprecated: Use AttackData.ProtoReflect.Descriptor instead.
func (*AttackData) GetAttacker ¶
func (x *AttackData) GetAttacker() *EntityPositionData
func (*AttackData) GetCause ¶
func (x *AttackData) GetCause() DamageCause
func (*AttackData) GetTarget ¶
func (x *AttackData) GetTarget() *EntityPositionData
func (*AttackData) ProtoMessage ¶
func (*AttackData) ProtoMessage()
func (*AttackData) ProtoReflect ¶
func (x *AttackData) ProtoReflect() protoreflect.Message
func (*AttackData) Reset ¶
func (x *AttackData) Reset()
func (*AttackData) String ¶
func (x *AttackData) String() string
type AxisAlignedBoundingBox ¶
type AxisAlignedBoundingBox struct { Min *Vec3F `protobuf:"bytes,1,opt,name=min,proto3" json:"min,omitempty"` Max *Vec3F `protobuf:"bytes,2,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
func (*AxisAlignedBoundingBox) Descriptor
deprecated
func (*AxisAlignedBoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use AxisAlignedBoundingBox.ProtoReflect.Descriptor instead.
func (*AxisAlignedBoundingBox) GetMax ¶
func (x *AxisAlignedBoundingBox) GetMax() *Vec3F
func (*AxisAlignedBoundingBox) GetMin ¶
func (x *AxisAlignedBoundingBox) GetMin() *Vec3F
func (*AxisAlignedBoundingBox) ProtoMessage ¶
func (*AxisAlignedBoundingBox) ProtoMessage()
func (*AxisAlignedBoundingBox) ProtoReflect ¶
func (x *AxisAlignedBoundingBox) ProtoReflect() protoreflect.Message
func (*AxisAlignedBoundingBox) Reset ¶
func (x *AxisAlignedBoundingBox) Reset()
func (*AxisAlignedBoundingBox) String ¶
func (x *AxisAlignedBoundingBox) String() string
type BatchedReportData ¶
type BatchedReportData struct { Data []*ReportData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BatchedReportData) Descriptor
deprecated
func (*BatchedReportData) Descriptor() ([]byte, []int)
Deprecated: Use BatchedReportData.ProtoReflect.Descriptor instead.
func (*BatchedReportData) GetData ¶
func (x *BatchedReportData) GetData() []*ReportData
func (*BatchedReportData) ProtoMessage ¶
func (*BatchedReportData) ProtoMessage()
func (*BatchedReportData) ProtoReflect ¶
func (x *BatchedReportData) ProtoReflect() protoreflect.Message
func (*BatchedReportData) Reset ¶
func (x *BatchedReportData) Reset()
func (*BatchedReportData) String ¶
func (x *BatchedReportData) String() string
type BatchedReportResponse ¶
type BatchedReportResponse struct { Data []*BatchedReportResponseEntry `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BatchedReportResponse) Descriptor
deprecated
func (*BatchedReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchedReportResponse.ProtoReflect.Descriptor instead.
func (*BatchedReportResponse) GetData ¶
func (x *BatchedReportResponse) GetData() []*BatchedReportResponseEntry
func (*BatchedReportResponse) ProtoMessage ¶
func (*BatchedReportResponse) ProtoMessage()
func (*BatchedReportResponse) ProtoReflect ¶
func (x *BatchedReportResponse) ProtoReflect() protoreflect.Message
func (*BatchedReportResponse) Reset ¶
func (x *BatchedReportResponse) Reset()
func (*BatchedReportResponse) String ¶
func (x *BatchedReportResponse) String() string
type BatchedReportResponseEntry ¶
type BatchedReportResponseEntry struct { Player *PlayerReceipt `protobuf:"bytes,1,opt,name=player,proto3" json:"player,omitempty"` Judgements []*JudgementData `protobuf:"bytes,2,rep,name=judgements,proto3" json:"judgements,omitempty"` // contains filtered or unexported fields }
func (*BatchedReportResponseEntry) Descriptor
deprecated
func (*BatchedReportResponseEntry) Descriptor() ([]byte, []int)
Deprecated: Use BatchedReportResponseEntry.ProtoReflect.Descriptor instead.
func (*BatchedReportResponseEntry) GetJudgements ¶
func (x *BatchedReportResponseEntry) GetJudgements() []*JudgementData
func (*BatchedReportResponseEntry) GetPlayer ¶
func (x *BatchedReportResponseEntry) GetPlayer() *PlayerReceipt
func (*BatchedReportResponseEntry) ProtoMessage ¶
func (*BatchedReportResponseEntry) ProtoMessage()
func (*BatchedReportResponseEntry) ProtoReflect ¶
func (x *BatchedReportResponseEntry) ProtoReflect() protoreflect.Message
func (*BatchedReportResponseEntry) Reset ¶
func (x *BatchedReportResponseEntry) Reset()
func (*BatchedReportResponseEntry) String ¶
func (x *BatchedReportResponseEntry) String() string
type BlockData ¶
type BlockData struct { Feature *BlockFeature `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"` Position *Vec3I `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` // contains filtered or unexported fields }
func (*BlockData) Descriptor
deprecated
func (*BlockData) GetFeature ¶
func (x *BlockData) GetFeature() *BlockFeature
func (*BlockData) GetPosition ¶
func (*BlockData) ProtoMessage ¶
func (*BlockData) ProtoMessage()
func (*BlockData) ProtoReflect ¶
func (x *BlockData) ProtoReflect() protoreflect.Message
type BlockFeature ¶
type BlockFeature struct { CollisionBoxes []*AxisAlignedBoundingBox `protobuf:"bytes,2,rep,name=collisionBoxes,proto3" json:"collisionBoxes,omitempty"` Friction float32 `protobuf:"fixed32,3,opt,name=friction,proto3" json:"friction,omitempty"` IsSolid bool `protobuf:"varint,4,opt,name=isSolid,proto3" json:"isSolid,omitempty"` IsLiquid bool `protobuf:"varint,5,opt,name=isLiquid,proto3" json:"isLiquid,omitempty"` IsAir bool `protobuf:"varint,6,opt,name=isAir,proto3" json:"isAir,omitempty"` IsSlime bool `protobuf:"varint,7,opt,name=isSlime,proto3" json:"isSlime,omitempty"` IsClimbable bool `protobuf:"varint,8,opt,name=isClimbable,proto3" json:"isClimbable,omitempty"` IsIce bool `protobuf:"varint,9,opt,name=isIce,proto3" json:"isIce,omitempty"` IsCobweb bool `protobuf:"varint,10,opt,name=isCobweb,proto3" json:"isCobweb,omitempty"` IsSweetBerry bool `protobuf:"varint,11,opt,name=isSweetBerry,proto3" json:"isSweetBerry,omitempty"` // contains filtered or unexported fields }
func (*BlockFeature) Descriptor
deprecated
func (*BlockFeature) Descriptor() ([]byte, []int)
Deprecated: Use BlockFeature.ProtoReflect.Descriptor instead.
func (*BlockFeature) GetCollisionBoxes ¶
func (x *BlockFeature) GetCollisionBoxes() []*AxisAlignedBoundingBox
func (*BlockFeature) GetFriction ¶
func (x *BlockFeature) GetFriction() float32
func (*BlockFeature) GetIsAir ¶
func (x *BlockFeature) GetIsAir() bool
func (*BlockFeature) GetIsClimbable ¶
func (x *BlockFeature) GetIsClimbable() bool
func (*BlockFeature) GetIsCobweb ¶
func (x *BlockFeature) GetIsCobweb() bool
func (*BlockFeature) GetIsIce ¶
func (x *BlockFeature) GetIsIce() bool
func (*BlockFeature) GetIsLiquid ¶
func (x *BlockFeature) GetIsLiquid() bool
func (*BlockFeature) GetIsSlime ¶
func (x *BlockFeature) GetIsSlime() bool
func (*BlockFeature) GetIsSolid ¶
func (x *BlockFeature) GetIsSolid() bool
func (*BlockFeature) GetIsSweetBerry ¶
func (x *BlockFeature) GetIsSweetBerry() bool
func (*BlockFeature) ProtoMessage ¶
func (*BlockFeature) ProtoMessage()
func (*BlockFeature) ProtoReflect ¶
func (x *BlockFeature) ProtoReflect() protoreflect.Message
func (*BlockFeature) Reset ¶
func (x *BlockFeature) Reset()
func (*BlockFeature) String ¶
func (x *BlockFeature) String() string
type BreakBlockStatus ¶
type BreakBlockStatus int32
const ( BreakBlockStatus_StartBreak BreakBlockStatus = 0 BreakBlockStatus_AbortBreak BreakBlockStatus = 1 BreakBlockStatus_FinishBreak BreakBlockStatus = 2 )
func (BreakBlockStatus) Descriptor ¶
func (BreakBlockStatus) Descriptor() protoreflect.EnumDescriptor
func (BreakBlockStatus) Enum ¶
func (x BreakBlockStatus) Enum() *BreakBlockStatus
func (BreakBlockStatus) EnumDescriptor
deprecated
func (BreakBlockStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use BreakBlockStatus.Descriptor instead.
func (BreakBlockStatus) Number ¶
func (x BreakBlockStatus) Number() protoreflect.EnumNumber
func (BreakBlockStatus) String ¶
func (x BreakBlockStatus) String() string
func (BreakBlockStatus) Type ¶
func (BreakBlockStatus) Type() protoreflect.EnumType
type ConsumeStatus ¶
type ConsumeStatus int32
const ( ConsumeStatus_Start ConsumeStatus = 0 ConsumeStatus_Stop ConsumeStatus = 1 )
func (ConsumeStatus) Descriptor ¶
func (ConsumeStatus) Descriptor() protoreflect.EnumDescriptor
func (ConsumeStatus) Enum ¶
func (x ConsumeStatus) Enum() *ConsumeStatus
func (ConsumeStatus) EnumDescriptor
deprecated
func (ConsumeStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConsumeStatus.Descriptor instead.
func (ConsumeStatus) Number ¶
func (x ConsumeStatus) Number() protoreflect.EnumNumber
func (ConsumeStatus) String ¶
func (x ConsumeStatus) String() string
func (ConsumeStatus) Type ¶
func (ConsumeStatus) Type() protoreflect.EnumType
type DamageCause ¶
type DamageCause int32
const ( DamageCause_Contact DamageCause = 0 DamageCause_EntityAttack DamageCause = 1 DamageCause_Projectile DamageCause = 2 DamageCause_Suffocation DamageCause = 3 DamageCause_Fall DamageCause = 4 DamageCause_Fire DamageCause = 5 DamageCause_FireTick DamageCause = 6 DamageCause_Lava DamageCause = 7 DamageCause_Drowning DamageCause = 8 DamageCause_BlockExplosion DamageCause = 9 DamageCause_EntityExplosion DamageCause = 10 DamageCause_Void DamageCause = 11 DamageCause_Suicide DamageCause = 12 DamageCause_Magic DamageCause = 13 DamageCause_Custom DamageCause = 14 DamageCause_Starvation DamageCause = 15 DamageCause_FallingBlock DamageCause = 16 )
func (DamageCause) Descriptor ¶
func (DamageCause) Descriptor() protoreflect.EnumDescriptor
func (DamageCause) Enum ¶
func (x DamageCause) Enum() *DamageCause
func (DamageCause) EnumDescriptor
deprecated
func (DamageCause) EnumDescriptor() ([]byte, []int)
Deprecated: Use DamageCause.Descriptor instead.
func (DamageCause) Number ¶
func (x DamageCause) Number() protoreflect.EnumNumber
func (DamageCause) String ¶
func (x DamageCause) String() string
func (DamageCause) Type ¶
func (DamageCause) Type() protoreflect.EnumType
type DeviceOS ¶
type DeviceOS int32
const ( DeviceOS_Android DeviceOS = 0 DeviceOS_IOS DeviceOS = 1 DeviceOS_OSX DeviceOS = 2 DeviceOS_AMAZON DeviceOS = 3 DeviceOS_GEAR_VR DeviceOS = 4 DeviceOS_HOLOLENS DeviceOS = 5 DeviceOS_WINDOWS_10 DeviceOS = 6 DeviceOS_WIN32 DeviceOS = 7 DeviceOS_DEDICATED DeviceOS = 8 DeviceOS_TVOS DeviceOS = 9 DeviceOS_PLAYSTATION DeviceOS = 10 DeviceOS_NINTENDO DeviceOS = 11 DeviceOS_XBOX DeviceOS = 12 DeviceOS_WINDOWS_PHONE DeviceOS = 13 )
func (DeviceOS) Descriptor ¶
func (DeviceOS) Descriptor() protoreflect.EnumDescriptor
func (DeviceOS) EnumDescriptor
deprecated
func (DeviceOS) Number ¶
func (x DeviceOS) Number() protoreflect.EnumNumber
func (DeviceOS) Type ¶
func (DeviceOS) Type() protoreflect.EnumType
type EffectFeature ¶
type EffectFeature struct { Amplifier int32 `protobuf:"varint,1,opt,name=amplifier,proto3" json:"amplifier,omitempty"` IsSpeed bool `protobuf:"varint,2,opt,name=isSpeed,proto3" json:"isSpeed,omitempty"` IsHaste bool `protobuf:"varint,3,opt,name=isHaste,proto3" json:"isHaste,omitempty"` IsSlowFalling bool `protobuf:"varint,4,opt,name=isSlowFalling,proto3" json:"isSlowFalling,omitempty"` IsLevitation bool `protobuf:"varint,5,opt,name=isLevitation,proto3" json:"isLevitation,omitempty"` IsSlowness bool `protobuf:"varint,6,opt,name=isSlowness,proto3" json:"isSlowness,omitempty"` IsJumpBoost bool `protobuf:"varint,7,opt,name=isJumpBoost,proto3" json:"isJumpBoost,omitempty"` // contains filtered or unexported fields }
func (*EffectFeature) Descriptor
deprecated
func (*EffectFeature) Descriptor() ([]byte, []int)
Deprecated: Use EffectFeature.ProtoReflect.Descriptor instead.
func (*EffectFeature) GetAmplifier ¶
func (x *EffectFeature) GetAmplifier() int32
func (*EffectFeature) GetIsHaste ¶
func (x *EffectFeature) GetIsHaste() bool
func (*EffectFeature) GetIsJumpBoost ¶
func (x *EffectFeature) GetIsJumpBoost() bool
func (*EffectFeature) GetIsLevitation ¶
func (x *EffectFeature) GetIsLevitation() bool
func (*EffectFeature) GetIsSlowFalling ¶
func (x *EffectFeature) GetIsSlowFalling() bool
func (*EffectFeature) GetIsSlowness ¶
func (x *EffectFeature) GetIsSlowness() bool
func (*EffectFeature) GetIsSpeed ¶
func (x *EffectFeature) GetIsSpeed() bool
func (*EffectFeature) ProtoMessage ¶
func (*EffectFeature) ProtoMessage()
func (*EffectFeature) ProtoReflect ¶
func (x *EffectFeature) ProtoReflect() protoreflect.Message
func (*EffectFeature) Reset ¶
func (x *EffectFeature) Reset()
func (*EffectFeature) String ¶
func (x *EffectFeature) String() string
type EntityPositionData ¶
type EntityPositionData struct { Position *Vec3F `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` Direction *Vec3F `protobuf:"bytes,2,opt,name=direction,proto3" json:"direction,omitempty"` BoundingBox *AxisAlignedBoundingBox `protobuf:"bytes,3,opt,name=boundingBox,proto3" json:"boundingBox,omitempty"` IsImmobile bool `protobuf:"varint,4,opt,name=isImmobile,proto3" json:"isImmobile,omitempty"` IsOnGround bool `protobuf:"varint,5,opt,name=isOnGround,proto3" json:"isOnGround,omitempty"` AllowFlying bool `protobuf:"varint,6,opt,name=allowFlying,proto3" json:"allowFlying,omitempty"` IsFlying bool `protobuf:"varint,7,opt,name=isFlying,proto3" json:"isFlying,omitempty"` HaveGravity bool `protobuf:"varint,8,opt,name=haveGravity,proto3" json:"haveGravity,omitempty"` MovementSpeed float64 `protobuf:"fixed64,9,opt,name=movementSpeed,proto3" json:"movementSpeed,omitempty"` WouldCollideVertically bool `protobuf:"varint,10,opt,name=wouldCollideVertically,proto3" json:"wouldCollideVertically,omitempty"` BelowThatAffectMovement *BlockData `protobuf:"bytes,11,opt,name=belowThatAffectMovement,proto3" json:"belowThatAffectMovement,omitempty"` CollidedBlocks []*BlockData `protobuf:"bytes,12,rep,name=collidedBlocks,proto3" json:"collidedBlocks,omitempty"` IntersectedBlocks []*BlockData `protobuf:"bytes,13,rep,name=intersectedBlocks,proto3" json:"intersectedBlocks,omitempty"` // contains filtered or unexported fields }
func (*EntityPositionData) Descriptor
deprecated
func (*EntityPositionData) Descriptor() ([]byte, []int)
Deprecated: Use EntityPositionData.ProtoReflect.Descriptor instead.
func (*EntityPositionData) GetAllowFlying ¶
func (x *EntityPositionData) GetAllowFlying() bool
func (*EntityPositionData) GetBelowThatAffectMovement ¶
func (x *EntityPositionData) GetBelowThatAffectMovement() *BlockData
func (*EntityPositionData) GetBoundingBox ¶
func (x *EntityPositionData) GetBoundingBox() *AxisAlignedBoundingBox
func (*EntityPositionData) GetCollidedBlocks ¶
func (x *EntityPositionData) GetCollidedBlocks() []*BlockData
func (*EntityPositionData) GetDirection ¶
func (x *EntityPositionData) GetDirection() *Vec3F
func (*EntityPositionData) GetHaveGravity ¶
func (x *EntityPositionData) GetHaveGravity() bool
func (*EntityPositionData) GetIntersectedBlocks ¶
func (x *EntityPositionData) GetIntersectedBlocks() []*BlockData
func (*EntityPositionData) GetIsFlying ¶
func (x *EntityPositionData) GetIsFlying() bool
func (*EntityPositionData) GetIsImmobile ¶
func (x *EntityPositionData) GetIsImmobile() bool
func (*EntityPositionData) GetIsOnGround ¶
func (x *EntityPositionData) GetIsOnGround() bool
func (*EntityPositionData) GetMovementSpeed ¶
func (x *EntityPositionData) GetMovementSpeed() float64
func (*EntityPositionData) GetPosition ¶
func (x *EntityPositionData) GetPosition() *Vec3F
func (*EntityPositionData) GetWouldCollideVertically ¶
func (x *EntityPositionData) GetWouldCollideVertically() bool
func (*EntityPositionData) ProtoMessage ¶
func (*EntityPositionData) ProtoMessage()
func (*EntityPositionData) ProtoReflect ¶
func (x *EntityPositionData) ProtoReflect() protoreflect.Message
func (*EntityPositionData) Reset ¶
func (x *EntityPositionData) Reset()
func (*EntityPositionData) String ¶
func (x *EntityPositionData) String() string
type GameMode ¶
type GameMode int32
func (GameMode) Descriptor ¶
func (GameMode) Descriptor() protoreflect.EnumDescriptor
func (GameMode) EnumDescriptor
deprecated
func (GameMode) Number ¶
func (x GameMode) Number() protoreflect.EnumNumber
func (GameMode) Type ¶
func (GameMode) Type() protoreflect.EnumType
type InputMode ¶
type InputMode int32
func (InputMode) Descriptor ¶
func (InputMode) Descriptor() protoreflect.EnumDescriptor
func (InputMode) EnumDescriptor
deprecated
func (InputMode) Number ¶
func (x InputMode) Number() protoreflect.EnumNumber
func (InputMode) Type ¶
func (InputMode) Type() protoreflect.EnumType
type ItemData ¶
type ItemData struct { Feature *ItemFeature `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"` VanillaName string `protobuf:"bytes,2,opt,name=vanillaName,proto3" json:"vanillaName,omitempty"` Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ItemData) Descriptor
deprecated
func (*ItemData) GetFeature ¶
func (x *ItemData) GetFeature() *ItemFeature
func (*ItemData) GetVanillaName ¶
func (*ItemData) ProtoMessage ¶
func (*ItemData) ProtoMessage()
func (*ItemData) ProtoReflect ¶
func (x *ItemData) ProtoReflect() protoreflect.Message
type ItemFeature ¶
type ItemFeature struct { IsArmor bool `protobuf:"varint,1,opt,name=isArmor,proto3" json:"isArmor,omitempty"` IsBlockPlanterItem bool `protobuf:"varint,2,opt,name=isBlockPlanterItem,proto3" json:"isBlockPlanterItem,omitempty"` IsDamageable bool `protobuf:"varint,3,opt,name=isDamageable,proto3" json:"isDamageable,omitempty"` IsFood bool `protobuf:"varint,4,opt,name=isFood,proto3" json:"isFood,omitempty"` IsThrowable bool `protobuf:"varint,5,opt,name=isThrowable,proto3" json:"isThrowable,omitempty"` IsTool bool `protobuf:"varint,6,opt,name=isTool,proto3" json:"isTool,omitempty"` IsBow bool `protobuf:"varint,7,opt,name=isBow,proto3" json:"isBow,omitempty"` IsCrossBow bool `protobuf:"varint,8,opt,name=isCrossBow,proto3" json:"isCrossBow,omitempty"` IsShield bool `protobuf:"varint,9,opt,name=isShield,proto3" json:"isShield,omitempty"` // contains filtered or unexported fields }
func (*ItemFeature) Descriptor
deprecated
func (*ItemFeature) Descriptor() ([]byte, []int)
Deprecated: Use ItemFeature.ProtoReflect.Descriptor instead.
func (*ItemFeature) GetIsArmor ¶
func (x *ItemFeature) GetIsArmor() bool
func (*ItemFeature) GetIsBlockPlanterItem ¶
func (x *ItemFeature) GetIsBlockPlanterItem() bool
func (*ItemFeature) GetIsBow ¶
func (x *ItemFeature) GetIsBow() bool
func (*ItemFeature) GetIsCrossBow ¶
func (x *ItemFeature) GetIsCrossBow() bool
func (*ItemFeature) GetIsDamageable ¶
func (x *ItemFeature) GetIsDamageable() bool
func (*ItemFeature) GetIsFood ¶
func (x *ItemFeature) GetIsFood() bool
func (*ItemFeature) GetIsShield ¶
func (x *ItemFeature) GetIsShield() bool
func (*ItemFeature) GetIsThrowable ¶
func (x *ItemFeature) GetIsThrowable() bool
func (*ItemFeature) GetIsTool ¶
func (x *ItemFeature) GetIsTool() bool
func (*ItemFeature) ProtoMessage ¶
func (*ItemFeature) ProtoMessage()
func (*ItemFeature) ProtoReflect ¶
func (x *ItemFeature) ProtoReflect() protoreflect.Message
func (*ItemFeature) Reset ¶
func (x *ItemFeature) Reset()
func (*ItemFeature) String ¶
func (x *ItemFeature) String() string
type Judgement ¶
type Judgement int32
func (Judgement) Descriptor ¶
func (Judgement) Descriptor() protoreflect.EnumDescriptor
func (Judgement) EnumDescriptor
deprecated
func (Judgement) Number ¶
func (x Judgement) Number() protoreflect.EnumNumber
func (Judgement) Type ¶
func (Judgement) Type() protoreflect.EnumType
type JudgementData ¶
type JudgementData struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Judgement Judgement `protobuf:"varint,2,opt,name=judgement,proto3,enum=xchange.Judgement" json:"judgement,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*JudgementData) Descriptor
deprecated
func (*JudgementData) Descriptor() ([]byte, []int)
Deprecated: Use JudgementData.ProtoReflect.Descriptor instead.
func (*JudgementData) GetJudgement ¶
func (x *JudgementData) GetJudgement() Judgement
func (*JudgementData) GetMessage ¶
func (x *JudgementData) GetMessage() string
func (*JudgementData) GetType ¶
func (x *JudgementData) GetType() string
func (*JudgementData) ProtoMessage ¶
func (*JudgementData) ProtoMessage()
func (*JudgementData) ProtoReflect ¶
func (x *JudgementData) ProtoReflect() protoreflect.Message
func (*JudgementData) Reset ¶
func (x *JudgementData) Reset()
func (*JudgementData) String ¶
func (x *JudgementData) String() string
type Player ¶
type Player struct { Os DeviceOS `protobuf:"varint,1,opt,name=os,proto3,enum=xchange.DeviceOS" json:"os,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Player) Descriptor
deprecated
func (*Player) ProtoMessage ¶
func (*Player) ProtoMessage()
func (*Player) ProtoReflect ¶
func (x *Player) ProtoReflect() protoreflect.Message
type PlayerAction ¶
type PlayerAction int32
const ( PlayerAction_Jump PlayerAction = 0 PlayerAction_Swing PlayerAction = 1 PlayerAction_StartSprint PlayerAction = 2 PlayerAction_StopSprint PlayerAction = 3 PlayerAction_StartSneak PlayerAction = 4 PlayerAction_StopSneak PlayerAction = 5 PlayerAction_StartSprintFlying PlayerAction = 6 PlayerAction_StopSprintFlying PlayerAction = 7 PlayerAction_StartGliding PlayerAction = 8 PlayerAction_StopGliding PlayerAction = 9 PlayerAction_StartSwimming PlayerAction = 10 PlayerAction_StopSwimming PlayerAction = 11 PlayerAction_OpenInventory PlayerAction = 12 PlayerAction_CloseInventory PlayerAction = 13 )
func (PlayerAction) Descriptor ¶
func (PlayerAction) Descriptor() protoreflect.EnumDescriptor
func (PlayerAction) Enum ¶
func (x PlayerAction) Enum() *PlayerAction
func (PlayerAction) EnumDescriptor
deprecated
func (PlayerAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use PlayerAction.Descriptor instead.
func (PlayerAction) Number ¶
func (x PlayerAction) Number() protoreflect.EnumNumber
func (PlayerAction) String ¶
func (x PlayerAction) String() string
func (PlayerAction) Type ¶
func (PlayerAction) Type() protoreflect.EnumType
type PlayerActionData ¶
type PlayerActionData struct { Position *EntityPositionData `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` Action PlayerAction `protobuf:"varint,2,opt,name=action,proto3,enum=xchange.PlayerAction" json:"action,omitempty"` // contains filtered or unexported fields }
func (*PlayerActionData) Descriptor
deprecated
func (*PlayerActionData) Descriptor() ([]byte, []int)
Deprecated: Use PlayerActionData.ProtoReflect.Descriptor instead.
func (*PlayerActionData) GetAction ¶
func (x *PlayerActionData) GetAction() PlayerAction
func (*PlayerActionData) GetPosition ¶
func (x *PlayerActionData) GetPosition() *EntityPositionData
func (*PlayerActionData) ProtoMessage ¶
func (*PlayerActionData) ProtoMessage()
func (*PlayerActionData) ProtoReflect ¶
func (x *PlayerActionData) ProtoReflect() protoreflect.Message
func (*PlayerActionData) Reset ¶
func (x *PlayerActionData) Reset()
func (*PlayerActionData) String ¶
func (x *PlayerActionData) String() string
type PlayerAttackData ¶
type PlayerAttackData struct { Data *AttackData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Damaged bool `protobuf:"varint,2,opt,name=damaged,proto3" json:"damaged,omitempty"` // contains filtered or unexported fields }
func (*PlayerAttackData) Descriptor
deprecated
func (*PlayerAttackData) Descriptor() ([]byte, []int)
Deprecated: Use PlayerAttackData.ProtoReflect.Descriptor instead.
func (*PlayerAttackData) GetDamaged ¶
func (x *PlayerAttackData) GetDamaged() bool
func (*PlayerAttackData) GetData ¶
func (x *PlayerAttackData) GetData() *AttackData
func (*PlayerAttackData) ProtoMessage ¶
func (*PlayerAttackData) ProtoMessage()
func (*PlayerAttackData) ProtoReflect ¶
func (x *PlayerAttackData) ProtoReflect() protoreflect.Message
func (*PlayerAttackData) Reset ¶
func (x *PlayerAttackData) Reset()
func (*PlayerAttackData) String ¶
func (x *PlayerAttackData) String() string
type PlayerBreakBlockData ¶
type PlayerBreakBlockData struct { Position *EntityPositionData `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` BrokenBlock *BlockData `protobuf:"bytes,2,opt,name=brokenBlock,proto3" json:"brokenBlock,omitempty"` // contains filtered or unexported fields }
func (*PlayerBreakBlockData) Descriptor
deprecated
func (*PlayerBreakBlockData) Descriptor() ([]byte, []int)
Deprecated: Use PlayerBreakBlockData.ProtoReflect.Descriptor instead.
func (*PlayerBreakBlockData) GetBrokenBlock ¶
func (x *PlayerBreakBlockData) GetBrokenBlock() *BlockData
func (*PlayerBreakBlockData) GetPosition ¶
func (x *PlayerBreakBlockData) GetPosition() *EntityPositionData
func (*PlayerBreakBlockData) ProtoMessage ¶
func (*PlayerBreakBlockData) ProtoMessage()
func (*PlayerBreakBlockData) ProtoReflect ¶
func (x *PlayerBreakBlockData) ProtoReflect() protoreflect.Message
func (*PlayerBreakBlockData) Reset ¶
func (x *PlayerBreakBlockData) Reset()
func (*PlayerBreakBlockData) String ¶
func (x *PlayerBreakBlockData) String() string
type PlayerEatFoodData ¶
type PlayerEatFoodData struct { Status ConsumeStatus `protobuf:"varint,2,opt,name=status,proto3,enum=xchange.ConsumeStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*PlayerEatFoodData) Descriptor
deprecated
func (*PlayerEatFoodData) Descriptor() ([]byte, []int)
Deprecated: Use PlayerEatFoodData.ProtoReflect.Descriptor instead.
func (*PlayerEatFoodData) GetStatus ¶
func (x *PlayerEatFoodData) GetStatus() ConsumeStatus
func (*PlayerEatFoodData) ProtoMessage ¶
func (*PlayerEatFoodData) ProtoMessage()
func (*PlayerEatFoodData) ProtoReflect ¶
func (x *PlayerEatFoodData) ProtoReflect() protoreflect.Message
func (*PlayerEatFoodData) Reset ¶
func (x *PlayerEatFoodData) Reset()
func (*PlayerEatFoodData) String ¶
func (x *PlayerEatFoodData) String() string
type PlayerEffectData ¶
type PlayerEffectData struct { Effect []*EffectFeature `protobuf:"bytes,1,rep,name=effect,proto3" json:"effect,omitempty"` // contains filtered or unexported fields }
func (*PlayerEffectData) Descriptor
deprecated
func (*PlayerEffectData) Descriptor() ([]byte, []int)
Deprecated: Use PlayerEffectData.ProtoReflect.Descriptor instead.
func (*PlayerEffectData) GetEffect ¶
func (x *PlayerEffectData) GetEffect() []*EffectFeature
func (*PlayerEffectData) ProtoMessage ¶
func (*PlayerEffectData) ProtoMessage()
func (*PlayerEffectData) ProtoReflect ¶
func (x *PlayerEffectData) ProtoReflect() protoreflect.Message
func (*PlayerEffectData) Reset ¶
func (x *PlayerEffectData) Reset()
func (*PlayerEffectData) String ¶
func (x *PlayerEffectData) String() string
type PlayerGameModeData ¶
type PlayerGameModeData struct { GameMode GameMode `protobuf:"varint,1,opt,name=gameMode,proto3,enum=xchange.GameMode" json:"gameMode,omitempty"` // contains filtered or unexported fields }
func (*PlayerGameModeData) Descriptor
deprecated
func (*PlayerGameModeData) Descriptor() ([]byte, []int)
Deprecated: Use PlayerGameModeData.ProtoReflect.Descriptor instead.
func (*PlayerGameModeData) GetGameMode ¶
func (x *PlayerGameModeData) GetGameMode() GameMode
func (*PlayerGameModeData) ProtoMessage ¶
func (*PlayerGameModeData) ProtoMessage()
func (*PlayerGameModeData) ProtoReflect ¶
func (x *PlayerGameModeData) ProtoReflect() protoreflect.Message
func (*PlayerGameModeData) Reset ¶
func (x *PlayerGameModeData) Reset()
func (*PlayerGameModeData) String ¶
func (x *PlayerGameModeData) String() string
type PlayerHeldItemChangeData ¶
type PlayerHeldItemChangeData struct { Item *ItemData `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*PlayerHeldItemChangeData) Descriptor
deprecated
func (*PlayerHeldItemChangeData) Descriptor() ([]byte, []int)
Deprecated: Use PlayerHeldItemChangeData.ProtoReflect.Descriptor instead.
func (*PlayerHeldItemChangeData) GetItem ¶
func (x *PlayerHeldItemChangeData) GetItem() *ItemData
func (*PlayerHeldItemChangeData) ProtoMessage ¶
func (*PlayerHeldItemChangeData) ProtoMessage()
func (*PlayerHeldItemChangeData) ProtoReflect ¶
func (x *PlayerHeldItemChangeData) ProtoReflect() protoreflect.Message
func (*PlayerHeldItemChangeData) Reset ¶
func (x *PlayerHeldItemChangeData) Reset()
func (*PlayerHeldItemChangeData) String ¶
func (x *PlayerHeldItemChangeData) String() string
type PlayerInputModeData ¶
type PlayerInputModeData struct { InputMode InputMode `protobuf:"varint,1,opt,name=inputMode,proto3,enum=xchange.InputMode" json:"inputMode,omitempty"` // contains filtered or unexported fields }
func (*PlayerInputModeData) Descriptor
deprecated
func (*PlayerInputModeData) Descriptor() ([]byte, []int)
Deprecated: Use PlayerInputModeData.ProtoReflect.Descriptor instead.
func (*PlayerInputModeData) GetInputMode ¶
func (x *PlayerInputModeData) GetInputMode() InputMode
func (*PlayerInputModeData) ProtoMessage ¶
func (*PlayerInputModeData) ProtoMessage()
func (*PlayerInputModeData) ProtoReflect ¶
func (x *PlayerInputModeData) ProtoReflect() protoreflect.Message
func (*PlayerInputModeData) Reset ¶
func (x *PlayerInputModeData) Reset()
func (*PlayerInputModeData) String ¶
func (x *PlayerInputModeData) String() string
type PlayerLifeData ¶
type PlayerLifeData struct { Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"` // contains filtered or unexported fields }
func (*PlayerLifeData) Descriptor
deprecated
func (*PlayerLifeData) Descriptor() ([]byte, []int)
Deprecated: Use PlayerLifeData.ProtoReflect.Descriptor instead.
func (*PlayerLifeData) GetAlive ¶
func (x *PlayerLifeData) GetAlive() bool
func (*PlayerLifeData) ProtoMessage ¶
func (*PlayerLifeData) ProtoMessage()
func (*PlayerLifeData) ProtoReflect ¶
func (x *PlayerLifeData) ProtoReflect() protoreflect.Message
func (*PlayerLifeData) Reset ¶
func (x *PlayerLifeData) Reset()
func (*PlayerLifeData) String ¶
func (x *PlayerLifeData) String() string
type PlayerMotionData ¶
type PlayerMotionData struct { Position *EntityPositionData `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` Motion *Vec3F `protobuf:"bytes,2,opt,name=motion,proto3" json:"motion,omitempty"` // contains filtered or unexported fields }
func (*PlayerMotionData) Descriptor
deprecated
func (*PlayerMotionData) Descriptor() ([]byte, []int)
Deprecated: Use PlayerMotionData.ProtoReflect.Descriptor instead.
func (*PlayerMotionData) GetMotion ¶
func (x *PlayerMotionData) GetMotion() *Vec3F
func (*PlayerMotionData) GetPosition ¶
func (x *PlayerMotionData) GetPosition() *EntityPositionData
func (*PlayerMotionData) ProtoMessage ¶
func (*PlayerMotionData) ProtoMessage()
func (*PlayerMotionData) ProtoReflect ¶
func (x *PlayerMotionData) ProtoReflect() protoreflect.Message
func (*PlayerMotionData) Reset ¶
func (x *PlayerMotionData) Reset()
func (*PlayerMotionData) String ¶
func (x *PlayerMotionData) String() string
type PlayerMoveData ¶
type PlayerMoveData struct { NewPosition *EntityPositionData `protobuf:"bytes,1,opt,name=newPosition,proto3" json:"newPosition,omitempty"` Teleport bool `protobuf:"varint,2,opt,name=teleport,proto3" json:"teleport,omitempty"` // contains filtered or unexported fields }
func (*PlayerMoveData) Descriptor
deprecated
func (*PlayerMoveData) Descriptor() ([]byte, []int)
Deprecated: Use PlayerMoveData.ProtoReflect.Descriptor instead.
func (*PlayerMoveData) GetNewPosition ¶
func (x *PlayerMoveData) GetNewPosition() *EntityPositionData
func (*PlayerMoveData) GetTeleport ¶
func (x *PlayerMoveData) GetTeleport() bool
func (*PlayerMoveData) ProtoMessage ¶
func (*PlayerMoveData) ProtoMessage()
func (*PlayerMoveData) ProtoReflect ¶
func (x *PlayerMoveData) ProtoReflect() protoreflect.Message
func (*PlayerMoveData) Reset ¶
func (x *PlayerMoveData) Reset()
func (*PlayerMoveData) String ¶
func (x *PlayerMoveData) String() string
type PlayerPlaceBlockData ¶
type PlayerPlaceBlockData struct { Position *EntityPositionData `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` PlacedBlock *BlockData `protobuf:"bytes,2,opt,name=placedBlock,proto3" json:"placedBlock,omitempty"` // contains filtered or unexported fields }
func (*PlayerPlaceBlockData) Descriptor
deprecated
func (*PlayerPlaceBlockData) Descriptor() ([]byte, []int)
Deprecated: Use PlayerPlaceBlockData.ProtoReflect.Descriptor instead.
func (*PlayerPlaceBlockData) GetPlacedBlock ¶
func (x *PlayerPlaceBlockData) GetPlacedBlock() *BlockData
func (*PlayerPlaceBlockData) GetPosition ¶
func (x *PlayerPlaceBlockData) GetPosition() *EntityPositionData
func (*PlayerPlaceBlockData) ProtoMessage ¶
func (*PlayerPlaceBlockData) ProtoMessage()
func (*PlayerPlaceBlockData) ProtoReflect ¶
func (x *PlayerPlaceBlockData) ProtoReflect() protoreflect.Message
func (*PlayerPlaceBlockData) Reset ¶
func (x *PlayerPlaceBlockData) Reset()
func (*PlayerPlaceBlockData) String ¶
func (x *PlayerPlaceBlockData) String() string
type PlayerReceipt ¶
type PlayerReceipt struct { InternalId string `protobuf:"bytes,1,opt,name=internalId,proto3" json:"internalId,omitempty"` // contains filtered or unexported fields }
func (*PlayerReceipt) Descriptor
deprecated
func (*PlayerReceipt) Descriptor() ([]byte, []int)
Deprecated: Use PlayerReceipt.ProtoReflect.Descriptor instead.
func (*PlayerReceipt) GetInternalId ¶
func (x *PlayerReceipt) GetInternalId() string
func (*PlayerReceipt) ProtoMessage ¶
func (*PlayerReceipt) ProtoMessage()
func (*PlayerReceipt) ProtoReflect ¶
func (x *PlayerReceipt) ProtoReflect() protoreflect.Message
func (*PlayerReceipt) Reset ¶
func (x *PlayerReceipt) Reset()
func (*PlayerReceipt) String ¶
func (x *PlayerReceipt) String() string
type ReportData ¶
type ReportData struct { Player *PlayerReceipt `protobuf:"bytes,1,opt,name=player,proto3" json:"player,omitempty"` Latency float64 `protobuf:"fixed64,2,opt,name=latency,proto3" json:"latency,omitempty"` // timestamp->report data Data map[int64]*TimestampedReportData `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ReportData) Descriptor
deprecated
func (*ReportData) Descriptor() ([]byte, []int)
Deprecated: Use ReportData.ProtoReflect.Descriptor instead.
func (*ReportData) GetData ¶
func (x *ReportData) GetData() map[int64]*TimestampedReportData
func (*ReportData) GetLatency ¶
func (x *ReportData) GetLatency() float64
func (*ReportData) GetPlayer ¶
func (x *ReportData) GetPlayer() *PlayerReceipt
func (*ReportData) ProtoMessage ¶
func (*ReportData) ProtoMessage()
func (*ReportData) ProtoReflect ¶
func (x *ReportData) ProtoReflect() protoreflect.Message
func (*ReportData) Reset ¶
func (x *ReportData) Reset()
func (*ReportData) String ¶
func (x *ReportData) String() string
type ReportResponse ¶
type ReportResponse struct { Judgements []*JudgementData `protobuf:"bytes,1,rep,name=judgements,proto3" json:"judgements,omitempty"` // contains filtered or unexported fields }
func (*ReportResponse) Descriptor
deprecated
func (*ReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportResponse.ProtoReflect.Descriptor instead.
func (*ReportResponse) GetJudgements ¶
func (x *ReportResponse) GetJudgements() []*JudgementData
func (*ReportResponse) ProtoMessage ¶
func (*ReportResponse) ProtoMessage()
func (*ReportResponse) ProtoReflect ¶
func (x *ReportResponse) ProtoReflect() protoreflect.Message
func (*ReportResponse) Reset ¶
func (x *ReportResponse) Reset()
func (*ReportResponse) String ¶
func (x *ReportResponse) String() string
type TimestampedReportData ¶
type TimestampedReportData struct { Data []*WildcardReportData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*TimestampedReportData) Descriptor
deprecated
func (*TimestampedReportData) Descriptor() ([]byte, []int)
Deprecated: Use TimestampedReportData.ProtoReflect.Descriptor instead.
func (*TimestampedReportData) GetData ¶
func (x *TimestampedReportData) GetData() []*WildcardReportData
func (*TimestampedReportData) ProtoMessage ¶
func (*TimestampedReportData) ProtoMessage()
func (*TimestampedReportData) ProtoReflect ¶
func (x *TimestampedReportData) ProtoReflect() protoreflect.Message
func (*TimestampedReportData) Reset ¶
func (x *TimestampedReportData) Reset()
func (*TimestampedReportData) String ¶
func (x *TimestampedReportData) String() string
type UnimplementedAnticheatServer ¶
type UnimplementedAnticheatServer struct { }
UnimplementedAnticheatServer must be embedded to have forward compatible implementations.
func (UnimplementedAnticheatServer) AddPlayer ¶
func (UnimplementedAnticheatServer) AddPlayer(context.Context, *AddPlayerRequest) (*PlayerReceipt, error)
func (UnimplementedAnticheatServer) RemovePlayer ¶
func (UnimplementedAnticheatServer) RemovePlayer(context.Context, *PlayerReceipt) (*emptypb.Empty, error)
func (UnimplementedAnticheatServer) Report ¶
func (UnimplementedAnticheatServer) Report(context.Context, *ReportData) (*ReportResponse, error)
func (UnimplementedAnticheatServer) ReportBatched ¶
func (UnimplementedAnticheatServer) ReportBatched(context.Context, *BatchedReportData) (*BatchedReportResponse, error)
type UnsafeAnticheatServer ¶
type UnsafeAnticheatServer interface {
// contains filtered or unexported methods
}
UnsafeAnticheatServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnticheatServer will result in compilation errors.
type Vec2F ¶
type Vec2F struct { X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"` Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
func (*Vec2F) Descriptor
deprecated
func (*Vec2F) ProtoMessage ¶
func (*Vec2F) ProtoMessage()
func (*Vec2F) ProtoReflect ¶
func (x *Vec2F) ProtoReflect() protoreflect.Message
type Vec2I ¶
type Vec2I struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
func (*Vec2I) Descriptor
deprecated
func (*Vec2I) ProtoMessage ¶
func (*Vec2I) ProtoMessage()
func (*Vec2I) ProtoReflect ¶
func (x *Vec2I) ProtoReflect() protoreflect.Message
type Vec3F ¶
type Vec3F struct { X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"` Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"` Z float32 `protobuf:"fixed32,3,opt,name=z,proto3" json:"z,omitempty"` // contains filtered or unexported fields }
func (*Vec3F) Descriptor
deprecated
func (*Vec3F) ProtoMessage ¶
func (*Vec3F) ProtoMessage()
func (*Vec3F) ProtoReflect ¶
func (x *Vec3F) ProtoReflect() protoreflect.Message
type Vec3I ¶
type Vec3I struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` Z int32 `protobuf:"varint,3,opt,name=z,proto3" json:"z,omitempty"` // contains filtered or unexported fields }
func (*Vec3I) Descriptor
deprecated
func (*Vec3I) ProtoMessage ¶
func (*Vec3I) ProtoMessage()
func (*Vec3I) ProtoReflect ¶
func (x *Vec3I) ProtoReflect() protoreflect.Message
type WildcardReportData ¶
type WildcardReportData struct { // Types that are assignable to Data: // // *WildcardReportData_ActionData // *WildcardReportData_MoveData // *WildcardReportData_PlaceBlockData // *WildcardReportData_BreakBlockData // *WildcardReportData_EatFoodData // *WildcardReportData_AttackData // *WildcardReportData_EffectData // *WildcardReportData_GameModeData // *WildcardReportData_MotionData // *WildcardReportData_InputModeData // *WildcardReportData_HeldItemChangeData // *WildcardReportData_LifeData Data isWildcardReportData_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*WildcardReportData) Descriptor
deprecated
func (*WildcardReportData) Descriptor() ([]byte, []int)
Deprecated: Use WildcardReportData.ProtoReflect.Descriptor instead.
func (*WildcardReportData) GetActionData ¶
func (x *WildcardReportData) GetActionData() *PlayerActionData
func (*WildcardReportData) GetAttackData ¶
func (x *WildcardReportData) GetAttackData() *PlayerAttackData
func (*WildcardReportData) GetBreakBlockData ¶
func (x *WildcardReportData) GetBreakBlockData() *PlayerBreakBlockData
func (*WildcardReportData) GetData ¶
func (m *WildcardReportData) GetData() isWildcardReportData_Data
func (*WildcardReportData) GetEatFoodData ¶
func (x *WildcardReportData) GetEatFoodData() *PlayerEatFoodData
func (*WildcardReportData) GetEffectData ¶
func (x *WildcardReportData) GetEffectData() *PlayerEffectData
func (*WildcardReportData) GetGameModeData ¶
func (x *WildcardReportData) GetGameModeData() *PlayerGameModeData
func (*WildcardReportData) GetHeldItemChangeData ¶
func (x *WildcardReportData) GetHeldItemChangeData() *PlayerHeldItemChangeData
func (*WildcardReportData) GetInputModeData ¶
func (x *WildcardReportData) GetInputModeData() *PlayerInputModeData
func (*WildcardReportData) GetLifeData ¶
func (x *WildcardReportData) GetLifeData() *PlayerLifeData
func (*WildcardReportData) GetMotionData ¶
func (x *WildcardReportData) GetMotionData() *PlayerMotionData
func (*WildcardReportData) GetMoveData ¶
func (x *WildcardReportData) GetMoveData() *PlayerMoveData
func (*WildcardReportData) GetPlaceBlockData ¶
func (x *WildcardReportData) GetPlaceBlockData() *PlayerPlaceBlockData
func (*WildcardReportData) ProtoMessage ¶
func (*WildcardReportData) ProtoMessage()
func (*WildcardReportData) ProtoReflect ¶
func (x *WildcardReportData) ProtoReflect() protoreflect.Message
func (*WildcardReportData) Reset ¶
func (x *WildcardReportData) Reset()
func (*WildcardReportData) String ¶
func (x *WildcardReportData) String() string
type WildcardReportData_ActionData ¶
type WildcardReportData_ActionData struct {
ActionData *PlayerActionData `protobuf:"bytes,1,opt,name=action_data,json=actionData,proto3,oneof"`
}
type WildcardReportData_AttackData ¶
type WildcardReportData_AttackData struct {
AttackData *PlayerAttackData `protobuf:"bytes,6,opt,name=attack_data,json=attackData,proto3,oneof"`
}
type WildcardReportData_BreakBlockData ¶
type WildcardReportData_BreakBlockData struct {
BreakBlockData *PlayerBreakBlockData `protobuf:"bytes,4,opt,name=break_block_data,json=breakBlockData,proto3,oneof"`
}
type WildcardReportData_EatFoodData ¶
type WildcardReportData_EatFoodData struct {
EatFoodData *PlayerEatFoodData `protobuf:"bytes,5,opt,name=eat_food_data,json=eatFoodData,proto3,oneof"`
}
type WildcardReportData_EffectData ¶
type WildcardReportData_EffectData struct {
EffectData *PlayerEffectData `protobuf:"bytes,7,opt,name=effect_data,json=effectData,proto3,oneof"`
}
type WildcardReportData_GameModeData ¶
type WildcardReportData_GameModeData struct {
GameModeData *PlayerGameModeData `protobuf:"bytes,9,opt,name=game_mode_data,json=gameModeData,proto3,oneof"`
}
type WildcardReportData_HeldItemChangeData ¶
type WildcardReportData_HeldItemChangeData struct {
HeldItemChangeData *PlayerHeldItemChangeData `protobuf:"bytes,12,opt,name=held_item_change_data,json=heldItemChangeData,proto3,oneof"`
}
type WildcardReportData_InputModeData ¶
type WildcardReportData_InputModeData struct {
InputModeData *PlayerInputModeData `protobuf:"bytes,11,opt,name=input_mode_data,json=inputModeData,proto3,oneof"`
}
type WildcardReportData_LifeData ¶
type WildcardReportData_LifeData struct {
LifeData *PlayerLifeData `protobuf:"bytes,13,opt,name=life_data,json=lifeData,proto3,oneof"`
}
type WildcardReportData_MotionData ¶
type WildcardReportData_MotionData struct {
MotionData *PlayerMotionData `protobuf:"bytes,10,opt,name=motion_data,json=motionData,proto3,oneof"`
}
type WildcardReportData_MoveData ¶
type WildcardReportData_MoveData struct {
MoveData *PlayerMoveData `protobuf:"bytes,2,opt,name=move_data,json=moveData,proto3,oneof"`
}
type WildcardReportData_PlaceBlockData ¶
type WildcardReportData_PlaceBlockData struct {
PlaceBlockData *PlayerPlaceBlockData `protobuf:"bytes,3,opt,name=place_block_data,json=placeBlockData,proto3,oneof"`
}