Documentation ¶
Index ¶
- Constants
- Variables
- func SetDataModel(md interface{}, msgdata *TableData)
- func StringToArray(str string, sub string) []int64
- func UnPackMsgDataToField(f reflect.Value, msgdata *FieldData)
- type AOIMsgRet
- func (*AOIMsgRet) Descriptor() ([]byte, []int)
- func (m *AOIMsgRet) GetEnterAOIs() []*SyncEntityProps
- func (m *AOIMsgRet) GetLeaveAOIs() []uint64
- func (m *AOIMsgRet) GetUpdateAOIs() []*SyncEntityProps
- func (m *AOIMsgRet) Marshal() (dAtA []byte, err error)
- func (m *AOIMsgRet) MarshalTo(dAtA []byte) (int, error)
- func (m *AOIMsgRet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AOIMsgRet) Name() string
- func (*AOIMsgRet) ProtoMessage()
- func (m *AOIMsgRet) Reset()
- func (m *AOIMsgRet) Size() (n int)
- func (m *AOIMsgRet) String() string
- func (m *AOIMsgRet) Unmarshal(dAtA []byte) error
- func (m *AOIMsgRet) XXX_DiscardUnknown()
- func (m *AOIMsgRet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AOIMsgRet) XXX_Merge(src proto.Message)
- func (*AOIMsgRet) XXX_MessageName() string
- func (m *AOIMsgRet) XXX_Size() int
- func (m *AOIMsgRet) XXX_Unmarshal(b []byte) error
- type BaseBinary
- func (this *BaseBinary) Clear()
- func (this *BaseBinary) ContainKey(index int32) int
- func (*BaseBinary) Descriptor() ([]byte, []int)
- func (m *BaseBinary) GetArrayLen() int32
- func (m *BaseBinary) GetData() []byte
- func (m *BaseBinary) GetOneDataBitNum() int32
- func (m *BaseBinary) Marshal() (dAtA []byte, err error)
- func (m *BaseBinary) MarshalTo(dAtA []byte) (int, error)
- func (m *BaseBinary) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BaseBinary) Name() string
- func (*BaseBinary) ProtoMessage()
- func (m *BaseBinary) Reset()
- func (m *BaseBinary) Scan(value interface{}) error
- func (this *BaseBinary) SetArrayLen(alen int32)
- func (m *BaseBinary) Size() (n int)
- func (m *BaseBinary) String() string
- func (this *BaseBinary) ToValuesJson() []interface{}
- func (m *BaseBinary) Unmarshal(dAtA []byte) error
- func (this *BaseBinary) UpData(index, val int32) bool
- func (m BaseBinary) Value() (driver.Value, error)
- func (m *BaseBinary) XXX_DiscardUnknown()
- func (m *BaseBinary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BaseBinary) XXX_Merge(src proto.Message)
- func (*BaseBinary) XXX_MessageName() string
- func (m *BaseBinary) XXX_Size() int
- func (m *BaseBinary) XXX_Unmarshal(b []byte) error
- type BaseData
- func (this *BaseData) Clear()
- func (this BaseData) Clone() *BaseData
- func (this *BaseData) Count() (result int64)
- func (*BaseData) Descriptor() ([]byte, []int)
- func (m *BaseData) GetData() map[int64]int64
- func (this *BaseData) GetNumByKey(key int64) int64
- func (m *BaseData) Marshal() (dAtA []byte, err error)
- func (m *BaseData) MarshalTo(dAtA []byte) (int, error)
- func (m *BaseData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (this *BaseData) MaxItem() (key, num int64)
- func (*BaseData) Name() string
- func (*BaseData) ProtoMessage()
- func (m *BaseData) Reset()
- func (m *BaseData) Scan(value interface{}) error
- func (m *BaseData) Size() (n int)
- func (m *BaseData) String() string
- func (this *BaseData) ToString() string
- func (m *BaseData) Unmarshal(dAtA []byte) error
- func (this *BaseData) UpData(key, num int64)
- func (this *BaseData) UpDataBc(addbc, delbc *BaseData)
- func (m BaseData) Value() (driver.Value, error)
- func (m *BaseData) XXX_DiscardUnknown()
- func (m *BaseData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BaseData) XXX_Merge(src proto.Message)
- func (*BaseData) XXX_MessageName() string
- func (m *BaseData) XXX_Size() int
- func (m *BaseData) XXX_Unmarshal(b []byte) error
- type ClientVerifyFailedRet
- func (*ClientVerifyFailedRet) Descriptor() ([]byte, []int)
- func (m *ClientVerifyFailedRet) Marshal() (dAtA []byte, err error)
- func (m *ClientVerifyFailedRet) MarshalTo(dAtA []byte) (int, error)
- func (m *ClientVerifyFailedRet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClientVerifyFailedRet) Name() string
- func (*ClientVerifyFailedRet) ProtoMessage()
- func (m *ClientVerifyFailedRet) Reset()
- func (m *ClientVerifyFailedRet) Size() (n int)
- func (m *ClientVerifyFailedRet) String() string
- func (m *ClientVerifyFailedRet) Unmarshal(dAtA []byte) error
- func (m *ClientVerifyFailedRet) XXX_DiscardUnknown()
- func (m *ClientVerifyFailedRet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientVerifyFailedRet) XXX_Merge(src proto.Message)
- func (*ClientVerifyFailedRet) XXX_MessageName() string
- func (m *ClientVerifyFailedRet) XXX_Size() int
- func (m *ClientVerifyFailedRet) XXX_Unmarshal(b []byte) error
- type ClientVerifyReq
- func (*ClientVerifyReq) Descriptor() ([]byte, []int)
- func (m *ClientVerifyReq) GetSessState() uint32
- func (m *ClientVerifyReq) GetSessType() uint32
- func (m *ClientVerifyReq) GetSessUID() uint64
- func (m *ClientVerifyReq) GetToken() string
- func (m *ClientVerifyReq) Marshal() (dAtA []byte, err error)
- func (m *ClientVerifyReq) MarshalTo(dAtA []byte) (int, error)
- func (m *ClientVerifyReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClientVerifyReq) Name() string
- func (*ClientVerifyReq) ProtoMessage()
- func (m *ClientVerifyReq) Reset()
- func (m *ClientVerifyReq) Size() (n int)
- func (m *ClientVerifyReq) String() string
- func (m *ClientVerifyReq) Unmarshal(dAtA []byte) error
- func (m *ClientVerifyReq) XXX_DiscardUnknown()
- func (m *ClientVerifyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientVerifyReq) XXX_Merge(src proto.Message)
- func (*ClientVerifyReq) XXX_MessageName() string
- func (m *ClientVerifyReq) XXX_Size() int
- func (m *ClientVerifyReq) XXX_Unmarshal(b []byte) error
- type ClientVerifySucceedRet
- func (*ClientVerifySucceedRet) Descriptor() ([]byte, []int)
- func (m *ClientVerifySucceedRet) Marshal() (dAtA []byte, err error)
- func (m *ClientVerifySucceedRet) MarshalTo(dAtA []byte) (int, error)
- func (m *ClientVerifySucceedRet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClientVerifySucceedRet) Name() string
- func (*ClientVerifySucceedRet) ProtoMessage()
- func (m *ClientVerifySucceedRet) Reset()
- func (m *ClientVerifySucceedRet) Size() (n int)
- func (m *ClientVerifySucceedRet) String() string
- func (m *ClientVerifySucceedRet) Unmarshal(dAtA []byte) error
- func (m *ClientVerifySucceedRet) XXX_DiscardUnknown()
- func (m *ClientVerifySucceedRet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientVerifySucceedRet) XXX_Merge(src proto.Message)
- func (*ClientVerifySucceedRet) XXX_MessageName() string
- func (m *ClientVerifySucceedRet) XXX_Size() int
- func (m *ClientVerifySucceedRet) XXX_Unmarshal(b []byte) error
- type CodeRet
- func (*CodeRet) Descriptor() ([]byte, []int)
- func (m *CodeRet) GetCode() int64
- func (m *CodeRet) GetCodeMessage() string
- func (m *CodeRet) Marshal() (dAtA []byte, err error)
- func (m *CodeRet) MarshalTo(dAtA []byte) (int, error)
- func (m *CodeRet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CodeRet) Name() string
- func (*CodeRet) ProtoMessage()
- func (m *CodeRet) Reset()
- func (m *CodeRet) Size() (n int)
- func (m *CodeRet) String() string
- func (m *CodeRet) Unmarshal(dAtA []byte) error
- func (m *CodeRet) XXX_DiscardUnknown()
- func (m *CodeRet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CodeRet) XXX_Merge(src proto.Message)
- func (*CodeRet) XXX_MessageName() string
- func (m *CodeRet) XXX_Size() int
- func (m *CodeRet) XXX_Unmarshal(b []byte) error
- type CreateEntityReqSrv
- func (*CreateEntityReqSrv) Descriptor() ([]byte, []int)
- func (m *CreateEntityReqSrv) GetCallbackID() uint64
- func (m *CreateEntityReqSrv) GetDBID() uint64
- func (m *CreateEntityReqSrv) GetEntityID() uint64
- func (m *CreateEntityReqSrv) GetEntityType() string
- func (m *CreateEntityReqSrv) GetSrcEntityID() uint64
- func (m *CreateEntityReqSrv) GetSrcSpaceID() uint64
- func (m *CreateEntityReqSrv) GetSrcSrvID() uint64
- func (m *CreateEntityReqSrv) Marshal() (dAtA []byte, err error)
- func (m *CreateEntityReqSrv) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateEntityReqSrv) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateEntityReqSrv) Name() string
- func (*CreateEntityReqSrv) ProtoMessage()
- func (m *CreateEntityReqSrv) Reset()
- func (m *CreateEntityReqSrv) Size() (n int)
- func (m *CreateEntityReqSrv) String() string
- func (m *CreateEntityReqSrv) Unmarshal(dAtA []byte) error
- func (m *CreateEntityReqSrv) XXX_DiscardUnknown()
- func (m *CreateEntityReqSrv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateEntityReqSrv) XXX_Merge(src proto.Message)
- func (*CreateEntityReqSrv) XXX_MessageName() string
- func (m *CreateEntityReqSrv) XXX_Size() int
- func (m *CreateEntityReqSrv) XXX_Unmarshal(b []byte) error
- type CreateEntityRetSrv
- func (*CreateEntityRetSrv) Descriptor() ([]byte, []int)
- func (m *CreateEntityRetSrv) GetCallbackID() uint64
- func (m *CreateEntityRetSrv) GetCreateEntityID() uint64
- func (m *CreateEntityRetSrv) GetResultMsg() *CodeRet
- func (m *CreateEntityRetSrv) Marshal() (dAtA []byte, err error)
- func (m *CreateEntityRetSrv) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateEntityRetSrv) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateEntityRetSrv) Name() string
- func (*CreateEntityRetSrv) ProtoMessage()
- func (m *CreateEntityRetSrv) Reset()
- func (m *CreateEntityRetSrv) Size() (n int)
- func (m *CreateEntityRetSrv) String() string
- func (m *CreateEntityRetSrv) Unmarshal(dAtA []byte) error
- func (m *CreateEntityRetSrv) XXX_DiscardUnknown()
- func (m *CreateEntityRetSrv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateEntityRetSrv) XXX_Merge(src proto.Message)
- func (*CreateEntityRetSrv) XXX_MessageName() string
- func (m *CreateEntityRetSrv) XXX_Size() int
- func (m *CreateEntityRetSrv) XXX_Unmarshal(b []byte) error
- type DBDataModel
- func (*DBDataModel) Descriptor() ([]byte, []int)
- func (m *DBDataModel) GetIsPartial() bool
- func (m *DBDataModel) GetKeyName() string
- func (m *DBDataModel) GetMsgContent() []byte
- func (m *DBDataModel) Marshal() (dAtA []byte, err error)
- func (m *DBDataModel) MarshalTo(dAtA []byte) (int, error)
- func (m *DBDataModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DBDataModel) Name() string
- func (*DBDataModel) ProtoMessage()
- func (m *DBDataModel) Reset()
- func (m *DBDataModel) Size() (n int)
- func (m *DBDataModel) String() string
- func (m *DBDataModel) Unmarshal(dAtA []byte) error
- func (m *DBDataModel) XXX_DiscardUnknown()
- func (m *DBDataModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DBDataModel) XXX_Merge(src proto.Message)
- func (*DBDataModel) XXX_MessageName() string
- func (m *DBDataModel) XXX_Size() int
- func (m *DBDataModel) XXX_Unmarshal(b []byte) error
- type DBGetPlayerInfoAck
- func (*DBGetPlayerInfoAck) Descriptor() ([]byte, []int)
- func (m *DBGetPlayerInfoAck) GetBackKey() uint64
- func (m *DBGetPlayerInfoAck) GetDBList() []*DBDataModel
- func (m *DBGetPlayerInfoAck) Marshal() (dAtA []byte, err error)
- func (m *DBGetPlayerInfoAck) MarshalTo(dAtA []byte) (int, error)
- func (m *DBGetPlayerInfoAck) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DBGetPlayerInfoAck) Name() string
- func (*DBGetPlayerInfoAck) ProtoMessage()
- func (m *DBGetPlayerInfoAck) Reset()
- func (m *DBGetPlayerInfoAck) Size() (n int)
- func (m *DBGetPlayerInfoAck) String() string
- func (m *DBGetPlayerInfoAck) Unmarshal(dAtA []byte) error
- func (m *DBGetPlayerInfoAck) XXX_DiscardUnknown()
- func (m *DBGetPlayerInfoAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DBGetPlayerInfoAck) XXX_Merge(src proto.Message)
- func (*DBGetPlayerInfoAck) XXX_MessageName() string
- func (m *DBGetPlayerInfoAck) XXX_Size() int
- func (m *DBGetPlayerInfoAck) XXX_Unmarshal(b []byte) error
- type DBGetPlayerInfoEndAck
- func (*DBGetPlayerInfoEndAck) Descriptor() ([]byte, []int)
- func (m *DBGetPlayerInfoEndAck) GetBackKey() uint64
- func (m *DBGetPlayerInfoEndAck) Marshal() (dAtA []byte, err error)
- func (m *DBGetPlayerInfoEndAck) MarshalTo(dAtA []byte) (int, error)
- func (m *DBGetPlayerInfoEndAck) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DBGetPlayerInfoEndAck) Name() string
- func (*DBGetPlayerInfoEndAck) ProtoMessage()
- func (m *DBGetPlayerInfoEndAck) Reset()
- func (m *DBGetPlayerInfoEndAck) Size() (n int)
- func (m *DBGetPlayerInfoEndAck) String() string
- func (m *DBGetPlayerInfoEndAck) Unmarshal(dAtA []byte) error
- func (m *DBGetPlayerInfoEndAck) XXX_DiscardUnknown()
- func (m *DBGetPlayerInfoEndAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DBGetPlayerInfoEndAck) XXX_Merge(src proto.Message)
- func (*DBGetPlayerInfoEndAck) XXX_MessageName() string
- func (m *DBGetPlayerInfoEndAck) XXX_Size() int
- func (m *DBGetPlayerInfoEndAck) XXX_Unmarshal(b []byte) error
- type DBGetPlayerInfoReq
- func (*DBGetPlayerInfoReq) Descriptor() ([]byte, []int)
- func (m *DBGetPlayerInfoReq) GetBackKey() uint64
- func (m *DBGetPlayerInfoReq) GetPID() uint64
- func (m *DBGetPlayerInfoReq) GetSpaceID() uint64
- func (m *DBGetPlayerInfoReq) GetSrvID() uint64
- func (m *DBGetPlayerInfoReq) GetTables() []string
- func (m *DBGetPlayerInfoReq) Marshal() (dAtA []byte, err error)
- func (m *DBGetPlayerInfoReq) MarshalTo(dAtA []byte) (int, error)
- func (m *DBGetPlayerInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DBGetPlayerInfoReq) Name() string
- func (*DBGetPlayerInfoReq) ProtoMessage()
- func (m *DBGetPlayerInfoReq) Reset()
- func (m *DBGetPlayerInfoReq) Size() (n int)
- func (m *DBGetPlayerInfoReq) String() string
- func (m *DBGetPlayerInfoReq) Unmarshal(dAtA []byte) error
- func (m *DBGetPlayerInfoReq) XXX_DiscardUnknown()
- func (m *DBGetPlayerInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DBGetPlayerInfoReq) XXX_Merge(src proto.Message)
- func (*DBGetPlayerInfoReq) XXX_MessageName() string
- func (m *DBGetPlayerInfoReq) XXX_Size() int
- func (m *DBGetPlayerInfoReq) XXX_Unmarshal(b []byte) error
- type DBGetPlayerTableReq
- func (*DBGetPlayerTableReq) Descriptor() ([]byte, []int)
- func (m *DBGetPlayerTableReq) GetBackKey() uint64
- func (m *DBGetPlayerTableReq) GetLimit() int32
- func (m *DBGetPlayerTableReq) GetPID() uint64
- func (m *DBGetPlayerTableReq) GetSpaceID() uint64
- func (m *DBGetPlayerTableReq) GetSrvID() uint64
- func (m *DBGetPlayerTableReq) GetTable() string
- func (m *DBGetPlayerTableReq) Marshal() (dAtA []byte, err error)
- func (m *DBGetPlayerTableReq) MarshalTo(dAtA []byte) (int, error)
- func (m *DBGetPlayerTableReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DBGetPlayerTableReq) Name() string
- func (*DBGetPlayerTableReq) ProtoMessage()
- func (m *DBGetPlayerTableReq) Reset()
- func (m *DBGetPlayerTableReq) Size() (n int)
- func (m *DBGetPlayerTableReq) String() string
- func (m *DBGetPlayerTableReq) Unmarshal(dAtA []byte) error
- func (m *DBGetPlayerTableReq) XXX_DiscardUnknown()
- func (m *DBGetPlayerTableReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DBGetPlayerTableReq) XXX_Merge(src proto.Message)
- func (*DBGetPlayerTableReq) XXX_MessageName() string
- func (m *DBGetPlayerTableReq) XXX_Size() int
- func (m *DBGetPlayerTableReq) XXX_Unmarshal(b []byte) error
- type DBUpUserDatasReq
- func (*DBUpUserDatasReq) Descriptor() ([]byte, []int)
- func (m *DBUpUserDatasReq) GetDBList() []*DBDataModel
- func (m *DBUpUserDatasReq) GetDelList() []*DBDataModel
- func (m *DBUpUserDatasReq) GetPID() uint64
- func (m *DBUpUserDatasReq) GetSpaceID() uint64
- func (m *DBUpUserDatasReq) GetSrvID() uint64
- func (m *DBUpUserDatasReq) Marshal() (dAtA []byte, err error)
- func (m *DBUpUserDatasReq) MarshalTo(dAtA []byte) (int, error)
- func (m *DBUpUserDatasReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DBUpUserDatasReq) Name() string
- func (*DBUpUserDatasReq) ProtoMessage()
- func (m *DBUpUserDatasReq) Reset()
- func (m *DBUpUserDatasReq) Size() (n int)
- func (m *DBUpUserDatasReq) String() string
- func (m *DBUpUserDatasReq) Unmarshal(dAtA []byte) error
- func (m *DBUpUserDatasReq) XXX_DiscardUnknown()
- func (m *DBUpUserDatasReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DBUpUserDatasReq) XXX_Merge(src proto.Message)
- func (*DBUpUserDatasReq) XXX_MessageName() string
- func (m *DBUpUserDatasReq) XXX_Size() int
- func (m *DBUpUserDatasReq) XXX_Unmarshal(b []byte) error
- type DataType
- type DestroyEntityReqSrv
- func (*DestroyEntityReqSrv) Descriptor() ([]byte, []int)
- func (m *DestroyEntityReqSrv) GetCallbackID() uint64
- func (m *DestroyEntityReqSrv) GetEntityID() uint64
- func (m *DestroyEntityReqSrv) GetSrcEntityID() uint64
- func (m *DestroyEntityReqSrv) GetSrcSpaceID() uint64
- func (m *DestroyEntityReqSrv) GetSrcSrvID() uint64
- func (m *DestroyEntityReqSrv) Marshal() (dAtA []byte, err error)
- func (m *DestroyEntityReqSrv) MarshalTo(dAtA []byte) (int, error)
- func (m *DestroyEntityReqSrv) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DestroyEntityReqSrv) Name() string
- func (*DestroyEntityReqSrv) ProtoMessage()
- func (m *DestroyEntityReqSrv) Reset()
- func (m *DestroyEntityReqSrv) Size() (n int)
- func (m *DestroyEntityReqSrv) String() string
- func (m *DestroyEntityReqSrv) Unmarshal(dAtA []byte) error
- func (m *DestroyEntityReqSrv) XXX_DiscardUnknown()
- func (m *DestroyEntityReqSrv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DestroyEntityReqSrv) XXX_Merge(src proto.Message)
- func (*DestroyEntityReqSrv) XXX_MessageName() string
- func (m *DestroyEntityReqSrv) XXX_Size() int
- func (m *DestroyEntityReqSrv) XXX_Unmarshal(b []byte) error
- type DestroyEntityRetSrv
- func (*DestroyEntityRetSrv) Descriptor() ([]byte, []int)
- func (m *DestroyEntityRetSrv) GetCallbackID() uint64
- func (m *DestroyEntityRetSrv) GetDestroyEntityID() uint64
- func (m *DestroyEntityRetSrv) GetResultMsg() *CodeRet
- func (m *DestroyEntityRetSrv) Marshal() (dAtA []byte, err error)
- func (m *DestroyEntityRetSrv) MarshalTo(dAtA []byte) (int, error)
- func (m *DestroyEntityRetSrv) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DestroyEntityRetSrv) Name() string
- func (*DestroyEntityRetSrv) ProtoMessage()
- func (m *DestroyEntityRetSrv) Reset()
- func (m *DestroyEntityRetSrv) Size() (n int)
- func (m *DestroyEntityRetSrv) String() string
- func (m *DestroyEntityRetSrv) Unmarshal(dAtA []byte) error
- func (m *DestroyEntityRetSrv) XXX_DiscardUnknown()
- func (m *DestroyEntityRetSrv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DestroyEntityRetSrv) XXX_Merge(src proto.Message)
- func (*DestroyEntityRetSrv) XXX_MessageName() string
- func (m *DestroyEntityRetSrv) XXX_Size() int
- func (m *DestroyEntityRetSrv) XXX_Unmarshal(b []byte) error
- type EntityMsgRet
- func (*EntityMsgRet) Descriptor() ([]byte, []int)
- func (m *EntityMsgRet) GetEntityID() uint64
- func (m *EntityMsgRet) GetMsgContent() []byte
- func (m *EntityMsgRet) GetMsgID() uint32
- func (m *EntityMsgRet) Marshal() (dAtA []byte, err error)
- func (m *EntityMsgRet) MarshalTo(dAtA []byte) (int, error)
- func (m *EntityMsgRet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EntityMsgRet) Name() string
- func (*EntityMsgRet) ProtoMessage()
- func (m *EntityMsgRet) Reset()
- func (m *EntityMsgRet) Size() (n int)
- func (m *EntityMsgRet) String() string
- func (m *EntityMsgRet) Unmarshal(dAtA []byte) error
- func (m *EntityMsgRet) XXX_DiscardUnknown()
- func (m *EntityMsgRet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EntityMsgRet) XXX_Merge(src proto.Message)
- func (*EntityMsgRet) XXX_MessageName() string
- func (m *EntityMsgRet) XXX_Size() int
- func (m *EntityMsgRet) XXX_Unmarshal(b []byte) error
- type EntityRPCReq
- func (*EntityRPCReq) Descriptor() ([]byte, []int)
- func (m *EntityRPCReq) GetEntityID() uint64
- func (m *EntityRPCReq) GetMsgContent() []byte
- func (m *EntityRPCReq) GetPRCName() string
- func (m *EntityRPCReq) GetSrvType() uint32
- func (m *EntityRPCReq) Marshal() (dAtA []byte, err error)
- func (m *EntityRPCReq) MarshalTo(dAtA []byte) (int, error)
- func (m *EntityRPCReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EntityRPCReq) Name() string
- func (*EntityRPCReq) ProtoMessage()
- func (m *EntityRPCReq) Reset()
- func (m *EntityRPCReq) Size() (n int)
- func (m *EntityRPCReq) String() string
- func (m *EntityRPCReq) Unmarshal(dAtA []byte) error
- func (m *EntityRPCReq) XXX_DiscardUnknown()
- func (m *EntityRPCReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EntityRPCReq) XXX_Merge(src proto.Message)
- func (*EntityRPCReq) XXX_MessageName() string
- func (m *EntityRPCReq) XXX_Size() int
- func (m *EntityRPCReq) XXX_Unmarshal(b []byte) error
- type FieldData
- func (*FieldData) Descriptor() ([]byte, []int)
- func (m *FieldData) GetBuffer() []byte
- func (m *FieldData) GetMsgID() uint64
- func (m *FieldData) Marshal() (dAtA []byte, err error)
- func (m *FieldData) MarshalTo(dAtA []byte) (int, error)
- func (m *FieldData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FieldData) Name() string
- func (*FieldData) ProtoMessage()
- func (m *FieldData) Reset()
- func (m *FieldData) Size() (n int)
- func (m *FieldData) String() string
- func (m *FieldData) Unmarshal(dAtA []byte) error
- func (m *FieldData) XXX_DiscardUnknown()
- func (m *FieldData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FieldData) XXX_Merge(src proto.Message)
- func (*FieldData) XXX_MessageName() string
- func (m *FieldData) XXX_Size() int
- func (m *FieldData) XXX_Unmarshal(b []byte) error
- type ForwardMsgSrv
- func (*ForwardMsgSrv) Descriptor() ([]byte, []int)
- func (m *ForwardMsgSrv) GetEntityID() uint64
- func (m *ForwardMsgSrv) GetMsgContent() []byte
- func (m *ForwardMsgSrv) GetSpaceID() uint64
- func (m *ForwardMsgSrv) GetSrvID() uint64
- func (m *ForwardMsgSrv) GetSrvType() uint32
- func (m *ForwardMsgSrv) Marshal() (dAtA []byte, err error)
- func (m *ForwardMsgSrv) MarshalTo(dAtA []byte) (int, error)
- func (m *ForwardMsgSrv) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ForwardMsgSrv) Name() string
- func (*ForwardMsgSrv) ProtoMessage()
- func (m *ForwardMsgSrv) Reset()
- func (m *ForwardMsgSrv) Size() (n int)
- func (m *ForwardMsgSrv) String() string
- func (m *ForwardMsgSrv) Unmarshal(dAtA []byte) error
- func (m *ForwardMsgSrv) XXX_DiscardUnknown()
- func (m *ForwardMsgSrv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ForwardMsgSrv) XXX_Merge(src proto.Message)
- func (*ForwardMsgSrv) XXX_MessageName() string
- func (m *ForwardMsgSrv) XXX_Size() int
- func (m *ForwardMsgSrv) XXX_Unmarshal(b []byte) error
- type ForwardRPCSrv
- func (*ForwardRPCSrv) Descriptor() ([]byte, []int)
- func (m *ForwardRPCSrv) GetEntityID() uint64
- func (m *ForwardRPCSrv) GetMsgContent() []byte
- func (m *ForwardRPCSrv) GetRPCName() string
- func (m *ForwardRPCSrv) GetSpaceID() uint64
- func (m *ForwardRPCSrv) GetSrvID() uint64
- func (m *ForwardRPCSrv) GetSrvType() uint32
- func (m *ForwardRPCSrv) Marshal() (dAtA []byte, err error)
- func (m *ForwardRPCSrv) MarshalTo(dAtA []byte) (int, error)
- func (m *ForwardRPCSrv) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ForwardRPCSrv) Name() string
- func (*ForwardRPCSrv) ProtoMessage()
- func (m *ForwardRPCSrv) Reset()
- func (m *ForwardRPCSrv) Size() (n int)
- func (m *ForwardRPCSrv) String() string
- func (m *ForwardRPCSrv) Unmarshal(dAtA []byte) error
- func (m *ForwardRPCSrv) XXX_DiscardUnknown()
- func (m *ForwardRPCSrv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ForwardRPCSrv) XXX_Merge(src proto.Message)
- func (*ForwardRPCSrv) XXX_MessageName() string
- func (m *ForwardRPCSrv) XXX_Size() int
- func (m *ForwardRPCSrv) XXX_Unmarshal(b []byte) error
- type Hangup
- func (*Hangup) Descriptor() ([]byte, []int)
- func (m *Hangup) Marshal() (dAtA []byte, err error)
- func (m *Hangup) MarshalTo(dAtA []byte) (int, error)
- func (m *Hangup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Hangup) Name() string
- func (*Hangup) ProtoMessage()
- func (m *Hangup) Reset()
- func (m *Hangup) Size() (n int)
- func (m *Hangup) String() string
- func (m *Hangup) Unmarshal(dAtA []byte) error
- func (m *Hangup) XXX_DiscardUnknown()
- func (m *Hangup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Hangup) XXX_Merge(src proto.Message)
- func (*Hangup) XXX_MessageName() string
- func (m *Hangup) XXX_Size() int
- func (m *Hangup) XXX_Unmarshal(b []byte) error
- type HeartBeat
- func (*HeartBeat) Descriptor() ([]byte, []int)
- func (m *HeartBeat) Marshal() (dAtA []byte, err error)
- func (m *HeartBeat) MarshalTo(dAtA []byte) (int, error)
- func (m *HeartBeat) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HeartBeat) Name() string
- func (*HeartBeat) ProtoMessage()
- func (m *HeartBeat) Reset()
- func (m *HeartBeat) Size() (n int)
- func (m *HeartBeat) String() string
- func (m *HeartBeat) Unmarshal(dAtA []byte) error
- func (m *HeartBeat) XXX_DiscardUnknown()
- func (m *HeartBeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeartBeat) XXX_Merge(src proto.Message)
- func (*HeartBeat) XXX_MessageName() string
- func (m *HeartBeat) XXX_Size() int
- func (m *HeartBeat) XXX_Unmarshal(b []byte) error
- type IArgs
- type MsgRet
- func (*MsgRet) Descriptor() ([]byte, []int)
- func (m *MsgRet) GetParams() []*RespParam
- func (m *MsgRet) GetRetCode() int32
- func (m *MsgRet) GetRetMsgID() uint32
- func (m *MsgRet) Marshal() (dAtA []byte, err error)
- func (m *MsgRet) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRet) Name() string
- func (*MsgRet) ProtoMessage()
- func (m *MsgRet) Reset()
- func (m *MsgRet) Size() (n int)
- func (m *MsgRet) String() string
- func (m *MsgRet) Unmarshal(dAtA []byte) error
- func (m *MsgRet) XXX_DiscardUnknown()
- func (m *MsgRet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRet) XXX_Merge(src proto.Message)
- func (*MsgRet) XXX_MessageName() string
- func (m *MsgRet) XXX_Size() int
- func (m *MsgRet) XXX_Unmarshal(b []byte) error
- type OtherGetPlayerInfoReq
- func (*OtherGetPlayerInfoReq) Descriptor() ([]byte, []int)
- func (m *OtherGetPlayerInfoReq) GetBackKey() uint64
- func (m *OtherGetPlayerInfoReq) GetPID() uint64
- func (m *OtherGetPlayerInfoReq) GetSpaceID() uint64
- func (m *OtherGetPlayerInfoReq) GetSrvID() uint64
- func (m *OtherGetPlayerInfoReq) GetSrvNames() []string
- func (m *OtherGetPlayerInfoReq) Marshal() (dAtA []byte, err error)
- func (m *OtherGetPlayerInfoReq) MarshalTo(dAtA []byte) (int, error)
- func (m *OtherGetPlayerInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OtherGetPlayerInfoReq) Name() string
- func (*OtherGetPlayerInfoReq) ProtoMessage()
- func (m *OtherGetPlayerInfoReq) Reset()
- func (m *OtherGetPlayerInfoReq) Size() (n int)
- func (m *OtherGetPlayerInfoReq) String() string
- func (m *OtherGetPlayerInfoReq) Unmarshal(dAtA []byte) error
- func (m *OtherGetPlayerInfoReq) XXX_DiscardUnknown()
- func (m *OtherGetPlayerInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OtherGetPlayerInfoReq) XXX_Merge(src proto.Message)
- func (*OtherGetPlayerInfoReq) XXX_MessageName() string
- func (m *OtherGetPlayerInfoReq) XXX_Size() int
- func (m *OtherGetPlayerInfoReq) XXX_Unmarshal(b []byte) error
- type OtherUpUserDatasRet
- func (*OtherUpUserDatasRet) Descriptor() ([]byte, []int)
- func (m *OtherUpUserDatasRet) GetData() *DBUpUserDatasReq
- func (m *OtherUpUserDatasRet) GetServiceName() string
- func (m *OtherUpUserDatasRet) Marshal() (dAtA []byte, err error)
- func (m *OtherUpUserDatasRet) MarshalTo(dAtA []byte) (int, error)
- func (m *OtherUpUserDatasRet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OtherUpUserDatasRet) Name() string
- func (*OtherUpUserDatasRet) ProtoMessage()
- func (m *OtherUpUserDatasRet) Reset()
- func (m *OtherUpUserDatasRet) Size() (n int)
- func (m *OtherUpUserDatasRet) String() string
- func (m *OtherUpUserDatasRet) Unmarshal(dAtA []byte) error
- func (m *OtherUpUserDatasRet) XXX_DiscardUnknown()
- func (m *OtherUpUserDatasRet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OtherUpUserDatasRet) XXX_Merge(src proto.Message)
- func (*OtherUpUserDatasRet) XXX_MessageName() string
- func (m *OtherUpUserDatasRet) XXX_Size() int
- func (m *OtherUpUserDatasRet) XXX_Unmarshal(b []byte) error
- type RespParam
- func (*RespParam) Descriptor() ([]byte, []int)
- func (m *RespParam) GetBoolValue() bool
- func (m *RespParam) GetDoubleValue() float64
- func (m *RespParam) GetFloatValue() float32
- func (m *RespParam) GetInt32Value() int32
- func (m *RespParam) GetInt64Value() int64
- func (m *RespParam) GetParamValue() isRespParam_ParamValue
- func (m *RespParam) GetStringValue() string
- func (m *RespParam) GetUint32Value() uint32
- func (m *RespParam) GetUint64Value() uint64
- func (m *RespParam) Marshal() (dAtA []byte, err error)
- func (m *RespParam) MarshalTo(dAtA []byte) (int, error)
- func (m *RespParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RespParam) Name() string
- func (*RespParam) ProtoMessage()
- func (m *RespParam) Reset()
- func (m *RespParam) Size() (n int)
- func (m *RespParam) String() string
- func (m *RespParam) Unmarshal(dAtA []byte) error
- func (m *RespParam) XXX_DiscardUnknown()
- func (m *RespParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespParam) XXX_Merge(src proto.Message)
- func (*RespParam) XXX_MessageName() string
- func (*RespParam) XXX_OneofWrappers() []interface{}
- func (m *RespParam) XXX_Size() int
- func (m *RespParam) XXX_Unmarshal(b []byte) error
- type RespParam_BoolValue
- type RespParam_DoubleValue
- type RespParam_FloatValue
- type RespParam_Int32Value
- type RespParam_Int64Value
- type RespParam_StringValue
- type RespParam_Uint32Value
- type RespParam_Uint64Value
- type ReturnLoginNtf
- func (*ReturnLoginNtf) Descriptor() ([]byte, []int)
- func (m *ReturnLoginNtf) GetParams() []*RespParam
- func (m *ReturnLoginNtf) GetRetCode() int32
- func (m *ReturnLoginNtf) Marshal() (dAtA []byte, err error)
- func (m *ReturnLoginNtf) MarshalTo(dAtA []byte) (int, error)
- func (m *ReturnLoginNtf) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReturnLoginNtf) Name() string
- func (*ReturnLoginNtf) ProtoMessage()
- func (m *ReturnLoginNtf) Reset()
- func (m *ReturnLoginNtf) Size() (n int)
- func (m *ReturnLoginNtf) String() string
- func (m *ReturnLoginNtf) Unmarshal(dAtA []byte) error
- func (m *ReturnLoginNtf) XXX_DiscardUnknown()
- func (m *ReturnLoginNtf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReturnLoginNtf) XXX_Merge(src proto.Message)
- func (*ReturnLoginNtf) XXX_MessageName() string
- func (m *ReturnLoginNtf) XXX_Size() int
- func (m *ReturnLoginNtf) XXX_Unmarshal(b []byte) error
- type SessClosed
- func (*SessClosed) Descriptor() ([]byte, []int)
- func (m *SessClosed) GetSessUID() uint64
- func (m *SessClosed) Marshal() (dAtA []byte, err error)
- func (m *SessClosed) MarshalTo(dAtA []byte) (int, error)
- func (m *SessClosed) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SessClosed) Name() string
- func (*SessClosed) ProtoMessage()
- func (m *SessClosed) Reset()
- func (m *SessClosed) Size() (n int)
- func (m *SessClosed) String() string
- func (m *SessClosed) Unmarshal(dAtA []byte) error
- func (m *SessClosed) XXX_DiscardUnknown()
- func (m *SessClosed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SessClosed) XXX_Merge(src proto.Message)
- func (*SessClosed) XXX_MessageName() string
- func (m *SessClosed) XXX_Size() int
- func (m *SessClosed) XXX_Unmarshal(b []byte) error
- type SyncEntityProps
- func (*SyncEntityProps) Descriptor() ([]byte, []int)
- func (m *SyncEntityProps) GetEntityID() uint64
- func (m *SyncEntityProps) GetEntityType() string
- func (m *SyncEntityProps) GetProps() []*SyncProp
- func (m *SyncEntityProps) Marshal() (dAtA []byte, err error)
- func (m *SyncEntityProps) MarshalTo(dAtA []byte) (int, error)
- func (m *SyncEntityProps) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SyncEntityProps) Name() string
- func (*SyncEntityProps) ProtoMessage()
- func (m *SyncEntityProps) Reset()
- func (m *SyncEntityProps) Size() (n int)
- func (m *SyncEntityProps) String() string
- func (m *SyncEntityProps) Unmarshal(dAtA []byte) error
- func (m *SyncEntityProps) XXX_DiscardUnknown()
- func (m *SyncEntityProps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncEntityProps) XXX_Merge(src proto.Message)
- func (*SyncEntityProps) XXX_MessageName() string
- func (m *SyncEntityProps) XXX_Size() int
- func (m *SyncEntityProps) XXX_Unmarshal(b []byte) error
- type SyncProp
- func (*SyncProp) Descriptor() ([]byte, []int)
- func (m *SyncProp) GetBoolValue() bool
- func (m *SyncProp) GetDoubleValue() float64
- func (m *SyncProp) GetFloatValue() float32
- func (m *SyncProp) GetIndex() uint32
- func (m *SyncProp) GetInt32Value() int32
- func (m *SyncProp) GetInt64Value() int64
- func (m *SyncProp) GetMsg_Value() []byte
- func (m *SyncProp) GetPropValue() isSyncProp_PropValue
- func (m *SyncProp) GetStringValue() string
- func (m *SyncProp) GetUint32Value() uint32
- func (m *SyncProp) GetUint64Value() uint64
- func (m *SyncProp) Marshal() (dAtA []byte, err error)
- func (m *SyncProp) MarshalTo(dAtA []byte) (int, error)
- func (m *SyncProp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SyncProp) Name() string
- func (*SyncProp) ProtoMessage()
- func (m *SyncProp) Reset()
- func (m *SyncProp) Size() (n int)
- func (m *SyncProp) String() string
- func (m *SyncProp) Unmarshal(dAtA []byte) error
- func (m *SyncProp) XXX_DiscardUnknown()
- func (m *SyncProp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncProp) XXX_Merge(src proto.Message)
- func (*SyncProp) XXX_MessageName() string
- func (*SyncProp) XXX_OneofWrappers() []interface{}
- func (m *SyncProp) XXX_Size() int
- func (m *SyncProp) XXX_Unmarshal(b []byte) error
- type SyncProp_BoolValue
- type SyncProp_DoubleValue
- type SyncProp_FloatValue
- type SyncProp_Int32Value
- type SyncProp_Int64Value
- type SyncProp_Msg_Value
- type SyncProp_StringValue
- type SyncProp_Uint32Value
- type SyncProp_Uint64Value
- type TableData
- func (*TableData) Descriptor() ([]byte, []int)
- func (m *TableData) GetDatas() map[string]*FieldData
- func (m *TableData) Marshal() (dAtA []byte, err error)
- func (m *TableData) MarshalTo(dAtA []byte) (int, error)
- func (m *TableData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TableData) Name() string
- func (*TableData) ProtoMessage()
- func (m *TableData) Reset()
- func (m *TableData) Scan(value interface{}) error
- func (m *TableData) Size() (n int)
- func (m *TableData) String() string
- func (m *TableData) Unmarshal(dAtA []byte) error
- func (m TableData) Value() (driver.Value, error)
- func (m *TableData) XXX_DiscardUnknown()
- func (m *TableData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TableData) XXX_Merge(src proto.Message)
- func (*TableData) XXX_MessageName() string
- func (m *TableData) XXX_Size() int
- func (m *TableData) XXX_Unmarshal(b []byte) error
- type TestHeroInfo
- func (*TestHeroInfo) Descriptor() ([]byte, []int)
- func (m *TestHeroInfo) GetCurExp() int32
- func (m *TestHeroInfo) GetJob() int32
- func (m *TestHeroInfo) GetLevel() int32
- func (m *TestHeroInfo) Marshal() (dAtA []byte, err error)
- func (m *TestHeroInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TestHeroInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TestHeroInfo) Name() string
- func (*TestHeroInfo) ProtoMessage()
- func (m *TestHeroInfo) Reset()
- func (m *TestHeroInfo) Scan(value interface{}) error
- func (m *TestHeroInfo) Size() (n int)
- func (m *TestHeroInfo) String() string
- func (m *TestHeroInfo) Unmarshal(dAtA []byte) error
- func (m TestHeroInfo) Value() (driver.Value, error)
- func (m *TestHeroInfo) XXX_DiscardUnknown()
- func (m *TestHeroInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestHeroInfo) XXX_Merge(src proto.Message)
- func (*TestHeroInfo) XXX_MessageName() string
- func (m *TestHeroInfo) XXX_Size() int
- func (m *TestHeroInfo) XXX_Unmarshal(b []byte) error
- type TestTableMD
- func (m *TestTableMD) AfterFind(tx *gorm.DB) (err error)
- func (m *TestTableMD) BeforeSave(tx *gorm.DB) (err error)
- func (*TestTableMD) Descriptor() ([]byte, []int)
- func (m *TestTableMD) GetHero() TestHeroInfo
- func (*TestTableMD) GetIsPartial() bool
- func (m *TestTableMD) GetPID() uint64
- func (m *TestTableMD) GetTestCount() int32
- func (m *TestTableMD) IsDeleted() bool
- func (m *TestTableMD) KeyName() string
- func (m *TestTableMD) Marshal() (dAtA []byte, err error)
- func (m *TestTableMD) MarshalTo(dAtA []byte) (int, error)
- func (m *TestTableMD) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TestTableMD) Name() string
- func (*TestTableMD) ProtoMessage()
- func (m *TestTableMD) Reset()
- func (m *TestTableMD) RevokeDelete()
- func (m *TestTableMD) SetArgs(args IArgs)
- func (m *TestTableMD) SetDelete()
- func (m *TestTableMD) SetDirtyHero()
- func (m *TestTableMD) SetDirtyPID()
- func (m *TestTableMD) SetDirtyTestCount()
- func (m *TestTableMD) SetHero(v TestHeroInfo)
- func (m *TestTableMD) SetPID(v uint64)
- func (m *TestTableMD) SetTestCount(v int32)
- func (m *TestTableMD) Size() (n int)
- func (m *TestTableMD) String() string
- func (*TestTableMD) TableName() string
- func (m *TestTableMD) Unmarshal(dAtA []byte) error
- func (m *TestTableMD) XXX_DiscardUnknown()
- func (m *TestTableMD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestTableMD) XXX_Merge(src proto.Message)
- func (*TestTableMD) XXX_MessageName() string
- func (m *TestTableMD) XXX_Size() int
- func (m *TestTableMD) XXX_Unmarshal(b []byte) error
- type UserDuplicateLoginNtf
- func (*UserDuplicateLoginNtf) Descriptor() ([]byte, []int)
- func (m *UserDuplicateLoginNtf) Marshal() (dAtA []byte, err error)
- func (m *UserDuplicateLoginNtf) MarshalTo(dAtA []byte) (int, error)
- func (m *UserDuplicateLoginNtf) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserDuplicateLoginNtf) Name() string
- func (*UserDuplicateLoginNtf) ProtoMessage()
- func (m *UserDuplicateLoginNtf) Reset()
- func (m *UserDuplicateLoginNtf) Size() (n int)
- func (m *UserDuplicateLoginNtf) String() string
- func (m *UserDuplicateLoginNtf) Unmarshal(dAtA []byte) error
- func (m *UserDuplicateLoginNtf) XXX_DiscardUnknown()
- func (m *UserDuplicateLoginNtf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserDuplicateLoginNtf) XXX_Merge(src proto.Message)
- func (*UserDuplicateLoginNtf) XXX_MessageName() string
- func (m *UserDuplicateLoginNtf) XXX_Size() int
- func (m *UserDuplicateLoginNtf) XXX_Unmarshal(b []byte) error
- type Vector2
- func (v Vector2) Add(o Vector2) Vector2
- func (v *Vector2) AddS(o Vector2)
- func (v Vector2) Cross(o Vector2) float64
- func (*Vector2) Descriptor() ([]byte, []int)
- func (v Vector2) Dot(o Vector2) float64
- func (m *Vector2) GetX() float64
- func (m *Vector2) GetY() float64
- func (v Vector2) IsEqual(r Vector2) bool
- func (v Vector2) IsInValid() bool
- func (v Vector2) Len() float64
- func (m *Vector2) Marshal() (dAtA []byte, err error)
- func (m *Vector2) MarshalTo(dAtA []byte) (int, error)
- func (m *Vector2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (v Vector2) Mul(m float64) Vector2
- func (*Vector2) Name() string
- func (v *Vector2) Normalize()
- func (*Vector2) ProtoMessage()
- func (m *Vector2) Reset()
- func (m *Vector2) Size() (n int)
- func (m *Vector2) String() string
- func (v Vector2) Sub(o Vector2) Vector2
- func (v *Vector2) SubS(o Vector2)
- func (m *Vector2) Unmarshal(dAtA []byte) error
- func (m *Vector2) XXX_DiscardUnknown()
- func (m *Vector2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vector2) XXX_Merge(src proto.Message)
- func (*Vector2) XXX_MessageName() string
- func (m *Vector2) XXX_Size() int
- func (m *Vector2) XXX_Unmarshal(b []byte) error
- type Vector3
- func (v Vector3) Add(o Vector3) Vector3
- func (v *Vector3) AddS(o Vector3)
- func (v Vector3) Cross(o Vector3) Vector3
- func (*Vector3) Descriptor() ([]byte, []int)
- func (v Vector3) Dot(o Vector3) float64
- func (v Vector3) Dot2(o Vector3) float64
- func (m *Vector3) GetX() float64
- func (m *Vector3) GetY() float64
- func (m *Vector3) GetZ() float64
- func (v *Vector3) InValid()
- func (v Vector3) IsEqual(r Vector3) bool
- func (v Vector3) IsEqualXYZ(r Vector3) bool
- func (v Vector3) IsEqualXZ(r Vector3) bool
- func (v Vector3) IsInValid() bool
- func (v Vector3) IsOutOfRange(r float64) bool
- func (v Vector3) IsOutOfRangeInt32(r int32) bool
- func (v Vector3) Len() float64
- func (v Vector3) LenPow2() float64
- func (m *Vector3) Marshal() (dAtA []byte, err error)
- func (m *Vector3) MarshalTo(dAtA []byte) (int, error)
- func (m *Vector3) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (v Vector3) Mul(o float64) Vector3
- func (v *Vector3) MulS(o float64)
- func (*Vector3) Name() string
- func (v *Vector3) Normalize()
- func (*Vector3) ProtoMessage()
- func (m *Vector3) Reset()
- func (m *Vector3) Scan(value interface{}) error
- func (m *Vector3) Size() (n int)
- func (m *Vector3) String() string
- func (v Vector3) Sub(o Vector3) Vector3
- func (v *Vector3) SubS(o Vector3)
- func (m *Vector3) Unmarshal(dAtA []byte) error
- func (m Vector3) Value() (driver.Value, error)
- func (m *Vector3) XXX_DiscardUnknown()
- func (m *Vector3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vector3) XXX_Merge(src proto.Message)
- func (*Vector3) XXX_MessageName() string
- func (m *Vector3) XXX_Size() int
- func (m *Vector3) XXX_Unmarshal(b []byte) error
Constants ¶
const TestTableMDTableName = "testtb"
Variables ¶
var ( ErrInvalidLengthBase = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBase = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBase = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthDb = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDb = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDb = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthEntity = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEntity = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEntity = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGobige = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGobige = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGobige = fmt.Errorf("proto: unexpected end of group") )
var DataType_name = map[int32]string{
0: "Type_None",
1: "Type_int8",
2: "Type_int16",
3: "Type_int32",
4: "Type_int64",
5: "Type_uint8",
6: "Type_uint16",
7: "Type_uint32",
8: "Type_uint64",
9: "Type_float32",
10: "Type_float64",
11: "Type_bool",
12: "Type_string",
13: "Type_protoMsg",
}
var DataType_value = map[string]int32{
"Type_None": 0,
"Type_int8": 1,
"Type_int16": 2,
"Type_int32": 3,
"Type_int64": 4,
"Type_uint8": 5,
"Type_uint16": 6,
"Type_uint32": 7,
"Type_uint64": 8,
"Type_float32": 9,
"Type_float64": 10,
"Type_bool": 11,
"Type_string": 12,
"Type_protoMsg": 13,
}
Functions ¶
func StringToArray ¶
--------------------------------------------
Types ¶
type AOIMsgRet ¶
type AOIMsgRet struct { // 进入AOI的对象属性 EnterAOIs []*SyncEntityProps `protobuf:"bytes,1,rep,name=EnterAOIs,proto3" json:"EnterAOIs,omitempty"` // 离开AOI的对象UID LeaveAOIs []uint64 `protobuf:"varint,2,rep,packed,name=LeaveAOIs,proto3" json:"LeaveAOIs,omitempty"` // 更新AOI内对象的属性 UpdateAOIs []*SyncEntityProps `protobuf:"bytes,3,rep,name=UpdateAOIs,proto3" json:"UpdateAOIs,omitempty"` }
AOI消息
func (*AOIMsgRet) Descriptor ¶
func (*AOIMsgRet) GetEnterAOIs ¶
func (m *AOIMsgRet) GetEnterAOIs() []*SyncEntityProps
func (*AOIMsgRet) GetLeaveAOIs ¶
func (*AOIMsgRet) GetUpdateAOIs ¶
func (m *AOIMsgRet) GetUpdateAOIs() []*SyncEntityProps
func (*AOIMsgRet) MarshalToSizedBuffer ¶
func (*AOIMsgRet) ProtoMessage ¶
func (*AOIMsgRet) ProtoMessage()
func (*AOIMsgRet) XXX_DiscardUnknown ¶
func (m *AOIMsgRet) XXX_DiscardUnknown()
func (*AOIMsgRet) XXX_Marshal ¶
func (*AOIMsgRet) XXX_MessageName ¶
func (*AOIMsgRet) XXX_Unmarshal ¶
type BaseBinary ¶
type BaseBinary struct { // 一个数据占多少个位,只能是1,2,4,8 OneDataBitNum int32 `protobuf:"varint,1,opt,name=OneDataBitNum,proto3" json:"OneDataBitNum,omitempty"` // 数组的长度 ArrayLen int32 `protobuf:"varint,2,opt,name=ArrayLen,proto3" json:"ArrayLen,omitempty"` // 放数据的数组 Data []byte `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"` }
二进制数据
func NewBinary ¶
func NewBinary(alen int32) *BaseBinary
func NewBinaryByLen ¶
func NewBinaryByLen(alen, dlen int32) *BaseBinary
func (*BaseBinary) Clear ¶
func (this *BaseBinary) Clear()
func (*BaseBinary) ContainKey ¶
func (this *BaseBinary) ContainKey(index int32) int
func (*BaseBinary) Descriptor ¶
func (*BaseBinary) Descriptor() ([]byte, []int)
func (*BaseBinary) GetArrayLen ¶
func (m *BaseBinary) GetArrayLen() int32
func (*BaseBinary) GetData ¶
func (m *BaseBinary) GetData() []byte
func (*BaseBinary) GetOneDataBitNum ¶
func (m *BaseBinary) GetOneDataBitNum() int32
func (*BaseBinary) Marshal ¶
func (m *BaseBinary) Marshal() (dAtA []byte, err error)
func (*BaseBinary) MarshalToSizedBuffer ¶
func (m *BaseBinary) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BaseBinary) Name ¶
func (*BaseBinary) Name() string
func (*BaseBinary) ProtoMessage ¶
func (*BaseBinary) ProtoMessage()
func (*BaseBinary) Reset ¶
func (m *BaseBinary) Reset()
func (*BaseBinary) Scan ¶
func (m *BaseBinary) Scan(value interface{}) error
func (*BaseBinary) SetArrayLen ¶
func (this *BaseBinary) SetArrayLen(alen int32)
func (*BaseBinary) Size ¶
func (m *BaseBinary) Size() (n int)
func (*BaseBinary) String ¶
func (m *BaseBinary) String() string
func (*BaseBinary) ToValuesJson ¶
func (this *BaseBinary) ToValuesJson() []interface{}
func (*BaseBinary) Unmarshal ¶
func (m *BaseBinary) Unmarshal(dAtA []byte) error
func (*BaseBinary) UpData ¶
func (this *BaseBinary) UpData(index, val int32) bool
func (*BaseBinary) XXX_DiscardUnknown ¶
func (m *BaseBinary) XXX_DiscardUnknown()
func (*BaseBinary) XXX_Marshal ¶
func (m *BaseBinary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BaseBinary) XXX_Merge ¶
func (m *BaseBinary) XXX_Merge(src proto.Message)
func (*BaseBinary) XXX_MessageName ¶
func (*BaseBinary) XXX_MessageName() string
func (*BaseBinary) XXX_Size ¶
func (m *BaseBinary) XXX_Size() int
func (*BaseBinary) XXX_Unmarshal ¶
func (m *BaseBinary) XXX_Unmarshal(b []byte) error
type BaseData ¶
基础仓库数据
func (*BaseData) Descriptor ¶
func (*BaseData) MarshalToSizedBuffer ¶
func (*BaseData) ProtoMessage ¶
func (*BaseData) ProtoMessage()
func (*BaseData) XXX_DiscardUnknown ¶
func (m *BaseData) XXX_DiscardUnknown()
func (*BaseData) XXX_Marshal ¶
func (*BaseData) XXX_MessageName ¶
func (*BaseData) XXX_Unmarshal ¶
type ClientVerifyFailedRet ¶
type ClientVerifyFailedRet struct { }
ClientVerifyFailedRet 验证失败返回消息
func (*ClientVerifyFailedRet) Descriptor ¶
func (*ClientVerifyFailedRet) Descriptor() ([]byte, []int)
func (*ClientVerifyFailedRet) Marshal ¶
func (m *ClientVerifyFailedRet) Marshal() (dAtA []byte, err error)
func (*ClientVerifyFailedRet) MarshalTo ¶
func (m *ClientVerifyFailedRet) MarshalTo(dAtA []byte) (int, error)
func (*ClientVerifyFailedRet) MarshalToSizedBuffer ¶
func (m *ClientVerifyFailedRet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClientVerifyFailedRet) Name ¶
func (*ClientVerifyFailedRet) Name() string
func (*ClientVerifyFailedRet) ProtoMessage ¶
func (*ClientVerifyFailedRet) ProtoMessage()
func (*ClientVerifyFailedRet) Reset ¶
func (m *ClientVerifyFailedRet) Reset()
func (*ClientVerifyFailedRet) Size ¶
func (m *ClientVerifyFailedRet) Size() (n int)
func (*ClientVerifyFailedRet) String ¶
func (m *ClientVerifyFailedRet) String() string
func (*ClientVerifyFailedRet) Unmarshal ¶
func (m *ClientVerifyFailedRet) Unmarshal(dAtA []byte) error
func (*ClientVerifyFailedRet) XXX_DiscardUnknown ¶
func (m *ClientVerifyFailedRet) XXX_DiscardUnknown()
func (*ClientVerifyFailedRet) XXX_Marshal ¶
func (m *ClientVerifyFailedRet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientVerifyFailedRet) XXX_Merge ¶
func (m *ClientVerifyFailedRet) XXX_Merge(src proto.Message)
func (*ClientVerifyFailedRet) XXX_MessageName ¶
func (*ClientVerifyFailedRet) XXX_MessageName() string
func (*ClientVerifyFailedRet) XXX_Size ¶
func (m *ClientVerifyFailedRet) XXX_Size() int
func (*ClientVerifyFailedRet) XXX_Unmarshal ¶
func (m *ClientVerifyFailedRet) XXX_Unmarshal(b []byte) error
type ClientVerifyReq ¶
type ClientVerifyReq struct { // 这个连接所表示的对象唯一ID,如果是服务器就给服务ID,如果是用户就给用户ID SessUID uint64 `protobuf:"varint,1,opt,name=SessUID,proto3" json:"SessUID,omitempty"` // 连接的类型使用global.ServerTypeEnum SessType uint32 `protobuf:"varint,2,opt,name=SessType,proto3" json:"SessType,omitempty"` // 连接状态 1表示对象第一次连接;2表示对象是断线重连 SessState uint32 `protobuf:"varint,3,opt,name=SessState,proto3" json:"SessState,omitempty"` // 用于验证的Token,确认身份用的 Token string `protobuf:"bytes,4,opt,name=Token,proto3" json:"Token,omitempty"` }
连接验证消息
func (*ClientVerifyReq) Descriptor ¶
func (*ClientVerifyReq) Descriptor() ([]byte, []int)
func (*ClientVerifyReq) GetSessState ¶
func (m *ClientVerifyReq) GetSessState() uint32
func (*ClientVerifyReq) GetSessType ¶
func (m *ClientVerifyReq) GetSessType() uint32
func (*ClientVerifyReq) GetSessUID ¶
func (m *ClientVerifyReq) GetSessUID() uint64
func (*ClientVerifyReq) GetToken ¶
func (m *ClientVerifyReq) GetToken() string
func (*ClientVerifyReq) Marshal ¶
func (m *ClientVerifyReq) Marshal() (dAtA []byte, err error)
func (*ClientVerifyReq) MarshalToSizedBuffer ¶
func (m *ClientVerifyReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClientVerifyReq) Name ¶
func (*ClientVerifyReq) Name() string
func (*ClientVerifyReq) ProtoMessage ¶
func (*ClientVerifyReq) ProtoMessage()
func (*ClientVerifyReq) Reset ¶
func (m *ClientVerifyReq) Reset()
func (*ClientVerifyReq) Size ¶
func (m *ClientVerifyReq) Size() (n int)
func (*ClientVerifyReq) String ¶
func (m *ClientVerifyReq) String() string
func (*ClientVerifyReq) Unmarshal ¶
func (m *ClientVerifyReq) Unmarshal(dAtA []byte) error
func (*ClientVerifyReq) XXX_DiscardUnknown ¶
func (m *ClientVerifyReq) XXX_DiscardUnknown()
func (*ClientVerifyReq) XXX_Marshal ¶
func (m *ClientVerifyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientVerifyReq) XXX_Merge ¶
func (m *ClientVerifyReq) XXX_Merge(src proto.Message)
func (*ClientVerifyReq) XXX_MessageName ¶
func (*ClientVerifyReq) XXX_MessageName() string
func (*ClientVerifyReq) XXX_Size ¶
func (m *ClientVerifyReq) XXX_Size() int
func (*ClientVerifyReq) XXX_Unmarshal ¶
func (m *ClientVerifyReq) XXX_Unmarshal(b []byte) error
type ClientVerifySucceedRet ¶
type ClientVerifySucceedRet struct { }
ClientVerifySucceedRet 验证成功返回消息
func (*ClientVerifySucceedRet) Descriptor ¶
func (*ClientVerifySucceedRet) Descriptor() ([]byte, []int)
func (*ClientVerifySucceedRet) Marshal ¶
func (m *ClientVerifySucceedRet) Marshal() (dAtA []byte, err error)
func (*ClientVerifySucceedRet) MarshalTo ¶
func (m *ClientVerifySucceedRet) MarshalTo(dAtA []byte) (int, error)
func (*ClientVerifySucceedRet) MarshalToSizedBuffer ¶
func (m *ClientVerifySucceedRet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClientVerifySucceedRet) Name ¶
func (*ClientVerifySucceedRet) Name() string
func (*ClientVerifySucceedRet) ProtoMessage ¶
func (*ClientVerifySucceedRet) ProtoMessage()
func (*ClientVerifySucceedRet) Reset ¶
func (m *ClientVerifySucceedRet) Reset()
func (*ClientVerifySucceedRet) Size ¶
func (m *ClientVerifySucceedRet) Size() (n int)
func (*ClientVerifySucceedRet) String ¶
func (m *ClientVerifySucceedRet) String() string
func (*ClientVerifySucceedRet) Unmarshal ¶
func (m *ClientVerifySucceedRet) Unmarshal(dAtA []byte) error
func (*ClientVerifySucceedRet) XXX_DiscardUnknown ¶
func (m *ClientVerifySucceedRet) XXX_DiscardUnknown()
func (*ClientVerifySucceedRet) XXX_Marshal ¶
func (m *ClientVerifySucceedRet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientVerifySucceedRet) XXX_Merge ¶
func (m *ClientVerifySucceedRet) XXX_Merge(src proto.Message)
func (*ClientVerifySucceedRet) XXX_MessageName ¶
func (*ClientVerifySucceedRet) XXX_MessageName() string
func (*ClientVerifySucceedRet) XXX_Size ¶
func (m *ClientVerifySucceedRet) XXX_Size() int
func (*ClientVerifySucceedRet) XXX_Unmarshal ¶
func (m *ClientVerifySucceedRet) XXX_Unmarshal(b []byte) error
type CodeRet ¶
type CodeRet struct { // 错误码 0表示没有错 Code int64 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` // 错误对应的提示文本 CodeMessage string `protobuf:"bytes,2,opt,name=CodeMessage,proto3" json:"CodeMessage,omitempty"` }
CodeRet 回复信息
func (*CodeRet) Descriptor ¶
func (*CodeRet) GetCodeMessage ¶
func (*CodeRet) MarshalToSizedBuffer ¶
func (*CodeRet) ProtoMessage ¶
func (*CodeRet) ProtoMessage()
func (*CodeRet) XXX_DiscardUnknown ¶
func (m *CodeRet) XXX_DiscardUnknown()
func (*CodeRet) XXX_Marshal ¶
func (*CodeRet) XXX_MessageName ¶
func (*CodeRet) XXX_Unmarshal ¶
type CreateEntityReqSrv ¶
type CreateEntityReqSrv struct { //对象的唯一ID EntityID uint64 `protobuf:"varint,1,opt,name=EntityID,proto3" json:"EntityID,omitempty"` //对象类型 EntityType string `protobuf:"bytes,2,opt,name=EntityType,proto3" json:"EntityType,omitempty"` //对象用户保存的ID DBID uint64 `protobuf:"varint,3,opt,name=DBID,proto3" json:"DBID,omitempty"` // 这消息源的服务器ID SrcSrvID uint64 `protobuf:"varint,11,opt,name=SrcSrvID,proto3" json:"SrcSrvID,omitempty"` // 空间ID,没有就为0 SrcSpaceID uint64 `protobuf:"varint,12,opt,name=SrcSpaceID,proto3" json:"SrcSpaceID,omitempty"` // 对象ID,没有就为0 SrcEntityID uint64 `protobuf:"varint,13,opt,name=SrcEntityID,proto3" json:"SrcEntityID,omitempty"` //回复的时候,需要带回的回调ID CallbackID uint64 `protobuf:"varint,14,opt,name=CallbackID,proto3" json:"CallbackID,omitempty"` }
CreateEntityReqSrv 请求创建实体消息
func (*CreateEntityReqSrv) Descriptor ¶
func (*CreateEntityReqSrv) Descriptor() ([]byte, []int)
func (*CreateEntityReqSrv) GetCallbackID ¶
func (m *CreateEntityReqSrv) GetCallbackID() uint64
func (*CreateEntityReqSrv) GetDBID ¶
func (m *CreateEntityReqSrv) GetDBID() uint64
func (*CreateEntityReqSrv) GetEntityID ¶
func (m *CreateEntityReqSrv) GetEntityID() uint64
func (*CreateEntityReqSrv) GetEntityType ¶
func (m *CreateEntityReqSrv) GetEntityType() string
func (*CreateEntityReqSrv) GetSrcEntityID ¶
func (m *CreateEntityReqSrv) GetSrcEntityID() uint64
func (*CreateEntityReqSrv) GetSrcSpaceID ¶
func (m *CreateEntityReqSrv) GetSrcSpaceID() uint64
func (*CreateEntityReqSrv) GetSrcSrvID ¶
func (m *CreateEntityReqSrv) GetSrcSrvID() uint64
func (*CreateEntityReqSrv) Marshal ¶
func (m *CreateEntityReqSrv) Marshal() (dAtA []byte, err error)
func (*CreateEntityReqSrv) MarshalTo ¶
func (m *CreateEntityReqSrv) MarshalTo(dAtA []byte) (int, error)
func (*CreateEntityReqSrv) MarshalToSizedBuffer ¶
func (m *CreateEntityReqSrv) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateEntityReqSrv) Name ¶
func (*CreateEntityReqSrv) Name() string
func (*CreateEntityReqSrv) ProtoMessage ¶
func (*CreateEntityReqSrv) ProtoMessage()
func (*CreateEntityReqSrv) Reset ¶
func (m *CreateEntityReqSrv) Reset()
func (*CreateEntityReqSrv) Size ¶
func (m *CreateEntityReqSrv) Size() (n int)
func (*CreateEntityReqSrv) String ¶
func (m *CreateEntityReqSrv) String() string
func (*CreateEntityReqSrv) Unmarshal ¶
func (m *CreateEntityReqSrv) Unmarshal(dAtA []byte) error
func (*CreateEntityReqSrv) XXX_DiscardUnknown ¶
func (m *CreateEntityReqSrv) XXX_DiscardUnknown()
func (*CreateEntityReqSrv) XXX_Marshal ¶
func (m *CreateEntityReqSrv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateEntityReqSrv) XXX_Merge ¶
func (m *CreateEntityReqSrv) XXX_Merge(src proto.Message)
func (*CreateEntityReqSrv) XXX_MessageName ¶
func (*CreateEntityReqSrv) XXX_MessageName() string
func (*CreateEntityReqSrv) XXX_Size ¶
func (m *CreateEntityReqSrv) XXX_Size() int
func (*CreateEntityReqSrv) XXX_Unmarshal ¶
func (m *CreateEntityReqSrv) XXX_Unmarshal(b []byte) error
type CreateEntityRetSrv ¶
type CreateEntityRetSrv struct { //被创建的那个nttID CreateEntityID uint64 `protobuf:"varint,1,opt,name=CreateEntityID,proto3" json:"CreateEntityID,omitempty"` // CreateEntityReq.CallbackID CallbackID uint64 `protobuf:"varint,14,opt,name=CallbackID,proto3" json:"CallbackID,omitempty"` // 回复信息 ResultMsg *CodeRet `protobuf:"bytes,15,opt,name=ResultMsg,proto3" json:"ResultMsg,omitempty"` }
CreateEntityRetSrv 创建实体返回
func (*CreateEntityRetSrv) Descriptor ¶
func (*CreateEntityRetSrv) Descriptor() ([]byte, []int)
func (*CreateEntityRetSrv) GetCallbackID ¶
func (m *CreateEntityRetSrv) GetCallbackID() uint64
func (*CreateEntityRetSrv) GetCreateEntityID ¶
func (m *CreateEntityRetSrv) GetCreateEntityID() uint64
func (*CreateEntityRetSrv) GetResultMsg ¶
func (m *CreateEntityRetSrv) GetResultMsg() *CodeRet
func (*CreateEntityRetSrv) Marshal ¶
func (m *CreateEntityRetSrv) Marshal() (dAtA []byte, err error)
func (*CreateEntityRetSrv) MarshalTo ¶
func (m *CreateEntityRetSrv) MarshalTo(dAtA []byte) (int, error)
func (*CreateEntityRetSrv) MarshalToSizedBuffer ¶
func (m *CreateEntityRetSrv) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateEntityRetSrv) Name ¶
func (*CreateEntityRetSrv) Name() string
func (*CreateEntityRetSrv) ProtoMessage ¶
func (*CreateEntityRetSrv) ProtoMessage()
func (*CreateEntityRetSrv) Reset ¶
func (m *CreateEntityRetSrv) Reset()
func (*CreateEntityRetSrv) Size ¶
func (m *CreateEntityRetSrv) Size() (n int)
func (*CreateEntityRetSrv) String ¶
func (m *CreateEntityRetSrv) String() string
func (*CreateEntityRetSrv) Unmarshal ¶
func (m *CreateEntityRetSrv) Unmarshal(dAtA []byte) error
func (*CreateEntityRetSrv) XXX_DiscardUnknown ¶
func (m *CreateEntityRetSrv) XXX_DiscardUnknown()
func (*CreateEntityRetSrv) XXX_Marshal ¶
func (m *CreateEntityRetSrv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateEntityRetSrv) XXX_Merge ¶
func (m *CreateEntityRetSrv) XXX_Merge(src proto.Message)
func (*CreateEntityRetSrv) XXX_MessageName ¶
func (*CreateEntityRetSrv) XXX_MessageName() string
func (*CreateEntityRetSrv) XXX_Size ¶
func (m *CreateEntityRetSrv) XXX_Size() int
func (*CreateEntityRetSrv) XXX_Unmarshal ¶
func (m *CreateEntityRetSrv) XXX_Unmarshal(b []byte) error
type DBDataModel ¶
type DBDataModel struct { // 记录唯一KEY KeyName string `protobuf:"bytes,1,opt,name=KeyName,proto3" json:"KeyName,omitempty"` // 本次是否差量 true表示为差量 IsPartial bool `protobuf:"varint,2,opt,name=IsPartial,proto3" json:"IsPartial,omitempty"` // 对应的二进制数据 如果是差量,使用MapModel解包 MsgContent []byte `protobuf:"bytes,10,opt,name=MsgContent,proto3" json:"MsgContent,omitempty"` }
func (*DBDataModel) Descriptor ¶
func (*DBDataModel) Descriptor() ([]byte, []int)
func (*DBDataModel) GetIsPartial ¶
func (m *DBDataModel) GetIsPartial() bool
func (*DBDataModel) GetKeyName ¶
func (m *DBDataModel) GetKeyName() string
func (*DBDataModel) GetMsgContent ¶
func (m *DBDataModel) GetMsgContent() []byte
func (*DBDataModel) Marshal ¶
func (m *DBDataModel) Marshal() (dAtA []byte, err error)
func (*DBDataModel) MarshalToSizedBuffer ¶
func (m *DBDataModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DBDataModel) Name ¶
func (*DBDataModel) Name() string
func (*DBDataModel) ProtoMessage ¶
func (*DBDataModel) ProtoMessage()
func (*DBDataModel) Reset ¶
func (m *DBDataModel) Reset()
func (*DBDataModel) Size ¶
func (m *DBDataModel) Size() (n int)
func (*DBDataModel) String ¶
func (m *DBDataModel) String() string
func (*DBDataModel) Unmarshal ¶
func (m *DBDataModel) Unmarshal(dAtA []byte) error
func (*DBDataModel) XXX_DiscardUnknown ¶
func (m *DBDataModel) XXX_DiscardUnknown()
func (*DBDataModel) XXX_Marshal ¶
func (m *DBDataModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DBDataModel) XXX_Merge ¶
func (m *DBDataModel) XXX_Merge(src proto.Message)
func (*DBDataModel) XXX_MessageName ¶
func (*DBDataModel) XXX_MessageName() string
func (*DBDataModel) XXX_Size ¶
func (m *DBDataModel) XXX_Size() int
func (*DBDataModel) XXX_Unmarshal ¶
func (m *DBDataModel) XXX_Unmarshal(b []byte) error
type DBGetPlayerInfoAck ¶
type DBGetPlayerInfoAck struct { DBList []*DBDataModel `protobuf:"bytes,1,rep,name=DBList,proto3" json:"DBList,omitempty"` BackKey uint64 `protobuf:"varint,4,opt,name=BackKey,proto3" json:"BackKey,omitempty"` }
func (*DBGetPlayerInfoAck) Descriptor ¶
func (*DBGetPlayerInfoAck) Descriptor() ([]byte, []int)
func (*DBGetPlayerInfoAck) GetBackKey ¶
func (m *DBGetPlayerInfoAck) GetBackKey() uint64
func (*DBGetPlayerInfoAck) GetDBList ¶
func (m *DBGetPlayerInfoAck) GetDBList() []*DBDataModel
func (*DBGetPlayerInfoAck) Marshal ¶
func (m *DBGetPlayerInfoAck) Marshal() (dAtA []byte, err error)
func (*DBGetPlayerInfoAck) MarshalTo ¶
func (m *DBGetPlayerInfoAck) MarshalTo(dAtA []byte) (int, error)
func (*DBGetPlayerInfoAck) MarshalToSizedBuffer ¶
func (m *DBGetPlayerInfoAck) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DBGetPlayerInfoAck) Name ¶
func (*DBGetPlayerInfoAck) Name() string
func (*DBGetPlayerInfoAck) ProtoMessage ¶
func (*DBGetPlayerInfoAck) ProtoMessage()
func (*DBGetPlayerInfoAck) Reset ¶
func (m *DBGetPlayerInfoAck) Reset()
func (*DBGetPlayerInfoAck) Size ¶
func (m *DBGetPlayerInfoAck) Size() (n int)
func (*DBGetPlayerInfoAck) String ¶
func (m *DBGetPlayerInfoAck) String() string
func (*DBGetPlayerInfoAck) Unmarshal ¶
func (m *DBGetPlayerInfoAck) Unmarshal(dAtA []byte) error
func (*DBGetPlayerInfoAck) XXX_DiscardUnknown ¶
func (m *DBGetPlayerInfoAck) XXX_DiscardUnknown()
func (*DBGetPlayerInfoAck) XXX_Marshal ¶
func (m *DBGetPlayerInfoAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DBGetPlayerInfoAck) XXX_Merge ¶
func (m *DBGetPlayerInfoAck) XXX_Merge(src proto.Message)
func (*DBGetPlayerInfoAck) XXX_MessageName ¶
func (*DBGetPlayerInfoAck) XXX_MessageName() string
func (*DBGetPlayerInfoAck) XXX_Size ¶
func (m *DBGetPlayerInfoAck) XXX_Size() int
func (*DBGetPlayerInfoAck) XXX_Unmarshal ¶
func (m *DBGetPlayerInfoAck) XXX_Unmarshal(b []byte) error
type DBGetPlayerInfoEndAck ¶
type DBGetPlayerInfoEndAck struct {
BackKey uint64 `protobuf:"varint,4,opt,name=BackKey,proto3" json:"BackKey,omitempty"`
}
func (*DBGetPlayerInfoEndAck) Descriptor ¶
func (*DBGetPlayerInfoEndAck) Descriptor() ([]byte, []int)
func (*DBGetPlayerInfoEndAck) GetBackKey ¶
func (m *DBGetPlayerInfoEndAck) GetBackKey() uint64
func (*DBGetPlayerInfoEndAck) Marshal ¶
func (m *DBGetPlayerInfoEndAck) Marshal() (dAtA []byte, err error)
func (*DBGetPlayerInfoEndAck) MarshalTo ¶
func (m *DBGetPlayerInfoEndAck) MarshalTo(dAtA []byte) (int, error)
func (*DBGetPlayerInfoEndAck) MarshalToSizedBuffer ¶
func (m *DBGetPlayerInfoEndAck) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DBGetPlayerInfoEndAck) Name ¶
func (*DBGetPlayerInfoEndAck) Name() string
func (*DBGetPlayerInfoEndAck) ProtoMessage ¶
func (*DBGetPlayerInfoEndAck) ProtoMessage()
func (*DBGetPlayerInfoEndAck) Reset ¶
func (m *DBGetPlayerInfoEndAck) Reset()
func (*DBGetPlayerInfoEndAck) Size ¶
func (m *DBGetPlayerInfoEndAck) Size() (n int)
func (*DBGetPlayerInfoEndAck) String ¶
func (m *DBGetPlayerInfoEndAck) String() string
func (*DBGetPlayerInfoEndAck) Unmarshal ¶
func (m *DBGetPlayerInfoEndAck) Unmarshal(dAtA []byte) error
func (*DBGetPlayerInfoEndAck) XXX_DiscardUnknown ¶
func (m *DBGetPlayerInfoEndAck) XXX_DiscardUnknown()
func (*DBGetPlayerInfoEndAck) XXX_Marshal ¶
func (m *DBGetPlayerInfoEndAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DBGetPlayerInfoEndAck) XXX_Merge ¶
func (m *DBGetPlayerInfoEndAck) XXX_Merge(src proto.Message)
func (*DBGetPlayerInfoEndAck) XXX_MessageName ¶
func (*DBGetPlayerInfoEndAck) XXX_MessageName() string
func (*DBGetPlayerInfoEndAck) XXX_Size ¶
func (m *DBGetPlayerInfoEndAck) XXX_Size() int
func (*DBGetPlayerInfoEndAck) XXX_Unmarshal ¶
func (m *DBGetPlayerInfoEndAck) XXX_Unmarshal(b []byte) error
type DBGetPlayerInfoReq ¶
type DBGetPlayerInfoReq struct { //角色ID PID uint64 `protobuf:"varint,1,opt,name=PID,proto3" json:"PID,omitempty"` //角色所在SpaceID SpaceID uint64 `protobuf:"varint,2,opt,name=SpaceID,proto3" json:"SpaceID,omitempty"` //服务器ID SrvID uint64 `protobuf:"varint,3,opt,name=SrvID,proto3" json:"SrvID,omitempty"` //鉴别用的唯一Key BackKey uint64 `protobuf:"varint,4,opt,name=BackKey,proto3" json:"BackKey,omitempty"` //表名 Tables []string `protobuf:"bytes,5,rep,name=Tables,proto3" json:"Tables,omitempty"` }
DBGetPlayerInfoReq 获取角色信息
func (*DBGetPlayerInfoReq) Descriptor ¶
func (*DBGetPlayerInfoReq) Descriptor() ([]byte, []int)
func (*DBGetPlayerInfoReq) GetBackKey ¶
func (m *DBGetPlayerInfoReq) GetBackKey() uint64
func (*DBGetPlayerInfoReq) GetPID ¶
func (m *DBGetPlayerInfoReq) GetPID() uint64
func (*DBGetPlayerInfoReq) GetSpaceID ¶
func (m *DBGetPlayerInfoReq) GetSpaceID() uint64
func (*DBGetPlayerInfoReq) GetSrvID ¶
func (m *DBGetPlayerInfoReq) GetSrvID() uint64
func (*DBGetPlayerInfoReq) GetTables ¶
func (m *DBGetPlayerInfoReq) GetTables() []string
func (*DBGetPlayerInfoReq) Marshal ¶
func (m *DBGetPlayerInfoReq) Marshal() (dAtA []byte, err error)
func (*DBGetPlayerInfoReq) MarshalTo ¶
func (m *DBGetPlayerInfoReq) MarshalTo(dAtA []byte) (int, error)
func (*DBGetPlayerInfoReq) MarshalToSizedBuffer ¶
func (m *DBGetPlayerInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DBGetPlayerInfoReq) Name ¶
func (*DBGetPlayerInfoReq) Name() string
func (*DBGetPlayerInfoReq) ProtoMessage ¶
func (*DBGetPlayerInfoReq) ProtoMessage()
func (*DBGetPlayerInfoReq) Reset ¶
func (m *DBGetPlayerInfoReq) Reset()
func (*DBGetPlayerInfoReq) Size ¶
func (m *DBGetPlayerInfoReq) Size() (n int)
func (*DBGetPlayerInfoReq) String ¶
func (m *DBGetPlayerInfoReq) String() string
func (*DBGetPlayerInfoReq) Unmarshal ¶
func (m *DBGetPlayerInfoReq) Unmarshal(dAtA []byte) error
func (*DBGetPlayerInfoReq) XXX_DiscardUnknown ¶
func (m *DBGetPlayerInfoReq) XXX_DiscardUnknown()
func (*DBGetPlayerInfoReq) XXX_Marshal ¶
func (m *DBGetPlayerInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DBGetPlayerInfoReq) XXX_Merge ¶
func (m *DBGetPlayerInfoReq) XXX_Merge(src proto.Message)
func (*DBGetPlayerInfoReq) XXX_MessageName ¶
func (*DBGetPlayerInfoReq) XXX_MessageName() string
func (*DBGetPlayerInfoReq) XXX_Size ¶
func (m *DBGetPlayerInfoReq) XXX_Size() int
func (*DBGetPlayerInfoReq) XXX_Unmarshal ¶
func (m *DBGetPlayerInfoReq) XXX_Unmarshal(b []byte) error
type DBGetPlayerTableReq ¶
type DBGetPlayerTableReq struct { // 角色ID PID uint64 `protobuf:"varint,1,opt,name=PID,proto3" json:"PID,omitempty"` // 角色所在SpaceID SpaceID uint64 `protobuf:"varint,2,opt,name=SpaceID,proto3" json:"SpaceID,omitempty"` // 服务器ID SrvID uint64 `protobuf:"varint,3,opt,name=SrvID,proto3" json:"SrvID,omitempty"` // 鉴别用的唯一Key BackKey uint64 `protobuf:"varint,4,opt,name=BackKey,proto3" json:"BackKey,omitempty"` // 表名 Table string `protobuf:"bytes,5,opt,name=Table,proto3" json:"Table,omitempty"` // 结果集返回的最大记录数 Limit int32 `protobuf:"varint,6,opt,name=Limit,proto3" json:"Limit,omitempty"` }
DBGetPlayerTableReq 获取角色信息,单表指定行数
func (*DBGetPlayerTableReq) Descriptor ¶
func (*DBGetPlayerTableReq) Descriptor() ([]byte, []int)
func (*DBGetPlayerTableReq) GetBackKey ¶
func (m *DBGetPlayerTableReq) GetBackKey() uint64
func (*DBGetPlayerTableReq) GetLimit ¶
func (m *DBGetPlayerTableReq) GetLimit() int32
func (*DBGetPlayerTableReq) GetPID ¶
func (m *DBGetPlayerTableReq) GetPID() uint64
func (*DBGetPlayerTableReq) GetSpaceID ¶
func (m *DBGetPlayerTableReq) GetSpaceID() uint64
func (*DBGetPlayerTableReq) GetSrvID ¶
func (m *DBGetPlayerTableReq) GetSrvID() uint64
func (*DBGetPlayerTableReq) GetTable ¶
func (m *DBGetPlayerTableReq) GetTable() string
func (*DBGetPlayerTableReq) Marshal ¶
func (m *DBGetPlayerTableReq) Marshal() (dAtA []byte, err error)
func (*DBGetPlayerTableReq) MarshalTo ¶
func (m *DBGetPlayerTableReq) MarshalTo(dAtA []byte) (int, error)
func (*DBGetPlayerTableReq) MarshalToSizedBuffer ¶
func (m *DBGetPlayerTableReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DBGetPlayerTableReq) Name ¶
func (*DBGetPlayerTableReq) Name() string
func (*DBGetPlayerTableReq) ProtoMessage ¶
func (*DBGetPlayerTableReq) ProtoMessage()
func (*DBGetPlayerTableReq) Reset ¶
func (m *DBGetPlayerTableReq) Reset()
func (*DBGetPlayerTableReq) Size ¶
func (m *DBGetPlayerTableReq) Size() (n int)
func (*DBGetPlayerTableReq) String ¶
func (m *DBGetPlayerTableReq) String() string
func (*DBGetPlayerTableReq) Unmarshal ¶
func (m *DBGetPlayerTableReq) Unmarshal(dAtA []byte) error
func (*DBGetPlayerTableReq) XXX_DiscardUnknown ¶
func (m *DBGetPlayerTableReq) XXX_DiscardUnknown()
func (*DBGetPlayerTableReq) XXX_Marshal ¶
func (m *DBGetPlayerTableReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DBGetPlayerTableReq) XXX_Merge ¶
func (m *DBGetPlayerTableReq) XXX_Merge(src proto.Message)
func (*DBGetPlayerTableReq) XXX_MessageName ¶
func (*DBGetPlayerTableReq) XXX_MessageName() string
func (*DBGetPlayerTableReq) XXX_Size ¶
func (m *DBGetPlayerTableReq) XXX_Size() int
func (*DBGetPlayerTableReq) XXX_Unmarshal ¶
func (m *DBGetPlayerTableReq) XXX_Unmarshal(b []byte) error
type DBUpUserDatasReq ¶
type DBUpUserDatasReq struct { PID uint64 `protobuf:"varint,1,opt,name=PID,proto3" json:"PID,omitempty"` SpaceID uint64 `protobuf:"varint,2,opt,name=SpaceID,proto3" json:"SpaceID,omitempty"` SrvID uint64 `protobuf:"varint,3,opt,name=SrvID,proto3" json:"SrvID,omitempty"` DelList []*DBDataModel `protobuf:"bytes,5,rep,name=DelList,proto3" json:"DelList,omitempty"` DBList []*DBDataModel `protobuf:"bytes,6,rep,name=DBList,proto3" json:"DBList,omitempty"` }
DBUpUserDatasReq 更新数据
func (*DBUpUserDatasReq) Descriptor ¶
func (*DBUpUserDatasReq) Descriptor() ([]byte, []int)
func (*DBUpUserDatasReq) GetDBList ¶
func (m *DBUpUserDatasReq) GetDBList() []*DBDataModel
func (*DBUpUserDatasReq) GetDelList ¶
func (m *DBUpUserDatasReq) GetDelList() []*DBDataModel
func (*DBUpUserDatasReq) GetPID ¶
func (m *DBUpUserDatasReq) GetPID() uint64
func (*DBUpUserDatasReq) GetSpaceID ¶
func (m *DBUpUserDatasReq) GetSpaceID() uint64
func (*DBUpUserDatasReq) GetSrvID ¶
func (m *DBUpUserDatasReq) GetSrvID() uint64
func (*DBUpUserDatasReq) Marshal ¶
func (m *DBUpUserDatasReq) Marshal() (dAtA []byte, err error)
func (*DBUpUserDatasReq) MarshalToSizedBuffer ¶
func (m *DBUpUserDatasReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DBUpUserDatasReq) Name ¶
func (*DBUpUserDatasReq) Name() string
func (*DBUpUserDatasReq) ProtoMessage ¶
func (*DBUpUserDatasReq) ProtoMessage()
func (*DBUpUserDatasReq) Reset ¶
func (m *DBUpUserDatasReq) Reset()
func (*DBUpUserDatasReq) Size ¶
func (m *DBUpUserDatasReq) Size() (n int)
func (*DBUpUserDatasReq) String ¶
func (m *DBUpUserDatasReq) String() string
func (*DBUpUserDatasReq) Unmarshal ¶
func (m *DBUpUserDatasReq) Unmarshal(dAtA []byte) error
func (*DBUpUserDatasReq) XXX_DiscardUnknown ¶
func (m *DBUpUserDatasReq) XXX_DiscardUnknown()
func (*DBUpUserDatasReq) XXX_Marshal ¶
func (m *DBUpUserDatasReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DBUpUserDatasReq) XXX_Merge ¶
func (m *DBUpUserDatasReq) XXX_Merge(src proto.Message)
func (*DBUpUserDatasReq) XXX_MessageName ¶
func (*DBUpUserDatasReq) XXX_MessageName() string
func (*DBUpUserDatasReq) XXX_Size ¶
func (m *DBUpUserDatasReq) XXX_Size() int
func (*DBUpUserDatasReq) XXX_Unmarshal ¶
func (m *DBUpUserDatasReq) XXX_Unmarshal(b []byte) error
type DataType ¶
type DataType int32
数据类型枚举
const ( DataType_Type_None DataType = 0 DataType_Type_int8 DataType = 1 DataType_Type_int16 DataType = 2 DataType_Type_int32 DataType = 3 DataType_Type_int64 DataType = 4 DataType_Type_uint8 DataType = 5 DataType_Type_uint16 DataType = 6 DataType_Type_uint32 DataType = 7 DataType_Type_uint64 DataType = 8 DataType_Type_float32 DataType = 9 DataType_Type_float64 DataType = 10 DataType_Type_bool DataType = 11 DataType_Type_string DataType = 12 DataType_Type_protoMsg DataType = 13 )
func (DataType) EnumDescriptor ¶
type DestroyEntityReqSrv ¶
type DestroyEntityReqSrv struct { //对象的唯一ID EntityID uint64 `protobuf:"varint,1,opt,name=EntityID,proto3" json:"EntityID,omitempty"` // 这消息源的服务器ID SrcSrvID uint64 `protobuf:"varint,11,opt,name=SrcSrvID,proto3" json:"SrcSrvID,omitempty"` // 空间ID,没有就为0 SrcSpaceID uint64 `protobuf:"varint,12,opt,name=SrcSpaceID,proto3" json:"SrcSpaceID,omitempty"` // 对象ID,没有就为0 SrcEntityID uint64 `protobuf:"varint,13,opt,name=SrcEntityID,proto3" json:"SrcEntityID,omitempty"` //回复的时候,需要带回的回调ID CallbackID uint64 `protobuf:"varint,14,opt,name=CallbackID,proto3" json:"CallbackID,omitempty"` }
DestroyEntityReqSrv 请求删除实体消息
func (*DestroyEntityReqSrv) Descriptor ¶
func (*DestroyEntityReqSrv) Descriptor() ([]byte, []int)
func (*DestroyEntityReqSrv) GetCallbackID ¶
func (m *DestroyEntityReqSrv) GetCallbackID() uint64
func (*DestroyEntityReqSrv) GetEntityID ¶
func (m *DestroyEntityReqSrv) GetEntityID() uint64
func (*DestroyEntityReqSrv) GetSrcEntityID ¶
func (m *DestroyEntityReqSrv) GetSrcEntityID() uint64
func (*DestroyEntityReqSrv) GetSrcSpaceID ¶
func (m *DestroyEntityReqSrv) GetSrcSpaceID() uint64
func (*DestroyEntityReqSrv) GetSrcSrvID ¶
func (m *DestroyEntityReqSrv) GetSrcSrvID() uint64
func (*DestroyEntityReqSrv) Marshal ¶
func (m *DestroyEntityReqSrv) Marshal() (dAtA []byte, err error)
func (*DestroyEntityReqSrv) MarshalTo ¶
func (m *DestroyEntityReqSrv) MarshalTo(dAtA []byte) (int, error)
func (*DestroyEntityReqSrv) MarshalToSizedBuffer ¶
func (m *DestroyEntityReqSrv) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DestroyEntityReqSrv) Name ¶
func (*DestroyEntityReqSrv) Name() string
func (*DestroyEntityReqSrv) ProtoMessage ¶
func (*DestroyEntityReqSrv) ProtoMessage()
func (*DestroyEntityReqSrv) Reset ¶
func (m *DestroyEntityReqSrv) Reset()
func (*DestroyEntityReqSrv) Size ¶
func (m *DestroyEntityReqSrv) Size() (n int)
func (*DestroyEntityReqSrv) String ¶
func (m *DestroyEntityReqSrv) String() string
func (*DestroyEntityReqSrv) Unmarshal ¶
func (m *DestroyEntityReqSrv) Unmarshal(dAtA []byte) error
func (*DestroyEntityReqSrv) XXX_DiscardUnknown ¶
func (m *DestroyEntityReqSrv) XXX_DiscardUnknown()
func (*DestroyEntityReqSrv) XXX_Marshal ¶
func (m *DestroyEntityReqSrv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DestroyEntityReqSrv) XXX_Merge ¶
func (m *DestroyEntityReqSrv) XXX_Merge(src proto.Message)
func (*DestroyEntityReqSrv) XXX_MessageName ¶
func (*DestroyEntityReqSrv) XXX_MessageName() string
func (*DestroyEntityReqSrv) XXX_Size ¶
func (m *DestroyEntityReqSrv) XXX_Size() int
func (*DestroyEntityReqSrv) XXX_Unmarshal ¶
func (m *DestroyEntityReqSrv) XXX_Unmarshal(b []byte) error
type DestroyEntityRetSrv ¶
type DestroyEntityRetSrv struct { // 被Destroy的对象ID DestroyEntityID uint64 `protobuf:"varint,1,opt,name=DestroyEntityID,proto3" json:"DestroyEntityID,omitempty"` // 回复的时候,需要带回的回调ID CallbackID uint64 `protobuf:"varint,14,opt,name=CallbackID,proto3" json:"CallbackID,omitempty"` // 回复信息 ResultMsg *CodeRet `protobuf:"bytes,15,opt,name=ResultMsg,proto3" json:"ResultMsg,omitempty"` }
DestroyEntityRetSrv 销毁实体返回
func (*DestroyEntityRetSrv) Descriptor ¶
func (*DestroyEntityRetSrv) Descriptor() ([]byte, []int)
func (*DestroyEntityRetSrv) GetCallbackID ¶
func (m *DestroyEntityRetSrv) GetCallbackID() uint64
func (*DestroyEntityRetSrv) GetDestroyEntityID ¶
func (m *DestroyEntityRetSrv) GetDestroyEntityID() uint64
func (*DestroyEntityRetSrv) GetResultMsg ¶
func (m *DestroyEntityRetSrv) GetResultMsg() *CodeRet
func (*DestroyEntityRetSrv) Marshal ¶
func (m *DestroyEntityRetSrv) Marshal() (dAtA []byte, err error)
func (*DestroyEntityRetSrv) MarshalTo ¶
func (m *DestroyEntityRetSrv) MarshalTo(dAtA []byte) (int, error)
func (*DestroyEntityRetSrv) MarshalToSizedBuffer ¶
func (m *DestroyEntityRetSrv) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DestroyEntityRetSrv) Name ¶
func (*DestroyEntityRetSrv) Name() string
func (*DestroyEntityRetSrv) ProtoMessage ¶
func (*DestroyEntityRetSrv) ProtoMessage()
func (*DestroyEntityRetSrv) Reset ¶
func (m *DestroyEntityRetSrv) Reset()
func (*DestroyEntityRetSrv) Size ¶
func (m *DestroyEntityRetSrv) Size() (n int)
func (*DestroyEntityRetSrv) String ¶
func (m *DestroyEntityRetSrv) String() string
func (*DestroyEntityRetSrv) Unmarshal ¶
func (m *DestroyEntityRetSrv) Unmarshal(dAtA []byte) error
func (*DestroyEntityRetSrv) XXX_DiscardUnknown ¶
func (m *DestroyEntityRetSrv) XXX_DiscardUnknown()
func (*DestroyEntityRetSrv) XXX_Marshal ¶
func (m *DestroyEntityRetSrv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DestroyEntityRetSrv) XXX_Merge ¶
func (m *DestroyEntityRetSrv) XXX_Merge(src proto.Message)
func (*DestroyEntityRetSrv) XXX_MessageName ¶
func (*DestroyEntityRetSrv) XXX_MessageName() string
func (*DestroyEntityRetSrv) XXX_Size ¶
func (m *DestroyEntityRetSrv) XXX_Size() int
func (*DestroyEntityRetSrv) XXX_Unmarshal ¶
func (m *DestroyEntityRetSrv) XXX_Unmarshal(b []byte) error
type EntityMsgRet ¶
type EntityMsgRet struct { // 对象实例ID EntityID uint64 `protobuf:"varint,1,opt,name=EntityID,proto3" json:"EntityID,omitempty"` // 消息ID MsgID uint32 `protobuf:"varint,10,opt,name=MsgID,proto3" json:"MsgID,omitempty"` // 消息体,只有数据 MsgContent []byte `protobuf:"bytes,11,opt,name=MsgContent,proto3" json:"MsgContent,omitempty"` }
EntityMsgRet 回复给客户端指定对象的消息
func (*EntityMsgRet) Descriptor ¶
func (*EntityMsgRet) Descriptor() ([]byte, []int)
func (*EntityMsgRet) GetEntityID ¶
func (m *EntityMsgRet) GetEntityID() uint64
func (*EntityMsgRet) GetMsgContent ¶
func (m *EntityMsgRet) GetMsgContent() []byte
func (*EntityMsgRet) GetMsgID ¶
func (m *EntityMsgRet) GetMsgID() uint32
func (*EntityMsgRet) Marshal ¶
func (m *EntityMsgRet) Marshal() (dAtA []byte, err error)
func (*EntityMsgRet) MarshalToSizedBuffer ¶
func (m *EntityMsgRet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EntityMsgRet) Name ¶
func (*EntityMsgRet) Name() string
func (*EntityMsgRet) ProtoMessage ¶
func (*EntityMsgRet) ProtoMessage()
func (*EntityMsgRet) Reset ¶
func (m *EntityMsgRet) Reset()
func (*EntityMsgRet) Size ¶
func (m *EntityMsgRet) Size() (n int)
func (*EntityMsgRet) String ¶
func (m *EntityMsgRet) String() string
func (*EntityMsgRet) Unmarshal ¶
func (m *EntityMsgRet) Unmarshal(dAtA []byte) error
func (*EntityMsgRet) XXX_DiscardUnknown ¶
func (m *EntityMsgRet) XXX_DiscardUnknown()
func (*EntityMsgRet) XXX_Marshal ¶
func (m *EntityMsgRet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EntityMsgRet) XXX_Merge ¶
func (m *EntityMsgRet) XXX_Merge(src proto.Message)
func (*EntityMsgRet) XXX_MessageName ¶
func (*EntityMsgRet) XXX_MessageName() string
func (*EntityMsgRet) XXX_Size ¶
func (m *EntityMsgRet) XXX_Size() int
func (*EntityMsgRet) XXX_Unmarshal ¶
func (m *EntityMsgRet) XXX_Unmarshal(b []byte) error
type EntityRPCReq ¶
type EntityRPCReq struct { // 对象实例ID 这个ID一般是在Getway等管理客户商会话的服务器上设置的 EntityID uint64 `protobuf:"varint,1,opt,name=EntityID,proto3" json:"EntityID,omitempty"` // 服务器类型 SrvType uint32 `protobuf:"varint,2,opt,name=SrvType,proto3" json:"SrvType,omitempty"` // RPC消息名 PRCName string `protobuf:"bytes,10,opt,name=PRCName,proto3" json:"PRCName,omitempty"` // 消息体,默认为:第一个byte表示消息号,后面的表示数据; MsgContent []byte `protobuf:"bytes,11,opt,name=MsgContent,proto3" json:"MsgContent,omitempty"` }
EntityRPCReq 客户端发来给自己在其他服务器上的RPC消息
func (*EntityRPCReq) Descriptor ¶
func (*EntityRPCReq) Descriptor() ([]byte, []int)
func (*EntityRPCReq) GetEntityID ¶
func (m *EntityRPCReq) GetEntityID() uint64
func (*EntityRPCReq) GetMsgContent ¶
func (m *EntityRPCReq) GetMsgContent() []byte
func (*EntityRPCReq) GetPRCName ¶
func (m *EntityRPCReq) GetPRCName() string
func (*EntityRPCReq) GetSrvType ¶
func (m *EntityRPCReq) GetSrvType() uint32
func (*EntityRPCReq) Marshal ¶
func (m *EntityRPCReq) Marshal() (dAtA []byte, err error)
func (*EntityRPCReq) MarshalToSizedBuffer ¶
func (m *EntityRPCReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EntityRPCReq) Name ¶
func (*EntityRPCReq) Name() string
func (*EntityRPCReq) ProtoMessage ¶
func (*EntityRPCReq) ProtoMessage()
func (*EntityRPCReq) Reset ¶
func (m *EntityRPCReq) Reset()
func (*EntityRPCReq) Size ¶
func (m *EntityRPCReq) Size() (n int)
func (*EntityRPCReq) String ¶
func (m *EntityRPCReq) String() string
func (*EntityRPCReq) Unmarshal ¶
func (m *EntityRPCReq) Unmarshal(dAtA []byte) error
func (*EntityRPCReq) XXX_DiscardUnknown ¶
func (m *EntityRPCReq) XXX_DiscardUnknown()
func (*EntityRPCReq) XXX_Marshal ¶
func (m *EntityRPCReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EntityRPCReq) XXX_Merge ¶
func (m *EntityRPCReq) XXX_Merge(src proto.Message)
func (*EntityRPCReq) XXX_MessageName ¶
func (*EntityRPCReq) XXX_MessageName() string
func (*EntityRPCReq) XXX_Size ¶
func (m *EntityRPCReq) XXX_Size() int
func (*EntityRPCReq) XXX_Unmarshal ¶
func (m *EntityRPCReq) XXX_Unmarshal(b []byte) error
type FieldData ¶
type FieldData struct { // 对应的消息号 MsgID uint64 `protobuf:"varint,1,opt,name=MsgID,proto3" json:"MsgID,omitempty"` // 二进制数据 Buffer []byte `protobuf:"bytes,2,opt,name=Buffer,proto3" json:"Buffer,omitempty"` }
差量数据更新包单字段
func (*FieldData) Descriptor ¶
func (*FieldData) MarshalToSizedBuffer ¶
func (*FieldData) ProtoMessage ¶
func (*FieldData) ProtoMessage()
func (*FieldData) XXX_DiscardUnknown ¶
func (m *FieldData) XXX_DiscardUnknown()
func (*FieldData) XXX_Marshal ¶
func (*FieldData) XXX_MessageName ¶
func (*FieldData) XXX_Unmarshal ¶
type ForwardMsgSrv ¶
type ForwardMsgSrv struct { // 接入对象的唯一ID EntityID uint64 `protobuf:"varint,1,opt,name=EntityID,proto3" json:"EntityID,omitempty"` // 接收对象所在的SpaceID SpaceID uint64 `protobuf:"varint,2,opt,name=SpaceID,proto3" json:"SpaceID,omitempty"` // 接收对象所在的服务器ID SrvID uint64 `protobuf:"varint,3,opt,name=SrvID,proto3" json:"SrvID,omitempty"` // 服务器类型 如果是客户端类型,先确定本服会不会有会话,再会去找getway服务器 SrvType uint32 `protobuf:"varint,4,opt,name=SrvType,proto3" json:"SrvType,omitempty"` // 消息体,默认为:前二个byte表示消息号,后面的表示数据; MsgContent []byte `protobuf:"bytes,11,opt,name=MsgContent,proto3" json:"MsgContent,omitempty"` }
ForwardMsgSrv 转发MSG消息到目标服务器,这个消息只会在service上处理
func (*ForwardMsgSrv) Descriptor ¶
func (*ForwardMsgSrv) Descriptor() ([]byte, []int)
func (*ForwardMsgSrv) GetEntityID ¶
func (m *ForwardMsgSrv) GetEntityID() uint64
func (*ForwardMsgSrv) GetMsgContent ¶
func (m *ForwardMsgSrv) GetMsgContent() []byte
func (*ForwardMsgSrv) GetSpaceID ¶
func (m *ForwardMsgSrv) GetSpaceID() uint64
func (*ForwardMsgSrv) GetSrvID ¶
func (m *ForwardMsgSrv) GetSrvID() uint64
func (*ForwardMsgSrv) GetSrvType ¶
func (m *ForwardMsgSrv) GetSrvType() uint32
func (*ForwardMsgSrv) Marshal ¶
func (m *ForwardMsgSrv) Marshal() (dAtA []byte, err error)
func (*ForwardMsgSrv) MarshalToSizedBuffer ¶
func (m *ForwardMsgSrv) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ForwardMsgSrv) Name ¶
func (*ForwardMsgSrv) Name() string
func (*ForwardMsgSrv) ProtoMessage ¶
func (*ForwardMsgSrv) ProtoMessage()
func (*ForwardMsgSrv) Reset ¶
func (m *ForwardMsgSrv) Reset()
func (*ForwardMsgSrv) Size ¶
func (m *ForwardMsgSrv) Size() (n int)
func (*ForwardMsgSrv) String ¶
func (m *ForwardMsgSrv) String() string
func (*ForwardMsgSrv) Unmarshal ¶
func (m *ForwardMsgSrv) Unmarshal(dAtA []byte) error
func (*ForwardMsgSrv) XXX_DiscardUnknown ¶
func (m *ForwardMsgSrv) XXX_DiscardUnknown()
func (*ForwardMsgSrv) XXX_Marshal ¶
func (m *ForwardMsgSrv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ForwardMsgSrv) XXX_Merge ¶
func (m *ForwardMsgSrv) XXX_Merge(src proto.Message)
func (*ForwardMsgSrv) XXX_MessageName ¶
func (*ForwardMsgSrv) XXX_MessageName() string
func (*ForwardMsgSrv) XXX_Size ¶
func (m *ForwardMsgSrv) XXX_Size() int
func (*ForwardMsgSrv) XXX_Unmarshal ¶
func (m *ForwardMsgSrv) XXX_Unmarshal(b []byte) error
type ForwardRPCSrv ¶
type ForwardRPCSrv struct { // 接入对象的唯一ID EntityID uint64 `protobuf:"varint,1,opt,name=EntityID,proto3" json:"EntityID,omitempty"` // 接收对象所在的SpaceID SpaceID uint64 `protobuf:"varint,2,opt,name=SpaceID,proto3" json:"SpaceID,omitempty"` // 接收对象所在的服务器ID SrvID uint64 `protobuf:"varint,3,opt,name=SrvID,proto3" json:"SrvID,omitempty"` // 服务器类型 如果是客户端类型,先确定本服会不会有会话,再会去找getway服务器 SrvType uint32 `protobuf:"varint,4,opt,name=SrvType,proto3" json:"SrvType,omitempty"` // 消息对应的函数名 RPCName string `protobuf:"bytes,10,opt,name=RPCName,proto3" json:"RPCName,omitempty"` // 消息体,默认为:第一个byte表示消息号,后面的表示数据; MsgContent []byte `protobuf:"bytes,11,opt,name=MsgContent,proto3" json:"MsgContent,omitempty"` }
ForwardRPCSrv 转发RPC消息到目标服务器,这个消息只会在service上处理
func (*ForwardRPCSrv) Descriptor ¶
func (*ForwardRPCSrv) Descriptor() ([]byte, []int)
func (*ForwardRPCSrv) GetEntityID ¶
func (m *ForwardRPCSrv) GetEntityID() uint64
func (*ForwardRPCSrv) GetMsgContent ¶
func (m *ForwardRPCSrv) GetMsgContent() []byte
func (*ForwardRPCSrv) GetRPCName ¶
func (m *ForwardRPCSrv) GetRPCName() string
func (*ForwardRPCSrv) GetSpaceID ¶
func (m *ForwardRPCSrv) GetSpaceID() uint64
func (*ForwardRPCSrv) GetSrvID ¶
func (m *ForwardRPCSrv) GetSrvID() uint64
func (*ForwardRPCSrv) GetSrvType ¶
func (m *ForwardRPCSrv) GetSrvType() uint32
func (*ForwardRPCSrv) Marshal ¶
func (m *ForwardRPCSrv) Marshal() (dAtA []byte, err error)
func (*ForwardRPCSrv) MarshalToSizedBuffer ¶
func (m *ForwardRPCSrv) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ForwardRPCSrv) Name ¶
func (*ForwardRPCSrv) Name() string
func (*ForwardRPCSrv) ProtoMessage ¶
func (*ForwardRPCSrv) ProtoMessage()
func (*ForwardRPCSrv) Reset ¶
func (m *ForwardRPCSrv) Reset()
func (*ForwardRPCSrv) Size ¶
func (m *ForwardRPCSrv) Size() (n int)
func (*ForwardRPCSrv) String ¶
func (m *ForwardRPCSrv) String() string
func (*ForwardRPCSrv) Unmarshal ¶
func (m *ForwardRPCSrv) Unmarshal(dAtA []byte) error
func (*ForwardRPCSrv) XXX_DiscardUnknown ¶
func (m *ForwardRPCSrv) XXX_DiscardUnknown()
func (*ForwardRPCSrv) XXX_Marshal ¶
func (m *ForwardRPCSrv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ForwardRPCSrv) XXX_Merge ¶
func (m *ForwardRPCSrv) XXX_Merge(src proto.Message)
func (*ForwardRPCSrv) XXX_MessageName ¶
func (*ForwardRPCSrv) XXX_MessageName() string
func (*ForwardRPCSrv) XXX_Size ¶
func (m *ForwardRPCSrv) XXX_Size() int
func (*ForwardRPCSrv) XXX_Unmarshal ¶
func (m *ForwardRPCSrv) XXX_Unmarshal(b []byte) error
type Hangup ¶
type Hangup struct { }
结束链接消息
func (*Hangup) Descriptor ¶
func (*Hangup) MarshalToSizedBuffer ¶
func (*Hangup) ProtoMessage ¶
func (*Hangup) ProtoMessage()
func (*Hangup) XXX_DiscardUnknown ¶
func (m *Hangup) XXX_DiscardUnknown()
func (*Hangup) XXX_Marshal ¶
func (*Hangup) XXX_MessageName ¶
func (*Hangup) XXX_Unmarshal ¶
type HeartBeat ¶
type HeartBeat struct { }
心跳消息
func (*HeartBeat) Descriptor ¶
func (*HeartBeat) MarshalToSizedBuffer ¶
func (*HeartBeat) ProtoMessage ¶
func (*HeartBeat) ProtoMessage()
func (*HeartBeat) XXX_DiscardUnknown ¶
func (m *HeartBeat) XXX_DiscardUnknown()
func (*HeartBeat) XXX_Marshal ¶
func (*HeartBeat) XXX_MessageName ¶
func (*HeartBeat) XXX_Unmarshal ¶
type MsgRet ¶
type MsgRet struct { // 0表示成功,其他都是错误码 RetCode int32 `protobuf:"varint,1,opt,name=RetCode,proto3" json:"RetCode,omitempty"` //回复给哪个消息号 RetMsgID uint32 `protobuf:"varint,2,opt,name=RetMsgID,proto3" json:"RetMsgID,omitempty"` // 如果是错误回复,可能需要参数; Params []*RespParam `protobuf:"bytes,3,rep,name=Params,proto3" json:"Params,omitempty"` }
消息回复,用户通过的成功回复和错误信息回复
func (*MsgRet) Descriptor ¶
func (*MsgRet) GetRetCode ¶
func (*MsgRet) GetRetMsgID ¶
func (*MsgRet) MarshalToSizedBuffer ¶
func (*MsgRet) ProtoMessage ¶
func (*MsgRet) ProtoMessage()
func (*MsgRet) XXX_DiscardUnknown ¶
func (m *MsgRet) XXX_DiscardUnknown()
func (*MsgRet) XXX_Marshal ¶
func (*MsgRet) XXX_MessageName ¶
func (*MsgRet) XXX_Unmarshal ¶
type OtherGetPlayerInfoReq ¶
type OtherGetPlayerInfoReq struct { PID uint64 `protobuf:"varint,1,opt,name=PID,proto3" json:"PID,omitempty"` SpaceID uint64 `protobuf:"varint,2,opt,name=SpaceID,proto3" json:"SpaceID,omitempty"` SrvID uint64 `protobuf:"varint,3,opt,name=SrvID,proto3" json:"SrvID,omitempty"` BackKey uint64 `protobuf:"varint,4,opt,name=BackKey,proto3" json:"BackKey,omitempty"` SrvNames []string `protobuf:"bytes,5,rep,name=SrvNames,proto3" json:"SrvNames,omitempty"` }
其他服请求系统数据
func (*OtherGetPlayerInfoReq) Descriptor ¶
func (*OtherGetPlayerInfoReq) Descriptor() ([]byte, []int)
func (*OtherGetPlayerInfoReq) GetBackKey ¶
func (m *OtherGetPlayerInfoReq) GetBackKey() uint64
func (*OtherGetPlayerInfoReq) GetPID ¶
func (m *OtherGetPlayerInfoReq) GetPID() uint64
func (*OtherGetPlayerInfoReq) GetSpaceID ¶
func (m *OtherGetPlayerInfoReq) GetSpaceID() uint64
func (*OtherGetPlayerInfoReq) GetSrvID ¶
func (m *OtherGetPlayerInfoReq) GetSrvID() uint64
func (*OtherGetPlayerInfoReq) GetSrvNames ¶
func (m *OtherGetPlayerInfoReq) GetSrvNames() []string
func (*OtherGetPlayerInfoReq) Marshal ¶
func (m *OtherGetPlayerInfoReq) Marshal() (dAtA []byte, err error)
func (*OtherGetPlayerInfoReq) MarshalTo ¶
func (m *OtherGetPlayerInfoReq) MarshalTo(dAtA []byte) (int, error)
func (*OtherGetPlayerInfoReq) MarshalToSizedBuffer ¶
func (m *OtherGetPlayerInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OtherGetPlayerInfoReq) Name ¶
func (*OtherGetPlayerInfoReq) Name() string
func (*OtherGetPlayerInfoReq) ProtoMessage ¶
func (*OtherGetPlayerInfoReq) ProtoMessage()
func (*OtherGetPlayerInfoReq) Reset ¶
func (m *OtherGetPlayerInfoReq) Reset()
func (*OtherGetPlayerInfoReq) Size ¶
func (m *OtherGetPlayerInfoReq) Size() (n int)
func (*OtherGetPlayerInfoReq) String ¶
func (m *OtherGetPlayerInfoReq) String() string
func (*OtherGetPlayerInfoReq) Unmarshal ¶
func (m *OtherGetPlayerInfoReq) Unmarshal(dAtA []byte) error
func (*OtherGetPlayerInfoReq) XXX_DiscardUnknown ¶
func (m *OtherGetPlayerInfoReq) XXX_DiscardUnknown()
func (*OtherGetPlayerInfoReq) XXX_Marshal ¶
func (m *OtherGetPlayerInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OtherGetPlayerInfoReq) XXX_Merge ¶
func (m *OtherGetPlayerInfoReq) XXX_Merge(src proto.Message)
func (*OtherGetPlayerInfoReq) XXX_MessageName ¶
func (*OtherGetPlayerInfoReq) XXX_MessageName() string
func (*OtherGetPlayerInfoReq) XXX_Size ¶
func (m *OtherGetPlayerInfoReq) XXX_Size() int
func (*OtherGetPlayerInfoReq) XXX_Unmarshal ¶
func (m *OtherGetPlayerInfoReq) XXX_Unmarshal(b []byte) error
type OtherUpUserDatasRet ¶
type OtherUpUserDatasRet struct { Data *DBUpUserDatasReq `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"` ServiceName string `protobuf:"bytes,2,opt,name=ServiceName,proto3" json:"ServiceName,omitempty"` }
OtherUpUserDatasRet 更新他服数据
func (*OtherUpUserDatasRet) Descriptor ¶
func (*OtherUpUserDatasRet) Descriptor() ([]byte, []int)
func (*OtherUpUserDatasRet) GetData ¶
func (m *OtherUpUserDatasRet) GetData() *DBUpUserDatasReq
func (*OtherUpUserDatasRet) GetServiceName ¶
func (m *OtherUpUserDatasRet) GetServiceName() string
func (*OtherUpUserDatasRet) Marshal ¶
func (m *OtherUpUserDatasRet) Marshal() (dAtA []byte, err error)
func (*OtherUpUserDatasRet) MarshalTo ¶
func (m *OtherUpUserDatasRet) MarshalTo(dAtA []byte) (int, error)
func (*OtherUpUserDatasRet) MarshalToSizedBuffer ¶
func (m *OtherUpUserDatasRet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OtherUpUserDatasRet) Name ¶
func (*OtherUpUserDatasRet) Name() string
func (*OtherUpUserDatasRet) ProtoMessage ¶
func (*OtherUpUserDatasRet) ProtoMessage()
func (*OtherUpUserDatasRet) Reset ¶
func (m *OtherUpUserDatasRet) Reset()
func (*OtherUpUserDatasRet) Size ¶
func (m *OtherUpUserDatasRet) Size() (n int)
func (*OtherUpUserDatasRet) String ¶
func (m *OtherUpUserDatasRet) String() string
func (*OtherUpUserDatasRet) Unmarshal ¶
func (m *OtherUpUserDatasRet) Unmarshal(dAtA []byte) error
func (*OtherUpUserDatasRet) XXX_DiscardUnknown ¶
func (m *OtherUpUserDatasRet) XXX_DiscardUnknown()
func (*OtherUpUserDatasRet) XXX_Marshal ¶
func (m *OtherUpUserDatasRet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OtherUpUserDatasRet) XXX_Merge ¶
func (m *OtherUpUserDatasRet) XXX_Merge(src proto.Message)
func (*OtherUpUserDatasRet) XXX_MessageName ¶
func (*OtherUpUserDatasRet) XXX_MessageName() string
func (*OtherUpUserDatasRet) XXX_Size ¶
func (m *OtherUpUserDatasRet) XXX_Size() int
func (*OtherUpUserDatasRet) XXX_Unmarshal ¶
func (m *OtherUpUserDatasRet) XXX_Unmarshal(b []byte) error
type RespParam ¶
type RespParam struct { // Types that are valid to be assigned to ParamValue: // *RespParam_Int32Value // *RespParam_Uint32Value // *RespParam_Int64Value // *RespParam_Uint64Value // *RespParam_FloatValue // *RespParam_DoubleValue // *RespParam_StringValue // *RespParam_BoolValue ParamValue isRespParam_ParamValue `protobuf_oneof:"ParamValue"` }
回包参数
func (*RespParam) Descriptor ¶
func (*RespParam) GetBoolValue ¶
func (*RespParam) GetDoubleValue ¶
func (*RespParam) GetFloatValue ¶
func (*RespParam) GetInt32Value ¶
func (*RespParam) GetInt64Value ¶
func (*RespParam) GetParamValue ¶
func (m *RespParam) GetParamValue() isRespParam_ParamValue
func (*RespParam) GetStringValue ¶
func (*RespParam) GetUint32Value ¶
func (*RespParam) GetUint64Value ¶
func (*RespParam) MarshalToSizedBuffer ¶
func (*RespParam) ProtoMessage ¶
func (*RespParam) ProtoMessage()
func (*RespParam) XXX_DiscardUnknown ¶
func (m *RespParam) XXX_DiscardUnknown()
func (*RespParam) XXX_Marshal ¶
func (*RespParam) XXX_MessageName ¶
func (*RespParam) XXX_OneofWrappers ¶
func (*RespParam) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*RespParam) XXX_Unmarshal ¶
type RespParam_BoolValue ¶
type RespParam_BoolValue struct {
BoolValue bool `protobuf:"varint,8,opt,name=bool_value,json=boolValue,proto3,oneof" json:"bool_value,omitempty"`
}
func (*RespParam_BoolValue) MarshalTo ¶
func (m *RespParam_BoolValue) MarshalTo(dAtA []byte) (int, error)
func (*RespParam_BoolValue) MarshalToSizedBuffer ¶
func (m *RespParam_BoolValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RespParam_BoolValue) Size ¶
func (m *RespParam_BoolValue) Size() (n int)
type RespParam_DoubleValue ¶
type RespParam_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue,proto3,oneof" json:"double_value,omitempty"`
}
func (*RespParam_DoubleValue) MarshalTo ¶
func (m *RespParam_DoubleValue) MarshalTo(dAtA []byte) (int, error)
func (*RespParam_DoubleValue) MarshalToSizedBuffer ¶
func (m *RespParam_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RespParam_DoubleValue) Size ¶
func (m *RespParam_DoubleValue) Size() (n int)
type RespParam_FloatValue ¶
type RespParam_FloatValue struct {
FloatValue float32 `protobuf:"fixed32,5,opt,name=float_value,json=floatValue,proto3,oneof" json:"float_value,omitempty"`
}
func (*RespParam_FloatValue) MarshalTo ¶
func (m *RespParam_FloatValue) MarshalTo(dAtA []byte) (int, error)
func (*RespParam_FloatValue) MarshalToSizedBuffer ¶
func (m *RespParam_FloatValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RespParam_FloatValue) Size ¶
func (m *RespParam_FloatValue) Size() (n int)
type RespParam_Int32Value ¶
type RespParam_Int32Value struct {
Int32Value int32 `protobuf:"varint,1,opt,name=int32_value,json=int32Value,proto3,oneof" json:"int32_value,omitempty"`
}
func (*RespParam_Int32Value) MarshalTo ¶
func (m *RespParam_Int32Value) MarshalTo(dAtA []byte) (int, error)
func (*RespParam_Int32Value) MarshalToSizedBuffer ¶
func (m *RespParam_Int32Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RespParam_Int32Value) Size ¶
func (m *RespParam_Int32Value) Size() (n int)
type RespParam_Int64Value ¶
type RespParam_Int64Value struct {
Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof" json:"int64_value,omitempty"`
}
func (*RespParam_Int64Value) MarshalTo ¶
func (m *RespParam_Int64Value) MarshalTo(dAtA []byte) (int, error)
func (*RespParam_Int64Value) MarshalToSizedBuffer ¶
func (m *RespParam_Int64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RespParam_Int64Value) Size ¶
func (m *RespParam_Int64Value) Size() (n int)
type RespParam_StringValue ¶
type RespParam_StringValue struct {
StringValue string `protobuf:"bytes,7,opt,name=string_value,json=stringValue,proto3,oneof" json:"string_value,omitempty"`
}
func (*RespParam_StringValue) MarshalTo ¶
func (m *RespParam_StringValue) MarshalTo(dAtA []byte) (int, error)
func (*RespParam_StringValue) MarshalToSizedBuffer ¶
func (m *RespParam_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RespParam_StringValue) Size ¶
func (m *RespParam_StringValue) Size() (n int)
type RespParam_Uint32Value ¶
type RespParam_Uint32Value struct {
Uint32Value uint32 `protobuf:"varint,2,opt,name=uint32_value,json=uint32Value,proto3,oneof" json:"uint32_value,omitempty"`
}
func (*RespParam_Uint32Value) MarshalTo ¶
func (m *RespParam_Uint32Value) MarshalTo(dAtA []byte) (int, error)
func (*RespParam_Uint32Value) MarshalToSizedBuffer ¶
func (m *RespParam_Uint32Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RespParam_Uint32Value) Size ¶
func (m *RespParam_Uint32Value) Size() (n int)
type RespParam_Uint64Value ¶
type RespParam_Uint64Value struct {
Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof" json:"uint64_value,omitempty"`
}
func (*RespParam_Uint64Value) MarshalTo ¶
func (m *RespParam_Uint64Value) MarshalTo(dAtA []byte) (int, error)
func (*RespParam_Uint64Value) MarshalToSizedBuffer ¶
func (m *RespParam_Uint64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RespParam_Uint64Value) Size ¶
func (m *RespParam_Uint64Value) Size() (n int)
type ReturnLoginNtf ¶
type ReturnLoginNtf struct { // 0表示成功,其他都是错误码 RetCode int32 `protobuf:"varint,1,opt,name=RetCode,proto3" json:"RetCode,omitempty"` // 如果是错误回复,可能需要参数; Params []*RespParam `protobuf:"bytes,3,rep,name=Params,proto3" json:"Params,omitempty"` }
通知客户端,回到登录,并告知原因
func (*ReturnLoginNtf) Descriptor ¶
func (*ReturnLoginNtf) Descriptor() ([]byte, []int)
func (*ReturnLoginNtf) GetParams ¶
func (m *ReturnLoginNtf) GetParams() []*RespParam
func (*ReturnLoginNtf) GetRetCode ¶
func (m *ReturnLoginNtf) GetRetCode() int32
func (*ReturnLoginNtf) Marshal ¶
func (m *ReturnLoginNtf) Marshal() (dAtA []byte, err error)
func (*ReturnLoginNtf) MarshalToSizedBuffer ¶
func (m *ReturnLoginNtf) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReturnLoginNtf) Name ¶
func (*ReturnLoginNtf) Name() string
func (*ReturnLoginNtf) ProtoMessage ¶
func (*ReturnLoginNtf) ProtoMessage()
func (*ReturnLoginNtf) Reset ¶
func (m *ReturnLoginNtf) Reset()
func (*ReturnLoginNtf) Size ¶
func (m *ReturnLoginNtf) Size() (n int)
func (*ReturnLoginNtf) String ¶
func (m *ReturnLoginNtf) String() string
func (*ReturnLoginNtf) Unmarshal ¶
func (m *ReturnLoginNtf) Unmarshal(dAtA []byte) error
func (*ReturnLoginNtf) XXX_DiscardUnknown ¶
func (m *ReturnLoginNtf) XXX_DiscardUnknown()
func (*ReturnLoginNtf) XXX_Marshal ¶
func (m *ReturnLoginNtf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReturnLoginNtf) XXX_Merge ¶
func (m *ReturnLoginNtf) XXX_Merge(src proto.Message)
func (*ReturnLoginNtf) XXX_MessageName ¶
func (*ReturnLoginNtf) XXX_MessageName() string
func (*ReturnLoginNtf) XXX_Size ¶
func (m *ReturnLoginNtf) XXX_Size() int
func (*ReturnLoginNtf) XXX_Unmarshal ¶
func (m *ReturnLoginNtf) XXX_Unmarshal(b []byte) error
type SessClosed ¶
type SessClosed struct { //连接的唯一ID SessUID uint64 `protobuf:"varint,1,opt,name=SessUID,proto3" json:"SessUID,omitempty"` }
连接关闭消息处理
func (*SessClosed) Descriptor ¶
func (*SessClosed) Descriptor() ([]byte, []int)
func (*SessClosed) GetSessUID ¶
func (m *SessClosed) GetSessUID() uint64
func (*SessClosed) Marshal ¶
func (m *SessClosed) Marshal() (dAtA []byte, err error)
func (*SessClosed) MarshalToSizedBuffer ¶
func (m *SessClosed) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessClosed) Name ¶
func (*SessClosed) Name() string
func (*SessClosed) ProtoMessage ¶
func (*SessClosed) ProtoMessage()
func (*SessClosed) Reset ¶
func (m *SessClosed) Reset()
func (*SessClosed) Size ¶
func (m *SessClosed) Size() (n int)
func (*SessClosed) String ¶
func (m *SessClosed) String() string
func (*SessClosed) Unmarshal ¶
func (m *SessClosed) Unmarshal(dAtA []byte) error
func (*SessClosed) XXX_DiscardUnknown ¶
func (m *SessClosed) XXX_DiscardUnknown()
func (*SessClosed) XXX_Marshal ¶
func (m *SessClosed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SessClosed) XXX_Merge ¶
func (m *SessClosed) XXX_Merge(src proto.Message)
func (*SessClosed) XXX_MessageName ¶
func (*SessClosed) XXX_MessageName() string
func (*SessClosed) XXX_Size ¶
func (m *SessClosed) XXX_Size() int
func (*SessClosed) XXX_Unmarshal ¶
func (m *SessClosed) XXX_Unmarshal(b []byte) error
type SyncEntityProps ¶
type SyncEntityProps struct { // 对象UID EntityID uint64 `protobuf:"varint,1,opt,name=entityID,proto3" json:"entityID,omitempty"` // 对象类型 EntityType string `protobuf:"bytes,2,opt,name=entityType,proto3" json:"entityType,omitempty"` // 需要同步的属性列表 Props []*SyncProp `protobuf:"bytes,3,rep,name=Props,proto3" json:"Props,omitempty"` }
同步属性列表通过RPCEntityRet发给客户端,客户端就知道是谁的属性变化
func (*SyncEntityProps) Descriptor ¶
func (*SyncEntityProps) Descriptor() ([]byte, []int)
func (*SyncEntityProps) GetEntityID ¶
func (m *SyncEntityProps) GetEntityID() uint64
func (*SyncEntityProps) GetEntityType ¶
func (m *SyncEntityProps) GetEntityType() string
func (*SyncEntityProps) GetProps ¶
func (m *SyncEntityProps) GetProps() []*SyncProp
func (*SyncEntityProps) Marshal ¶
func (m *SyncEntityProps) Marshal() (dAtA []byte, err error)
func (*SyncEntityProps) MarshalToSizedBuffer ¶
func (m *SyncEntityProps) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncEntityProps) Name ¶
func (*SyncEntityProps) Name() string
func (*SyncEntityProps) ProtoMessage ¶
func (*SyncEntityProps) ProtoMessage()
func (*SyncEntityProps) Reset ¶
func (m *SyncEntityProps) Reset()
func (*SyncEntityProps) Size ¶
func (m *SyncEntityProps) Size() (n int)
func (*SyncEntityProps) String ¶
func (m *SyncEntityProps) String() string
func (*SyncEntityProps) Unmarshal ¶
func (m *SyncEntityProps) Unmarshal(dAtA []byte) error
func (*SyncEntityProps) XXX_DiscardUnknown ¶
func (m *SyncEntityProps) XXX_DiscardUnknown()
func (*SyncEntityProps) XXX_Marshal ¶
func (m *SyncEntityProps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncEntityProps) XXX_Merge ¶
func (m *SyncEntityProps) XXX_Merge(src proto.Message)
func (*SyncEntityProps) XXX_MessageName ¶
func (*SyncEntityProps) XXX_MessageName() string
func (*SyncEntityProps) XXX_Size ¶
func (m *SyncEntityProps) XXX_Size() int
func (*SyncEntityProps) XXX_Unmarshal ¶
func (m *SyncEntityProps) XXX_Unmarshal(b []byte) error
type SyncProp ¶
type SyncProp struct { // 属性索引ID Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // 属性值 // // Types that are valid to be assigned to PropValue: // // *SyncProp_Int32Value // *SyncProp_Uint32Value // *SyncProp_Int64Value // *SyncProp_Uint64Value // *SyncProp_FloatValue // *SyncProp_DoubleValue // *SyncProp_StringValue // *SyncProp_BoolValue // *SyncProp_Msg_Value PropValue isSyncProp_PropValue `protobuf_oneof:"PropValue"` }
同步基础结构
func (*SyncProp) Descriptor ¶
func (*SyncProp) GetBoolValue ¶
func (*SyncProp) GetDoubleValue ¶
func (*SyncProp) GetFloatValue ¶
func (*SyncProp) GetInt32Value ¶
func (*SyncProp) GetInt64Value ¶
func (*SyncProp) GetMsg_Value ¶
func (*SyncProp) GetPropValue ¶
func (m *SyncProp) GetPropValue() isSyncProp_PropValue
func (*SyncProp) GetStringValue ¶
func (*SyncProp) GetUint32Value ¶
func (*SyncProp) GetUint64Value ¶
func (*SyncProp) MarshalToSizedBuffer ¶
func (*SyncProp) ProtoMessage ¶
func (*SyncProp) ProtoMessage()
func (*SyncProp) XXX_DiscardUnknown ¶
func (m *SyncProp) XXX_DiscardUnknown()
func (*SyncProp) XXX_Marshal ¶
func (*SyncProp) XXX_MessageName ¶
func (*SyncProp) XXX_OneofWrappers ¶
func (*SyncProp) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SyncProp) XXX_Unmarshal ¶
type SyncProp_BoolValue ¶
type SyncProp_BoolValue struct {
BoolValue bool `protobuf:"varint,9,opt,name=bool_value,json=boolValue,proto3,oneof" json:"bool_value,omitempty"`
}
func (*SyncProp_BoolValue) MarshalTo ¶
func (m *SyncProp_BoolValue) MarshalTo(dAtA []byte) (int, error)
func (*SyncProp_BoolValue) MarshalToSizedBuffer ¶
func (m *SyncProp_BoolValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncProp_BoolValue) Size ¶
func (m *SyncProp_BoolValue) Size() (n int)
type SyncProp_DoubleValue ¶
type SyncProp_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,7,opt,name=double_value,json=doubleValue,proto3,oneof" json:"double_value,omitempty"`
}
func (*SyncProp_DoubleValue) MarshalTo ¶
func (m *SyncProp_DoubleValue) MarshalTo(dAtA []byte) (int, error)
func (*SyncProp_DoubleValue) MarshalToSizedBuffer ¶
func (m *SyncProp_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncProp_DoubleValue) Size ¶
func (m *SyncProp_DoubleValue) Size() (n int)
type SyncProp_FloatValue ¶
type SyncProp_FloatValue struct {
FloatValue float32 `protobuf:"fixed32,6,opt,name=float_value,json=floatValue,proto3,oneof" json:"float_value,omitempty"`
}
func (*SyncProp_FloatValue) MarshalTo ¶
func (m *SyncProp_FloatValue) MarshalTo(dAtA []byte) (int, error)
func (*SyncProp_FloatValue) MarshalToSizedBuffer ¶
func (m *SyncProp_FloatValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncProp_FloatValue) Size ¶
func (m *SyncProp_FloatValue) Size() (n int)
type SyncProp_Int32Value ¶
type SyncProp_Int32Value struct {
Int32Value int32 `protobuf:"varint,2,opt,name=int32_value,json=int32Value,proto3,oneof" json:"int32_value,omitempty"`
}
func (*SyncProp_Int32Value) MarshalTo ¶
func (m *SyncProp_Int32Value) MarshalTo(dAtA []byte) (int, error)
func (*SyncProp_Int32Value) MarshalToSizedBuffer ¶
func (m *SyncProp_Int32Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncProp_Int32Value) Size ¶
func (m *SyncProp_Int32Value) Size() (n int)
type SyncProp_Int64Value ¶
type SyncProp_Int64Value struct {
Int64Value int64 `protobuf:"varint,4,opt,name=int64_value,json=int64Value,proto3,oneof" json:"int64_value,omitempty"`
}
func (*SyncProp_Int64Value) MarshalTo ¶
func (m *SyncProp_Int64Value) MarshalTo(dAtA []byte) (int, error)
func (*SyncProp_Int64Value) MarshalToSizedBuffer ¶
func (m *SyncProp_Int64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncProp_Int64Value) Size ¶
func (m *SyncProp_Int64Value) Size() (n int)
type SyncProp_Msg_Value ¶
type SyncProp_Msg_Value struct {
Msg_Value []byte `protobuf:"bytes,10,opt,name=Msg_Value,json=MsgValue,proto3,oneof" json:"Msg_Value,omitempty"`
}
func (*SyncProp_Msg_Value) MarshalTo ¶
func (m *SyncProp_Msg_Value) MarshalTo(dAtA []byte) (int, error)
func (*SyncProp_Msg_Value) MarshalToSizedBuffer ¶
func (m *SyncProp_Msg_Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncProp_Msg_Value) Size ¶
func (m *SyncProp_Msg_Value) Size() (n int)
type SyncProp_StringValue ¶
type SyncProp_StringValue struct {
StringValue string `protobuf:"bytes,8,opt,name=string_value,json=stringValue,proto3,oneof" json:"string_value,omitempty"`
}
func (*SyncProp_StringValue) MarshalTo ¶
func (m *SyncProp_StringValue) MarshalTo(dAtA []byte) (int, error)
func (*SyncProp_StringValue) MarshalToSizedBuffer ¶
func (m *SyncProp_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncProp_StringValue) Size ¶
func (m *SyncProp_StringValue) Size() (n int)
type SyncProp_Uint32Value ¶
type SyncProp_Uint32Value struct {
Uint32Value uint32 `protobuf:"varint,3,opt,name=uint32_value,json=uint32Value,proto3,oneof" json:"uint32_value,omitempty"`
}
func (*SyncProp_Uint32Value) MarshalTo ¶
func (m *SyncProp_Uint32Value) MarshalTo(dAtA []byte) (int, error)
func (*SyncProp_Uint32Value) MarshalToSizedBuffer ¶
func (m *SyncProp_Uint32Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncProp_Uint32Value) Size ¶
func (m *SyncProp_Uint32Value) Size() (n int)
type SyncProp_Uint64Value ¶
type SyncProp_Uint64Value struct {
Uint64Value uint64 `protobuf:"varint,5,opt,name=uint64_value,json=uint64Value,proto3,oneof" json:"uint64_value,omitempty"`
}
func (*SyncProp_Uint64Value) MarshalTo ¶
func (m *SyncProp_Uint64Value) MarshalTo(dAtA []byte) (int, error)
func (*SyncProp_Uint64Value) MarshalToSizedBuffer ¶
func (m *SyncProp_Uint64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncProp_Uint64Value) Size ¶
func (m *SyncProp_Uint64Value) Size() (n int)
type TableData ¶
type TableData struct { // 字段 Datas map[string]*FieldData `` /* 151-byte string literal not displayed */ }
差量数据更新包
func (*TableData) Descriptor ¶
func (*TableData) MarshalToSizedBuffer ¶
func (*TableData) ProtoMessage ¶
func (*TableData) ProtoMessage()
func (*TableData) XXX_DiscardUnknown ¶
func (m *TableData) XXX_DiscardUnknown()
func (*TableData) XXX_Marshal ¶
func (*TableData) XXX_MessageName ¶
func (*TableData) XXX_Unmarshal ¶
type TestHeroInfo ¶
type TestHeroInfo struct { Job int32 `protobuf:"varint,1,opt,name=Job,proto3" json:"Job,omitempty"` CurExp int32 `protobuf:"varint,2,opt,name=CurExp,proto3" json:"CurExp,omitempty"` Level int32 `protobuf:"varint,3,opt,name=Level,proto3" json:"Level,omitempty"` }
英雄信息
func (*TestHeroInfo) Descriptor ¶
func (*TestHeroInfo) Descriptor() ([]byte, []int)
func (*TestHeroInfo) GetCurExp ¶
func (m *TestHeroInfo) GetCurExp() int32
func (*TestHeroInfo) GetJob ¶
func (m *TestHeroInfo) GetJob() int32
func (*TestHeroInfo) GetLevel ¶
func (m *TestHeroInfo) GetLevel() int32
func (*TestHeroInfo) Marshal ¶
func (m *TestHeroInfo) Marshal() (dAtA []byte, err error)
func (*TestHeroInfo) MarshalToSizedBuffer ¶
func (m *TestHeroInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TestHeroInfo) Name ¶
func (*TestHeroInfo) Name() string
func (*TestHeroInfo) ProtoMessage ¶
func (*TestHeroInfo) ProtoMessage()
func (*TestHeroInfo) Reset ¶
func (m *TestHeroInfo) Reset()
func (*TestHeroInfo) Scan ¶
func (m *TestHeroInfo) Scan(value interface{}) error
func (*TestHeroInfo) Size ¶
func (m *TestHeroInfo) Size() (n int)
func (*TestHeroInfo) String ¶
func (m *TestHeroInfo) String() string
func (*TestHeroInfo) Unmarshal ¶
func (m *TestHeroInfo) Unmarshal(dAtA []byte) error
func (*TestHeroInfo) XXX_DiscardUnknown ¶
func (m *TestHeroInfo) XXX_DiscardUnknown()
func (*TestHeroInfo) XXX_Marshal ¶
func (m *TestHeroInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestHeroInfo) XXX_Merge ¶
func (m *TestHeroInfo) XXX_Merge(src proto.Message)
func (*TestHeroInfo) XXX_MessageName ¶
func (*TestHeroInfo) XXX_MessageName() string
func (*TestHeroInfo) XXX_Size ¶
func (m *TestHeroInfo) XXX_Size() int
func (*TestHeroInfo) XXX_Unmarshal ¶
func (m *TestHeroInfo) XXX_Unmarshal(b []byte) error
type TestTableMD ¶
type TestTableMD struct { // 玩家ID PID uint64 `protobuf:"varint,2,opt,name=PID,proto3" json:"PID,omitempty" gorm:"primarykey;column:pid"` // 英雄信息 Hero TestHeroInfo `protobuf:"bytes,10,opt,name=Hero,proto3" json:"Hero" gorm:"type:blob;column:hero"` TestCount int32 `protobuf:"varint,11,opt,name=TestCount,proto3" json:"TestCount,omitempty" gorm:"column:testcount"` ExData TableData `protobuf:"-" gorm:"column:exdata" json:"-"` DeletedAt gorm.DeletedAt `protobuf:"-" gorm:"index;column:delete_at" json:"-"` CreatedAt time.Time `protobuf:"-" gorm:"column:created_at" json:"-"` UpdatedAt time.Time `protobuf:"-" gorm:"column:updated_at" json:"-"` // contains filtered or unexported fields }
测试表
func (*TestTableMD) BeforeSave ¶
func (m *TestTableMD) BeforeSave(tx *gorm.DB) (err error)
func (*TestTableMD) Descriptor ¶
func (*TestTableMD) Descriptor() ([]byte, []int)
func (*TestTableMD) GetHero ¶
func (m *TestTableMD) GetHero() TestHeroInfo
func (*TestTableMD) GetIsPartial ¶
func (*TestTableMD) GetIsPartial() bool
GetIsPartial(每个子系统都需要检查这个值返回的)是否支持单个字段更新
func (*TestTableMD) GetPID ¶
func (m *TestTableMD) GetPID() uint64
func (*TestTableMD) GetTestCount ¶
func (m *TestTableMD) GetTestCount() int32
func (*TestTableMD) IsDeleted ¶
func (m *TestTableMD) IsDeleted() bool
func (*TestTableMD) KeyName ¶
func (m *TestTableMD) KeyName() string
func (*TestTableMD) Marshal ¶
func (m *TestTableMD) Marshal() (dAtA []byte, err error)
func (*TestTableMD) MarshalToSizedBuffer ¶
func (m *TestTableMD) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TestTableMD) Name ¶
func (*TestTableMD) Name() string
func (*TestTableMD) ProtoMessage ¶
func (*TestTableMD) ProtoMessage()
func (*TestTableMD) Reset ¶
func (m *TestTableMD) Reset()
func (*TestTableMD) RevokeDelete ¶
func (m *TestTableMD) RevokeDelete()
func (*TestTableMD) SetArgs ¶
func (m *TestTableMD) SetArgs(args IArgs)
func (*TestTableMD) SetDelete ¶
func (m *TestTableMD) SetDelete()
func (*TestTableMD) SetDirtyHero ¶
func (m *TestTableMD) SetDirtyHero()
func (*TestTableMD) SetDirtyPID ¶
func (m *TestTableMD) SetDirtyPID()
func (*TestTableMD) SetDirtyTestCount ¶
func (m *TestTableMD) SetDirtyTestCount()
func (*TestTableMD) SetHero ¶
func (m *TestTableMD) SetHero(v TestHeroInfo)
func (*TestTableMD) SetPID ¶
func (m *TestTableMD) SetPID(v uint64)
func (*TestTableMD) SetTestCount ¶
func (m *TestTableMD) SetTestCount(v int32)
func (*TestTableMD) Size ¶
func (m *TestTableMD) Size() (n int)
func (*TestTableMD) String ¶
func (m *TestTableMD) String() string
func (*TestTableMD) Unmarshal ¶
func (m *TestTableMD) Unmarshal(dAtA []byte) error
func (*TestTableMD) XXX_DiscardUnknown ¶
func (m *TestTableMD) XXX_DiscardUnknown()
func (*TestTableMD) XXX_Marshal ¶
func (m *TestTableMD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestTableMD) XXX_Merge ¶
func (m *TestTableMD) XXX_Merge(src proto.Message)
func (*TestTableMD) XXX_MessageName ¶
func (*TestTableMD) XXX_MessageName() string
func (*TestTableMD) XXX_Size ¶
func (m *TestTableMD) XXX_Size() int
func (*TestTableMD) XXX_Unmarshal ¶
func (m *TestTableMD) XXX_Unmarshal(b []byte) error
type UserDuplicateLoginNtf ¶
type UserDuplicateLoginNtf struct { }
UserDuplicateLoginNtf 玩家重复登录通知
func (*UserDuplicateLoginNtf) Descriptor ¶
func (*UserDuplicateLoginNtf) Descriptor() ([]byte, []int)
func (*UserDuplicateLoginNtf) Marshal ¶
func (m *UserDuplicateLoginNtf) Marshal() (dAtA []byte, err error)
func (*UserDuplicateLoginNtf) MarshalTo ¶
func (m *UserDuplicateLoginNtf) MarshalTo(dAtA []byte) (int, error)
func (*UserDuplicateLoginNtf) MarshalToSizedBuffer ¶
func (m *UserDuplicateLoginNtf) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserDuplicateLoginNtf) Name ¶
func (*UserDuplicateLoginNtf) Name() string
func (*UserDuplicateLoginNtf) ProtoMessage ¶
func (*UserDuplicateLoginNtf) ProtoMessage()
func (*UserDuplicateLoginNtf) Reset ¶
func (m *UserDuplicateLoginNtf) Reset()
func (*UserDuplicateLoginNtf) Size ¶
func (m *UserDuplicateLoginNtf) Size() (n int)
func (*UserDuplicateLoginNtf) String ¶
func (m *UserDuplicateLoginNtf) String() string
func (*UserDuplicateLoginNtf) Unmarshal ¶
func (m *UserDuplicateLoginNtf) Unmarshal(dAtA []byte) error
func (*UserDuplicateLoginNtf) XXX_DiscardUnknown ¶
func (m *UserDuplicateLoginNtf) XXX_DiscardUnknown()
func (*UserDuplicateLoginNtf) XXX_Marshal ¶
func (m *UserDuplicateLoginNtf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserDuplicateLoginNtf) XXX_Merge ¶
func (m *UserDuplicateLoginNtf) XXX_Merge(src proto.Message)
func (*UserDuplicateLoginNtf) XXX_MessageName ¶
func (*UserDuplicateLoginNtf) XXX_MessageName() string
func (*UserDuplicateLoginNtf) XXX_Size ¶
func (m *UserDuplicateLoginNtf) XXX_Size() int
func (*UserDuplicateLoginNtf) XXX_Unmarshal ¶
func (m *UserDuplicateLoginNtf) XXX_Unmarshal(b []byte) error
type Vector2 ¶
type Vector2 struct { // 长 X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` // 宽 Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` }
坐标二唯
func (*Vector2) Descriptor ¶
func (*Vector2) MarshalToSizedBuffer ¶
func (*Vector2) ProtoMessage ¶
func (*Vector2) ProtoMessage()
func (*Vector2) XXX_DiscardUnknown ¶
func (m *Vector2) XXX_DiscardUnknown()
func (*Vector2) XXX_Marshal ¶
func (*Vector2) XXX_MessageName ¶
func (*Vector2) XXX_Unmarshal ¶
type Vector3 ¶
type Vector3 struct { // 长 X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` // 高 Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` // 宽 Z float64 `protobuf:"fixed64,3,opt,name=z,proto3" json:"z,omitempty"` }
坐标三唯
func (Vector3) Cross ¶
向量叉积(Cross Product),也称为向量积、外积, 是两个三维向量 A = (Ax, Ay, Az) 和 B = (Bx, By, Bz) 所确定的平行四边形面积所对应的向量,可用以下公式表示:
``` A × B = (AyBz − AzBy)i + (AzBx − AxBz)j + (AxBy − AyBx)k ```
其中,i、j、k分别为三维空间中的基向量。
叉积的结果是一个新的向量,与原来的两个向量垂直。另外,叉积也有如下性质:
1. 对于任意的向量A和B,有A×B = -B×A。 2. 若A和B共线,则它们的叉积为零向量。 3. 计算叉积的结果与向量AB所在平面垂直,并且遵循右手定则, 即将右手的食指从向量A旋转到向量B的方向,并将中指弯曲90度,此时拇指所指的方向即为叉积所在的方向。
叉积常用于计算平面的法向量、判断点在平面上方还是下方等问题。它在计算机图形学、物理学等领域中广泛应用。
Cross 叉乘
func (*Vector3) Descriptor ¶
func (Vector3) Dot ¶
向量的点积(Dot Product)也叫数量积、内积,是两个向量的乘积的数量级的余弦值, 用于计算两个向量之间的夹角。具体而言,对于两个三维向量A=(Ax,Ay,Az)和B=(Bx,By,Bz),它们的点积为: A · B = Ax*Bx + Ay*By + Az*Bz 点积的结果是一个实数,可以用来判断两个向量的相似度以及方向是否相同。 如果点积结果为0,则表示两个向量垂直; 如果点积结果大于0,则表示两个向量夹角小于90度,且方向相同; 如果点积结果小于0,则表示两个向量夹角大于90度,且方向相反。
Dot 点积
func (Vector3) IsOutOfRange ¶
判断自己的长度是否超出r的范围 Y轴方向已忽略,而且无开方
func (Vector3) IsOutOfRangeInt32 ¶
判断自己的长度是否超出r的范围 Y轴方向已忽略,而且无开方
func (*Vector3) MarshalToSizedBuffer ¶
func (*Vector3) ProtoMessage ¶
func (*Vector3) ProtoMessage()
func (*Vector3) XXX_DiscardUnknown ¶
func (m *Vector3) XXX_DiscardUnknown()