Documentation ¶
Index ¶
- Variables
- type PGridFloorRect
- func (*PGridFloorRect) Descriptor() ([]byte, []int)deprecated
- func (x *PGridFloorRect) GetDir() int32
- func (x *PGridFloorRect) GetIndex() int32
- func (x *PGridFloorRect) GetIsShow() bool
- func (x *PGridFloorRect) GetName() string
- func (x *PGridFloorRect) GetRect() *PRectInt
- func (x *PGridFloorRect) GetType() int32
- func (x *PGridFloorRect) GetUnlockLv() int32
- func (*PGridFloorRect) ProtoMessage()
- func (x *PGridFloorRect) ProtoReflect() protoreflect.Message
- func (x *PGridFloorRect) Reset()
- func (x *PGridFloorRect) String() string
- func (m *PGridFloorRect) Validate() error
- type PGridFloorRectValidationError
- func (e PGridFloorRectValidationError) Cause() error
- func (e PGridFloorRectValidationError) Error() string
- func (e PGridFloorRectValidationError) ErrorName() string
- func (e PGridFloorRectValidationError) Field() string
- func (e PGridFloorRectValidationError) Key() bool
- func (e PGridFloorRectValidationError) Reason() string
- type PRectInt
- func (*PRectInt) Descriptor() ([]byte, []int)deprecated
- func (x *PRectInt) GetPosition() *PVector2Int
- func (x *PRectInt) GetSize() *PVector2Int
- func (*PRectInt) ProtoMessage()
- func (x *PRectInt) ProtoReflect() protoreflect.Message
- func (x *PRectInt) Reset()
- func (x *PRectInt) String() string
- func (m *PRectInt) Validate() error
- type PRectIntValidationError
- type PVector2Int
- func (*PVector2Int) Descriptor() ([]byte, []int)deprecated
- func (x *PVector2Int) GetX() int32
- func (x *PVector2Int) GetY() int32
- func (*PVector2Int) ProtoMessage()
- func (x *PVector2Int) ProtoReflect() protoreflect.Message
- func (x *PVector2Int) Reset()
- func (x *PVector2Int) String() string
- func (m *PVector2Int) Validate() error
- type PVector2IntValidationError
- func (e PVector2IntValidationError) Cause() error
- func (e PVector2IntValidationError) Error() string
- func (e PVector2IntValidationError) ErrorName() string
- func (e PVector2IntValidationError) Field() string
- func (e PVector2IntValidationError) Key() bool
- func (e PVector2IntValidationError) Reason() string
- type PVector3
- func (*PVector3) Descriptor() ([]byte, []int)deprecated
- func (x *PVector3) GetX() float32
- func (x *PVector3) GetY() float32
- func (x *PVector3) GetZ() float32
- func (*PVector3) ProtoMessage()
- func (x *PVector3) ProtoReflect() protoreflect.Message
- func (x *PVector3) Reset()
- func (x *PVector3) String() string
- func (m *PVector3) Validate() error
- type PVector3ValidationError
Constants ¶
This section is empty.
Variables ¶
var File_grid_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PGridFloorRect ¶
type PGridFloorRect struct { IsShow bool `protobuf:"varint,1,opt,name=isShow,proto3" json:"isShow,omitempty"` // 是否显示 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名字 Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` // 编号 Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` // 类型 Dir int32 `protobuf:"varint,5,opt,name=dir,proto3" json:"dir,omitempty"` // 方向 UnlockLv int32 `protobuf:"varint,6,opt,name=unlockLv,proto3" json:"unlockLv,omitempty"` // 解锁等级 Rect *PRectInt `protobuf:"bytes,7,opt,name=rect,proto3" json:"rect,omitempty"` // 矩形 // contains filtered or unexported fields }
地面格子
func (*PGridFloorRect) Descriptor
deprecated
func (*PGridFloorRect) Descriptor() ([]byte, []int)
Deprecated: Use PGridFloorRect.ProtoReflect.Descriptor instead.
func (*PGridFloorRect) GetDir ¶
func (x *PGridFloorRect) GetDir() int32
func (*PGridFloorRect) GetIndex ¶
func (x *PGridFloorRect) GetIndex() int32
func (*PGridFloorRect) GetIsShow ¶
func (x *PGridFloorRect) GetIsShow() bool
func (*PGridFloorRect) GetName ¶
func (x *PGridFloorRect) GetName() string
func (*PGridFloorRect) GetRect ¶
func (x *PGridFloorRect) GetRect() *PRectInt
func (*PGridFloorRect) GetType ¶
func (x *PGridFloorRect) GetType() int32
func (*PGridFloorRect) GetUnlockLv ¶
func (x *PGridFloorRect) GetUnlockLv() int32
func (*PGridFloorRect) ProtoMessage ¶
func (*PGridFloorRect) ProtoMessage()
func (*PGridFloorRect) ProtoReflect ¶
func (x *PGridFloorRect) ProtoReflect() protoreflect.Message
func (*PGridFloorRect) Reset ¶
func (x *PGridFloorRect) Reset()
func (*PGridFloorRect) String ¶
func (x *PGridFloorRect) String() string
func (*PGridFloorRect) Validate ¶
func (m *PGridFloorRect) Validate() error
Validate checks the field values on PGridFloorRect with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PGridFloorRectValidationError ¶
type PGridFloorRectValidationError struct {
// contains filtered or unexported fields
}
PGridFloorRectValidationError is the validation error returned by PGridFloorRect.Validate if the designated constraints aren't met.
func (PGridFloorRectValidationError) Cause ¶
func (e PGridFloorRectValidationError) Cause() error
Cause function returns cause value.
func (PGridFloorRectValidationError) Error ¶
func (e PGridFloorRectValidationError) Error() string
Error satisfies the builtin error interface
func (PGridFloorRectValidationError) ErrorName ¶
func (e PGridFloorRectValidationError) ErrorName() string
ErrorName returns error name.
func (PGridFloorRectValidationError) Field ¶
func (e PGridFloorRectValidationError) Field() string
Field function returns field value.
func (PGridFloorRectValidationError) Key ¶
func (e PGridFloorRectValidationError) Key() bool
Key function returns key value.
func (PGridFloorRectValidationError) Reason ¶
func (e PGridFloorRectValidationError) Reason() string
Reason function returns reason value.
type PRectInt ¶
type PRectInt struct { Position *PVector2Int `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` // 起点坐标 Size *PVector2Int `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"` // 大小 // contains filtered or unexported fields }
矩形(int)
func (*PRectInt) Descriptor
deprecated
func (*PRectInt) GetPosition ¶
func (x *PRectInt) GetPosition() *PVector2Int
func (*PRectInt) GetSize ¶
func (x *PRectInt) GetSize() *PVector2Int
func (*PRectInt) ProtoMessage ¶
func (*PRectInt) ProtoMessage()
func (*PRectInt) ProtoReflect ¶
func (x *PRectInt) ProtoReflect() protoreflect.Message
type PRectIntValidationError ¶
type PRectIntValidationError struct {
// contains filtered or unexported fields
}
PRectIntValidationError is the validation error returned by PRectInt.Validate if the designated constraints aren't met.
func (PRectIntValidationError) Cause ¶
func (e PRectIntValidationError) Cause() error
Cause function returns cause value.
func (PRectIntValidationError) Error ¶
func (e PRectIntValidationError) Error() string
Error satisfies the builtin error interface
func (PRectIntValidationError) ErrorName ¶
func (e PRectIntValidationError) ErrorName() string
ErrorName returns error name.
func (PRectIntValidationError) Field ¶
func (e PRectIntValidationError) Field() string
Field function returns field value.
func (PRectIntValidationError) Key ¶
func (e PRectIntValidationError) Key() bool
Key function returns key value.
func (PRectIntValidationError) Reason ¶
func (e PRectIntValidationError) Reason() string
Reason function returns reason value.
type PVector2Int ¶
type PVector2Int 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 }
二维向量(int)
func (*PVector2Int) Descriptor
deprecated
func (*PVector2Int) Descriptor() ([]byte, []int)
Deprecated: Use PVector2Int.ProtoReflect.Descriptor instead.
func (*PVector2Int) GetX ¶
func (x *PVector2Int) GetX() int32
func (*PVector2Int) GetY ¶
func (x *PVector2Int) GetY() int32
func (*PVector2Int) ProtoMessage ¶
func (*PVector2Int) ProtoMessage()
func (*PVector2Int) ProtoReflect ¶
func (x *PVector2Int) ProtoReflect() protoreflect.Message
func (*PVector2Int) Reset ¶
func (x *PVector2Int) Reset()
func (*PVector2Int) String ¶
func (x *PVector2Int) String() string
func (*PVector2Int) Validate ¶
func (m *PVector2Int) Validate() error
Validate checks the field values on PVector2Int with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PVector2IntValidationError ¶
type PVector2IntValidationError struct {
// contains filtered or unexported fields
}
PVector2IntValidationError is the validation error returned by PVector2Int.Validate if the designated constraints aren't met.
func (PVector2IntValidationError) Cause ¶
func (e PVector2IntValidationError) Cause() error
Cause function returns cause value.
func (PVector2IntValidationError) Error ¶
func (e PVector2IntValidationError) Error() string
Error satisfies the builtin error interface
func (PVector2IntValidationError) ErrorName ¶
func (e PVector2IntValidationError) ErrorName() string
ErrorName returns error name.
func (PVector2IntValidationError) Field ¶
func (e PVector2IntValidationError) Field() string
Field function returns field value.
func (PVector2IntValidationError) Key ¶
func (e PVector2IntValidationError) Key() bool
Key function returns key value.
func (PVector2IntValidationError) Reason ¶
func (e PVector2IntValidationError) Reason() string
Reason function returns reason value.
type PVector3 ¶
type PVector3 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 }
三维向量(float)
func (*PVector3) Descriptor
deprecated
func (*PVector3) ProtoMessage ¶
func (*PVector3) ProtoMessage()
func (*PVector3) ProtoReflect ¶
func (x *PVector3) ProtoReflect() protoreflect.Message
type PVector3ValidationError ¶
type PVector3ValidationError struct {
// contains filtered or unexported fields
}
PVector3ValidationError is the validation error returned by PVector3.Validate if the designated constraints aren't met.
func (PVector3ValidationError) Cause ¶
func (e PVector3ValidationError) Cause() error
Cause function returns cause value.
func (PVector3ValidationError) Error ¶
func (e PVector3ValidationError) Error() string
Error satisfies the builtin error interface
func (PVector3ValidationError) ErrorName ¶
func (e PVector3ValidationError) ErrorName() string
ErrorName returns error name.
func (PVector3ValidationError) Field ¶
func (e PVector3ValidationError) Field() string
Field function returns field value.
func (PVector3ValidationError) Key ¶
func (e PVector3ValidationError) Key() bool
Key function returns key value.
func (PVector3ValidationError) Reason ¶
func (e PVector3ValidationError) Reason() string
Reason function returns reason value.