Documentation
¶
Index ¶
- Variables
- type CSPlayerGMCmd
- func (*CSPlayerGMCmd) Descriptor() ([]byte, []int)deprecated
- func (x *CSPlayerGMCmd) GetOp() uint32
- func (x *CSPlayerGMCmd) GetParamStr() string
- func (x *CSPlayerGMCmd) GetParams() []uint32
- func (*CSPlayerGMCmd) ProtoMessage()
- func (x *CSPlayerGMCmd) ProtoReflect() protoreflect.Message
- func (x *CSPlayerGMCmd) Reset()
- func (x *CSPlayerGMCmd) String() string
- func (m *CSPlayerGMCmd) Validate() error
- type CSPlayerGMCmdValidationError
- func (e CSPlayerGMCmdValidationError) Cause() error
- func (e CSPlayerGMCmdValidationError) Error() string
- func (e CSPlayerGMCmdValidationError) ErrorName() string
- func (e CSPlayerGMCmdValidationError) Field() string
- func (e CSPlayerGMCmdValidationError) Key() bool
- func (e CSPlayerGMCmdValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_gm_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CSPlayerGMCmd ¶ added in v1.4.5
type CSPlayerGMCmd struct { Op uint32 `protobuf:"varint,1,opt,name=op,proto3" json:"op,omitempty"` Params []uint32 `protobuf:"varint,2,rep,packed,name=params,proto3" json:"params,omitempty"` ParamStr string `protobuf:"bytes,3,opt,name=ParamStr,proto3" json:"ParamStr,omitempty"` // contains filtered or unexported fields }
func (*CSPlayerGMCmd) Descriptor
deprecated
added in
v1.4.5
func (*CSPlayerGMCmd) Descriptor() ([]byte, []int)
Deprecated: Use CSPlayerGMCmd.ProtoReflect.Descriptor instead.
func (*CSPlayerGMCmd) GetOp ¶ added in v1.4.5
func (x *CSPlayerGMCmd) GetOp() uint32
func (*CSPlayerGMCmd) GetParamStr ¶ added in v1.4.6
func (x *CSPlayerGMCmd) GetParamStr() string
func (*CSPlayerGMCmd) GetParams ¶ added in v1.4.5
func (x *CSPlayerGMCmd) GetParams() []uint32
func (*CSPlayerGMCmd) ProtoMessage ¶ added in v1.4.5
func (*CSPlayerGMCmd) ProtoMessage()
func (*CSPlayerGMCmd) ProtoReflect ¶ added in v1.4.5
func (x *CSPlayerGMCmd) ProtoReflect() protoreflect.Message
func (*CSPlayerGMCmd) Reset ¶ added in v1.4.5
func (x *CSPlayerGMCmd) Reset()
func (*CSPlayerGMCmd) String ¶ added in v1.4.5
func (x *CSPlayerGMCmd) String() string
func (*CSPlayerGMCmd) Validate ¶ added in v1.4.5
func (m *CSPlayerGMCmd) Validate() error
Validate checks the field values on CSPlayerGMCmd with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CSPlayerGMCmdValidationError ¶ added in v1.4.5
type CSPlayerGMCmdValidationError struct {
// contains filtered or unexported fields
}
CSPlayerGMCmdValidationError is the validation error returned by CSPlayerGMCmd.Validate if the designated constraints aren't met.
func (CSPlayerGMCmdValidationError) Cause ¶ added in v1.4.5
func (e CSPlayerGMCmdValidationError) Cause() error
Cause function returns cause value.
func (CSPlayerGMCmdValidationError) Error ¶ added in v1.4.5
func (e CSPlayerGMCmdValidationError) Error() string
Error satisfies the builtin error interface
func (CSPlayerGMCmdValidationError) ErrorName ¶ added in v1.4.5
func (e CSPlayerGMCmdValidationError) ErrorName() string
ErrorName returns error name.
func (CSPlayerGMCmdValidationError) Field ¶ added in v1.4.5
func (e CSPlayerGMCmdValidationError) Field() string
Field function returns field value.
func (CSPlayerGMCmdValidationError) Key ¶ added in v1.4.5
func (e CSPlayerGMCmdValidationError) Key() bool
Key function returns key value.
func (CSPlayerGMCmdValidationError) Reason ¶ added in v1.4.5
func (e CSPlayerGMCmdValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.