Documentation ¶
Index ¶
- Constants
- Variables
- func Decode(buff []byte) (uint32, []byte)
- func Encode(packet proto.Message) []byte
- func GetMessageName(packet proto.Message) string
- func GetPakcetName(packetId uint32) string
- func Init()
- func InitClient()
- func RegisterPacket(packet proto.Message, funcName string)
- func UnmarshalText(packet proto.Message, packetBuf []byte) error
- type CHAT
- type C_Z_LoginCopyMap
- func (*C_Z_LoginCopyMap) Descriptor() ([]byte, []int)deprecated
- func (x *C_Z_LoginCopyMap) GetDataId() int32
- func (x *C_Z_LoginCopyMap) GetPacketHead() *Ipacket
- func (*C_Z_LoginCopyMap) ProtoMessage()
- func (x *C_Z_LoginCopyMap) ProtoReflect() protoreflect.Message
- func (x *C_Z_LoginCopyMap) Reset()
- func (x *C_Z_LoginCopyMap) String() string
- type C_Z_Move
- type C_Z_Move_Move
- func (*C_Z_Move_Move) Descriptor() ([]byte, []int)deprecated
- func (x *C_Z_Move_Move) GetMode() int32
- func (x *C_Z_Move_Move) GetNormal() *C_Z_Move_Move_Normal
- func (*C_Z_Move_Move) ProtoMessage()
- func (x *C_Z_Move_Move) ProtoReflect() protoreflect.Message
- func (x *C_Z_Move_Move) Reset()
- func (x *C_Z_Move_Move) String() string
- type C_Z_Move_Move_Normal
- func (*C_Z_Move_Move_Normal) Descriptor() ([]byte, []int)deprecated
- func (x *C_Z_Move_Move_Normal) GetDuration() float32
- func (x *C_Z_Move_Move_Normal) GetPos() *Point3F
- func (x *C_Z_Move_Move_Normal) GetYaw() float32
- func (*C_Z_Move_Move_Normal) ProtoMessage()
- func (x *C_Z_Move_Move_Normal) ProtoReflect() protoreflect.Message
- func (x *C_Z_Move_Move_Normal) Reset()
- func (x *C_Z_Move_Move_Normal) String() string
- type C_Z_Skill
- func (*C_Z_Skill) Descriptor() ([]byte, []int)deprecated
- func (x *C_Z_Skill) GetPacketHead() *Ipacket
- func (x *C_Z_Skill) GetSkillId() int32
- func (x *C_Z_Skill) GetTargetId() int64
- func (*C_Z_Skill) ProtoMessage()
- func (x *C_Z_Skill) ProtoReflect() protoreflect.Message
- func (x *C_Z_Skill) Reset()
- func (x *C_Z_Skill) String() string
- type ChatMessageRequest
- func (*ChatMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMessageRequest) GetMessage() string
- func (x *ChatMessageRequest) GetMessageType() int32
- func (x *ChatMessageRequest) GetPacketHead() *Ipacket
- func (x *ChatMessageRequest) GetRecver() int64
- func (x *ChatMessageRequest) GetSender() int64
- func (*ChatMessageRequest) ProtoMessage()
- func (x *ChatMessageRequest) ProtoReflect() protoreflect.Message
- func (x *ChatMessageRequest) Reset()
- func (x *ChatMessageRequest) String() string
- type ChatMessageResponse
- func (*ChatMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMessageResponse) GetMessage() string
- func (x *ChatMessageResponse) GetMessageType() int32
- func (x *ChatMessageResponse) GetPacketHead() *Ipacket
- func (x *ChatMessageResponse) GetRecver() int64
- func (x *ChatMessageResponse) GetRecverName() string
- func (x *ChatMessageResponse) GetSender() int64
- func (x *ChatMessageResponse) GetSenderName() string
- func (*ChatMessageResponse) ProtoMessage()
- func (x *ChatMessageResponse) ProtoReflect() protoreflect.Message
- func (x *ChatMessageResponse) Reset()
- func (x *ChatMessageResponse) String() string
- type CreatePlayerRequest
- func (*CreatePlayerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePlayerRequest) GetPacketHead() *Ipacket
- func (x *CreatePlayerRequest) GetPlayerName() string
- func (x *CreatePlayerRequest) GetSex() int32
- func (*CreatePlayerRequest) ProtoMessage()
- func (x *CreatePlayerRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePlayerRequest) Reset()
- func (x *CreatePlayerRequest) String() string
- type HeardPacket
- type Ipacket
- func (*Ipacket) Descriptor() ([]byte, []int)deprecated
- func (x *Ipacket) GetCkx() int32
- func (x *Ipacket) GetDestServerType() SERVICE
- func (x *Ipacket) GetId() int64
- func (x *Ipacket) GetStx() int32
- func (*Ipacket) ProtoMessage()
- func (x *Ipacket) ProtoReflect() protoreflect.Message
- func (x *Ipacket) Reset()
- func (x *Ipacket) String() string
- type LoginAccountRequest
- func (*LoginAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginAccountRequest) GetAccountName() string
- func (x *LoginAccountRequest) GetBuildNo() string
- func (x *LoginAccountRequest) GetKey() int64
- func (x *LoginAccountRequest) GetPacketHead() *Ipacket
- func (x *LoginAccountRequest) GetPassword() string
- func (*LoginAccountRequest) ProtoMessage()
- func (x *LoginAccountRequest) ProtoReflect() protoreflect.Message
- func (x *LoginAccountRequest) Reset()
- func (x *LoginAccountRequest) String() string
- type LoginAccountResponse
- func (*LoginAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginAccountResponse) GetAccountName() string
- func (x *LoginAccountResponse) GetError() int32
- func (x *LoginAccountResponse) GetPacketHead() *Ipacket
- func (*LoginAccountResponse) ProtoMessage()
- func (x *LoginAccountResponse) ProtoReflect() protoreflect.Message
- func (x *LoginAccountResponse) Reset()
- func (x *LoginAccountResponse) String() string
- type LoginPlayerRequset
- func (*LoginPlayerRequset) Descriptor() ([]byte, []int)deprecated
- func (x *LoginPlayerRequset) GetKey() int64
- func (x *LoginPlayerRequset) GetPacketHead() *Ipacket
- func (x *LoginPlayerRequset) GetPlayerId() int64
- func (*LoginPlayerRequset) ProtoMessage()
- func (x *LoginPlayerRequset) ProtoReflect() protoreflect.Message
- func (x *LoginPlayerRequset) Reset()
- func (x *LoginPlayerRequset) String() string
- type Packet
- type PacketRoute
- type PlayerData
- func (*PlayerData) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerData) GetPlayerGold() int32
- func (x *PlayerData) GetPlayerID() int64
- func (x *PlayerData) GetPlayerName() string
- func (*PlayerData) ProtoMessage()
- func (x *PlayerData) ProtoReflect() protoreflect.Message
- func (x *PlayerData) Reset()
- func (x *PlayerData) String() string
- type Point3F
- type SERVICE
- type SelectPlayerResponse
- func (*SelectPlayerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SelectPlayerResponse) GetAccountId() int64
- func (x *SelectPlayerResponse) GetKey() int64
- func (x *SelectPlayerResponse) GetPacketHead() *Ipacket
- func (x *SelectPlayerResponse) GetPlayerData() []*PlayerData
- func (*SelectPlayerResponse) ProtoMessage()
- func (x *SelectPlayerResponse) ProtoReflect() protoreflect.Message
- func (x *SelectPlayerResponse) Reset()
- func (x *SelectPlayerResponse) String() string
- type W_C_Test
- type Z_C_ENTITY
- func (*Z_C_ENTITY) Descriptor() ([]byte, []int)deprecated
- func (x *Z_C_ENTITY) GetEntityInfo() []*Z_C_ENTITY_Entity
- func (x *Z_C_ENTITY) GetPacketHead() *Ipacket
- func (*Z_C_ENTITY) ProtoMessage()
- func (x *Z_C_ENTITY) ProtoReflect() protoreflect.Message
- func (x *Z_C_ENTITY) Reset()
- func (x *Z_C_ENTITY) String() string
- type Z_C_ENTITY_Entity
- func (*Z_C_ENTITY_Entity) Descriptor() ([]byte, []int)deprecated
- func (x *Z_C_ENTITY_Entity) GetData() *Z_C_ENTITY_Entity_DataMask
- func (x *Z_C_ENTITY_Entity) GetId() int64
- func (x *Z_C_ENTITY_Entity) GetMove() *Z_C_ENTITY_Entity_MoveMask
- func (x *Z_C_ENTITY_Entity) GetStats() *Z_C_ENTITY_Entity_StatsMask
- func (*Z_C_ENTITY_Entity) ProtoMessage()
- func (x *Z_C_ENTITY_Entity) ProtoReflect() protoreflect.Message
- func (x *Z_C_ENTITY_Entity) Reset()
- func (x *Z_C_ENTITY_Entity) String() string
- type Z_C_ENTITY_Entity_DataMask
- func (*Z_C_ENTITY_Entity_DataMask) Descriptor() ([]byte, []int)deprecated
- func (x *Z_C_ENTITY_Entity_DataMask) GetNpcData() *Z_C_ENTITY_Entity_DataMask_NpcDataMask
- func (x *Z_C_ENTITY_Entity_DataMask) GetRemoveFlag() bool
- func (x *Z_C_ENTITY_Entity_DataMask) GetSpellData() *Z_C_ENTITY_Entity_DataMask_SpellDataMask
- func (x *Z_C_ENTITY_Entity_DataMask) GetType() int32
- func (*Z_C_ENTITY_Entity_DataMask) ProtoMessage()
- func (x *Z_C_ENTITY_Entity_DataMask) ProtoReflect() protoreflect.Message
- func (x *Z_C_ENTITY_Entity_DataMask) Reset()
- func (x *Z_C_ENTITY_Entity_DataMask) String() string
- type Z_C_ENTITY_Entity_DataMask_NpcDataMask
- func (*Z_C_ENTITY_Entity_DataMask_NpcDataMask) Descriptor() ([]byte, []int)deprecated
- func (x *Z_C_ENTITY_Entity_DataMask_NpcDataMask) GetDataId() int32
- func (*Z_C_ENTITY_Entity_DataMask_NpcDataMask) ProtoMessage()
- func (x *Z_C_ENTITY_Entity_DataMask_NpcDataMask) ProtoReflect() protoreflect.Message
- func (x *Z_C_ENTITY_Entity_DataMask_NpcDataMask) Reset()
- func (x *Z_C_ENTITY_Entity_DataMask_NpcDataMask) String() string
- type Z_C_ENTITY_Entity_DataMask_SpellDataMask
- func (*Z_C_ENTITY_Entity_DataMask_SpellDataMask) Descriptor() ([]byte, []int)deprecated
- func (x *Z_C_ENTITY_Entity_DataMask_SpellDataMask) GetDataId() int32
- func (x *Z_C_ENTITY_Entity_DataMask_SpellDataMask) GetFlySpeed() int32
- func (x *Z_C_ENTITY_Entity_DataMask_SpellDataMask) GetLifeTime() int32
- func (*Z_C_ENTITY_Entity_DataMask_SpellDataMask) ProtoMessage()
- func (x *Z_C_ENTITY_Entity_DataMask_SpellDataMask) ProtoReflect() protoreflect.Message
- func (x *Z_C_ENTITY_Entity_DataMask_SpellDataMask) Reset()
- func (x *Z_C_ENTITY_Entity_DataMask_SpellDataMask) String() string
- type Z_C_ENTITY_Entity_MoveMask
- func (*Z_C_ENTITY_Entity_MoveMask) Descriptor() ([]byte, []int)deprecated
- func (x *Z_C_ENTITY_Entity_MoveMask) GetForceUpdateFlag() bool
- func (x *Z_C_ENTITY_Entity_MoveMask) GetPos() *Point3F
- func (x *Z_C_ENTITY_Entity_MoveMask) GetRotation() float32
- func (*Z_C_ENTITY_Entity_MoveMask) ProtoMessage()
- func (x *Z_C_ENTITY_Entity_MoveMask) ProtoReflect() protoreflect.Message
- func (x *Z_C_ENTITY_Entity_MoveMask) Reset()
- func (x *Z_C_ENTITY_Entity_MoveMask) String() string
- type Z_C_ENTITY_Entity_StatsMask
- func (*Z_C_ENTITY_Entity_StatsMask) Descriptor() ([]byte, []int)deprecated
- func (x *Z_C_ENTITY_Entity_StatsMask) GetAntiCritical() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetAntiCriticalTimes() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetCritical() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetCriticalTimes() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetDodge() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetHP() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetHeal() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetHit() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetMP() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetMaxHP() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetMaxMP() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetPhyDamage() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetPhyDefence() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetSplDamage() int32
- func (x *Z_C_ENTITY_Entity_StatsMask) GetSplDefence() int32
- func (*Z_C_ENTITY_Entity_StatsMask) ProtoMessage()
- func (x *Z_C_ENTITY_Entity_StatsMask) ProtoReflect() protoreflect.Message
- func (x *Z_C_ENTITY_Entity_StatsMask) Reset()
- func (x *Z_C_ENTITY_Entity_StatsMask) String() string
- type Z_C_LoginMap
- func (*Z_C_LoginMap) Descriptor() ([]byte, []int)deprecated
- func (x *Z_C_LoginMap) GetId() int64
- func (x *Z_C_LoginMap) GetPacketHead() *Ipacket
- func (x *Z_C_LoginMap) GetPos() *Point3F
- func (x *Z_C_LoginMap) GetRotation() float32
- func (*Z_C_LoginMap) ProtoMessage()
- func (x *Z_C_LoginMap) ProtoReflect() protoreflect.Message
- func (x *Z_C_LoginMap) Reset()
- func (x *Z_C_LoginMap) String() string
Constants ¶
const ( Default_Ipacket_Stx int32 = 0x27 Default_Ipacket_Ckx int32 = 0x72 )
Variables ¶
var ( Packet_CreateFactorStringMap map[string]*PacketRoute Packet_CreateFactorMap map[uint32]*PacketRoute Packet_CrcNamesMap map[uint32]string )
var ( SERVICE_name = map[int32]string{ 0: "NONE", 1: "CLIENT", 2: "GATE", 3: "GM", 4: "GAME", 5: "ZONE", 6: "DB", } SERVICE_value = map[string]int32{ "NONE": 0, "CLIENT": 1, "GATE": 2, "GM": 3, "GAME": 4, "ZONE": 5, "DB": 6, } )
Enum value maps for SERVICE.
var ( CHAT_name = map[int32]string{ 0: "MSG_TYPE_WORLD", 1: "MSG_TYPE_PRIVATE", 2: "MSG_TYPE_ORG", 3: "MSG_TYPE_COUNT", } CHAT_value = map[string]int32{ "MSG_TYPE_WORLD": 0, "MSG_TYPE_PRIVATE": 1, "MSG_TYPE_ORG": 2, "MSG_TYPE_COUNT": 3, } )
Enum value maps for CHAT.
var File_client_proto protoreflect.FileDescriptor
var File_game_proto protoreflect.FileDescriptor
var File_message_proto protoreflect.FileDescriptor
Functions ¶
func GetMessageName ¶
func GetPakcetName ¶
func RegisterPacket ¶
Types ¶
type CHAT ¶
type CHAT int32
func (CHAT) Descriptor ¶
func (CHAT) Descriptor() protoreflect.EnumDescriptor
func (CHAT) EnumDescriptor
deprecated
func (CHAT) Number ¶
func (x CHAT) Number() protoreflect.EnumNumber
func (CHAT) Type ¶
func (CHAT) Type() protoreflect.EnumType
type C_Z_LoginCopyMap ¶
type C_Z_LoginCopyMap struct { PacketHead *Ipacket `protobuf:"bytes,1,opt,name=PacketHead,proto3" json:"PacketHead,omitempty"` DataId int32 `protobuf:"varint,2,opt,name=DataId,proto3" json:"DataId,omitempty"` // contains filtered or unexported fields }
func (*C_Z_LoginCopyMap) Descriptor
deprecated
func (*C_Z_LoginCopyMap) Descriptor() ([]byte, []int)
Deprecated: Use C_Z_LoginCopyMap.ProtoReflect.Descriptor instead.
func (*C_Z_LoginCopyMap) GetDataId ¶
func (x *C_Z_LoginCopyMap) GetDataId() int32
func (*C_Z_LoginCopyMap) GetPacketHead ¶
func (x *C_Z_LoginCopyMap) GetPacketHead() *Ipacket
func (*C_Z_LoginCopyMap) ProtoMessage ¶
func (*C_Z_LoginCopyMap) ProtoMessage()
func (*C_Z_LoginCopyMap) ProtoReflect ¶
func (x *C_Z_LoginCopyMap) ProtoReflect() protoreflect.Message
func (*C_Z_LoginCopyMap) Reset ¶
func (x *C_Z_LoginCopyMap) Reset()
func (*C_Z_LoginCopyMap) String ¶
func (x *C_Z_LoginCopyMap) String() string
type C_Z_Move ¶
type C_Z_Move struct { PacketHead *Ipacket `protobuf:"bytes,1,opt,name=PacketHead,proto3" json:"PacketHead,omitempty"` Move *C_Z_Move_Move `protobuf:"bytes,2,opt,name=move,proto3" json:"move,omitempty"` // contains filtered or unexported fields }
移动包
func (*C_Z_Move) Descriptor
deprecated
func (*C_Z_Move) GetMove ¶
func (x *C_Z_Move) GetMove() *C_Z_Move_Move
func (*C_Z_Move) GetPacketHead ¶
func (*C_Z_Move) ProtoMessage ¶
func (*C_Z_Move) ProtoMessage()
func (*C_Z_Move) ProtoReflect ¶
func (x *C_Z_Move) ProtoReflect() protoreflect.Message
type C_Z_Move_Move ¶
type C_Z_Move_Move struct { Mode int32 `protobuf:"varint,1,opt,name=Mode,proto3" json:"Mode,omitempty"` Normal *C_Z_Move_Move_Normal `protobuf:"bytes,2,opt,name=normal,proto3" json:"normal,omitempty"` // contains filtered or unexported fields }
func (*C_Z_Move_Move) Descriptor
deprecated
func (*C_Z_Move_Move) Descriptor() ([]byte, []int)
Deprecated: Use C_Z_Move_Move.ProtoReflect.Descriptor instead.
func (*C_Z_Move_Move) GetMode ¶
func (x *C_Z_Move_Move) GetMode() int32
func (*C_Z_Move_Move) GetNormal ¶
func (x *C_Z_Move_Move) GetNormal() *C_Z_Move_Move_Normal
func (*C_Z_Move_Move) ProtoMessage ¶
func (*C_Z_Move_Move) ProtoMessage()
func (*C_Z_Move_Move) ProtoReflect ¶
func (x *C_Z_Move_Move) ProtoReflect() protoreflect.Message
func (*C_Z_Move_Move) Reset ¶
func (x *C_Z_Move_Move) Reset()
func (*C_Z_Move_Move) String ¶
func (x *C_Z_Move_Move) String() string
type C_Z_Move_Move_Normal ¶
type C_Z_Move_Move_Normal struct { Pos *Point3F `protobuf:"bytes,1,opt,name=Pos,proto3" json:"Pos,omitempty"` Yaw float32 `protobuf:"fixed32,2,opt,name=Yaw,proto3" json:"Yaw,omitempty"` Duration float32 `protobuf:"fixed32,3,opt,name=Duration,proto3" json:"Duration,omitempty"` // contains filtered or unexported fields }
func (*C_Z_Move_Move_Normal) Descriptor
deprecated
func (*C_Z_Move_Move_Normal) Descriptor() ([]byte, []int)
Deprecated: Use C_Z_Move_Move_Normal.ProtoReflect.Descriptor instead.
func (*C_Z_Move_Move_Normal) GetDuration ¶
func (x *C_Z_Move_Move_Normal) GetDuration() float32
func (*C_Z_Move_Move_Normal) GetPos ¶
func (x *C_Z_Move_Move_Normal) GetPos() *Point3F
func (*C_Z_Move_Move_Normal) GetYaw ¶
func (x *C_Z_Move_Move_Normal) GetYaw() float32
func (*C_Z_Move_Move_Normal) ProtoMessage ¶
func (*C_Z_Move_Move_Normal) ProtoMessage()
func (*C_Z_Move_Move_Normal) ProtoReflect ¶
func (x *C_Z_Move_Move_Normal) ProtoReflect() protoreflect.Message
func (*C_Z_Move_Move_Normal) Reset ¶
func (x *C_Z_Move_Move_Normal) Reset()
func (*C_Z_Move_Move_Normal) String ¶
func (x *C_Z_Move_Move_Normal) String() string
type C_Z_Skill ¶
type C_Z_Skill struct { PacketHead *Ipacket `protobuf:"bytes,1,opt,name=PacketHead,proto3" json:"PacketHead,omitempty"` SkillId int32 `protobuf:"varint,2,opt,name=SkillId,proto3" json:"SkillId,omitempty"` TargetId int64 `protobuf:"varint,3,opt,name=TargetId,proto3" json:"TargetId,omitempty"` // contains filtered or unexported fields }
skill
func (*C_Z_Skill) Descriptor
deprecated
func (*C_Z_Skill) GetPacketHead ¶
func (*C_Z_Skill) GetSkillId ¶
func (*C_Z_Skill) GetTargetId ¶
func (*C_Z_Skill) ProtoMessage ¶
func (*C_Z_Skill) ProtoMessage()
func (*C_Z_Skill) ProtoReflect ¶
func (x *C_Z_Skill) ProtoReflect() protoreflect.Message
type ChatMessageRequest ¶
type ChatMessageRequest struct { PacketHead *Ipacket `protobuf:"bytes,1,opt,name=PacketHead,proto3" json:"PacketHead,omitempty"` Sender int64 `protobuf:"varint,2,opt,name=Sender,proto3" json:"Sender,omitempty"` Recver int64 `protobuf:"varint,3,opt,name=Recver,proto3" json:"Recver,omitempty"` MessageType int32 `protobuf:"varint,4,opt,name=MessageType,proto3" json:"MessageType,omitempty"` Message string `protobuf:"bytes,5,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
聊天
func (*ChatMessageRequest) Descriptor
deprecated
func (*ChatMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChatMessageRequest.ProtoReflect.Descriptor instead.
func (*ChatMessageRequest) GetMessage ¶
func (x *ChatMessageRequest) GetMessage() string
func (*ChatMessageRequest) GetMessageType ¶
func (x *ChatMessageRequest) GetMessageType() int32
func (*ChatMessageRequest) GetPacketHead ¶
func (x *ChatMessageRequest) GetPacketHead() *Ipacket
func (*ChatMessageRequest) GetRecver ¶
func (x *ChatMessageRequest) GetRecver() int64
func (*ChatMessageRequest) GetSender ¶
func (x *ChatMessageRequest) GetSender() int64
func (*ChatMessageRequest) ProtoMessage ¶
func (*ChatMessageRequest) ProtoMessage()
func (*ChatMessageRequest) ProtoReflect ¶
func (x *ChatMessageRequest) ProtoReflect() protoreflect.Message
func (*ChatMessageRequest) Reset ¶
func (x *ChatMessageRequest) Reset()
func (*ChatMessageRequest) String ¶
func (x *ChatMessageRequest) String() string
type ChatMessageResponse ¶
type ChatMessageResponse struct { PacketHead *Ipacket `protobuf:"bytes,1,opt,name=PacketHead,proto3" json:"PacketHead,omitempty"` Sender int64 `protobuf:"varint,2,opt,name=Sender,proto3" json:"Sender,omitempty"` SenderName string `protobuf:"bytes,3,opt,name=SenderName,proto3" json:"SenderName,omitempty"` Recver int64 `protobuf:"varint,4,opt,name=Recver,proto3" json:"Recver,omitempty"` RecverName string `protobuf:"bytes,5,opt,name=RecverName,proto3" json:"RecverName,omitempty"` MessageType int32 `protobuf:"varint,6,opt,name=MessageType,proto3" json:"MessageType,omitempty"` Message string `protobuf:"bytes,7,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*ChatMessageResponse) Descriptor
deprecated
func (*ChatMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChatMessageResponse.ProtoReflect.Descriptor instead.
func (*ChatMessageResponse) GetMessage ¶
func (x *ChatMessageResponse) GetMessage() string
func (*ChatMessageResponse) GetMessageType ¶
func (x *ChatMessageResponse) GetMessageType() int32
func (*ChatMessageResponse) GetPacketHead ¶
func (x *ChatMessageResponse) GetPacketHead() *Ipacket
func (*ChatMessageResponse) GetRecver ¶
func (x *ChatMessageResponse) GetRecver() int64
func (*ChatMessageResponse) GetRecverName ¶
func (x *ChatMessageResponse) GetRecverName() string
func (*ChatMessageResponse) GetSender ¶
func (x *ChatMessageResponse) GetSender() int64
func (*ChatMessageResponse) GetSenderName ¶
func (x *ChatMessageResponse) GetSenderName() string
func (*ChatMessageResponse) ProtoMessage ¶
func (*ChatMessageResponse) ProtoMessage()
func (*ChatMessageResponse) ProtoReflect ¶
func (x *ChatMessageResponse) ProtoReflect() protoreflect.Message
func (*ChatMessageResponse) Reset ¶
func (x *ChatMessageResponse) Reset()
func (*ChatMessageResponse) String ¶
func (x *ChatMessageResponse) String() string
type CreatePlayerRequest ¶
type CreatePlayerRequest struct { PacketHead *Ipacket `protobuf:"bytes,1,opt,name=PacketHead,proto3" json:"PacketHead,omitempty"` PlayerName string `protobuf:"bytes,2,opt,name=PlayerName,proto3" json:"PlayerName,omitempty"` Sex int32 `protobuf:"varint,3,opt,name=Sex,proto3" json:"Sex,omitempty"` // contains filtered or unexported fields }
创角
func (*CreatePlayerRequest) Descriptor
deprecated
func (*CreatePlayerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePlayerRequest.ProtoReflect.Descriptor instead.
func (*CreatePlayerRequest) GetPacketHead ¶
func (x *CreatePlayerRequest) GetPacketHead() *Ipacket
func (*CreatePlayerRequest) GetPlayerName ¶
func (x *CreatePlayerRequest) GetPlayerName() string
func (*CreatePlayerRequest) GetSex ¶
func (x *CreatePlayerRequest) GetSex() int32
func (*CreatePlayerRequest) ProtoMessage ¶
func (*CreatePlayerRequest) ProtoMessage()
func (*CreatePlayerRequest) ProtoReflect ¶
func (x *CreatePlayerRequest) ProtoReflect() protoreflect.Message
func (*CreatePlayerRequest) Reset ¶
func (x *CreatePlayerRequest) Reset()
func (*CreatePlayerRequest) String ¶
func (x *CreatePlayerRequest) String() string
type HeardPacket ¶
type HeardPacket struct {
// contains filtered or unexported fields
}
心跳包
func (*HeardPacket) Descriptor
deprecated
func (*HeardPacket) Descriptor() ([]byte, []int)
Deprecated: Use HeardPacket.ProtoReflect.Descriptor instead.
func (*HeardPacket) ProtoMessage ¶
func (*HeardPacket) ProtoMessage()
func (*HeardPacket) ProtoReflect ¶
func (x *HeardPacket) ProtoReflect() protoreflect.Message
func (*HeardPacket) Reset ¶
func (x *HeardPacket) Reset()
func (*HeardPacket) String ¶
func (x *HeardPacket) String() string
type Ipacket ¶
type Ipacket struct { Stx int32 `protobuf:"varint,1,opt,name=Stx,proto3" json:"Stx,omitempty"` DestServerType SERVICE `protobuf:"varint,2,opt,name=DestServerType,proto3,enum=message.SERVICE" json:"DestServerType,omitempty"` Ckx int32 `protobuf:"varint,3,opt,name=Ckx,proto3" json:"Ckx,omitempty"` Id int64 `protobuf:"varint,4,opt,name=Id,proto3" json:"Id,omitempty"` // contains filtered or unexported fields }
客户端包头
func (*Ipacket) Descriptor
deprecated
func (*Ipacket) GetDestServerType ¶
func (*Ipacket) ProtoMessage ¶
func (*Ipacket) ProtoMessage()
func (*Ipacket) ProtoReflect ¶
func (x *Ipacket) ProtoReflect() protoreflect.Message
type LoginAccountRequest ¶
type LoginAccountRequest struct { PacketHead *Ipacket `protobuf:"bytes,1,opt,name=PacketHead,proto3" json:"PacketHead,omitempty"` AccountName string `protobuf:"bytes,2,opt,name=AccountName,proto3" json:"AccountName,omitempty"` Password string `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password,omitempty"` BuildNo string `protobuf:"bytes,5,opt,name=BuildNo,proto3" json:"BuildNo,omitempty"` Key int64 `protobuf:"varint,6,opt,name=Key,proto3" json:"Key,omitempty"` //uint32 Crc = 7; // contains filtered or unexported fields }
登录账号
func (*LoginAccountRequest) Descriptor
deprecated
func (*LoginAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginAccountRequest.ProtoReflect.Descriptor instead.
func (*LoginAccountRequest) GetAccountName ¶
func (x *LoginAccountRequest) GetAccountName() string
func (*LoginAccountRequest) GetBuildNo ¶
func (x *LoginAccountRequest) GetBuildNo() string
func (*LoginAccountRequest) GetKey ¶
func (x *LoginAccountRequest) GetKey() int64
func (*LoginAccountRequest) GetPacketHead ¶
func (x *LoginAccountRequest) GetPacketHead() *Ipacket
func (*LoginAccountRequest) GetPassword ¶
func (x *LoginAccountRequest) GetPassword() string
func (*LoginAccountRequest) ProtoMessage ¶
func (*LoginAccountRequest) ProtoMessage()
func (*LoginAccountRequest) ProtoReflect ¶
func (x *LoginAccountRequest) ProtoReflect() protoreflect.Message
func (*LoginAccountRequest) Reset ¶
func (x *LoginAccountRequest) Reset()
func (*LoginAccountRequest) String ¶
func (x *LoginAccountRequest) String() string
type LoginAccountResponse ¶
type LoginAccountResponse struct { PacketHead *Ipacket `protobuf:"bytes,1,opt,name=PacketHead,proto3" json:"PacketHead,omitempty"` Error int32 `protobuf:"varint,2,opt,name=Error,proto3" json:"Error,omitempty"` AccountName string `protobuf:"bytes,4,opt,name=AccountName,proto3" json:"AccountName,omitempty"` // contains filtered or unexported fields }
登录账号反馈
func (*LoginAccountResponse) Descriptor
deprecated
func (*LoginAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginAccountResponse.ProtoReflect.Descriptor instead.
func (*LoginAccountResponse) GetAccountName ¶
func (x *LoginAccountResponse) GetAccountName() string
func (*LoginAccountResponse) GetError ¶
func (x *LoginAccountResponse) GetError() int32
func (*LoginAccountResponse) GetPacketHead ¶
func (x *LoginAccountResponse) GetPacketHead() *Ipacket
func (*LoginAccountResponse) ProtoMessage ¶
func (*LoginAccountResponse) ProtoMessage()
func (*LoginAccountResponse) ProtoReflect ¶
func (x *LoginAccountResponse) ProtoReflect() protoreflect.Message
func (*LoginAccountResponse) Reset ¶
func (x *LoginAccountResponse) Reset()
func (*LoginAccountResponse) String ¶
func (x *LoginAccountResponse) String() string
type LoginPlayerRequset ¶
type LoginPlayerRequset struct { PacketHead *Ipacket `protobuf:"bytes,1,opt,name=PacketHead,proto3" json:"PacketHead,omitempty"` PlayerId int64 `protobuf:"varint,2,opt,name=PlayerId,proto3" json:"PlayerId,omitempty"` Key int64 `protobuf:"varint,3,opt,name=Key,proto3" json:"Key,omitempty"` // contains filtered or unexported fields }
登录游戏
func (*LoginPlayerRequset) Descriptor
deprecated
func (*LoginPlayerRequset) Descriptor() ([]byte, []int)
Deprecated: Use LoginPlayerRequset.ProtoReflect.Descriptor instead.
func (*LoginPlayerRequset) GetKey ¶
func (x *LoginPlayerRequset) GetKey() int64
func (*LoginPlayerRequset) GetPacketHead ¶
func (x *LoginPlayerRequset) GetPacketHead() *Ipacket
func (*LoginPlayerRequset) GetPlayerId ¶
func (x *LoginPlayerRequset) GetPlayerId() int64
func (*LoginPlayerRequset) ProtoMessage ¶
func (*LoginPlayerRequset) ProtoMessage()
func (*LoginPlayerRequset) ProtoReflect ¶
func (x *LoginPlayerRequset) ProtoReflect() protoreflect.Message
func (*LoginPlayerRequset) Reset ¶
func (x *LoginPlayerRequset) Reset()
func (*LoginPlayerRequset) String ¶
func (x *LoginPlayerRequset) String() string
type PacketRoute ¶
func GetPakcetRoute ¶
func GetPakcetRoute(packetId uint32) *PacketRoute
type PlayerData ¶
type PlayerData struct { PlayerID int64 `protobuf:"varint,1,opt,name=PlayerID,proto3" json:"PlayerID,omitempty"` PlayerName string `protobuf:"bytes,2,opt,name=PlayerName,proto3" json:"PlayerName,omitempty"` PlayerGold int32 `protobuf:"varint,3,opt,name=PlayerGold,proto3" json:"PlayerGold,omitempty"` // contains filtered or unexported fields }
func (*PlayerData) Descriptor
deprecated
func (*PlayerData) Descriptor() ([]byte, []int)
Deprecated: Use PlayerData.ProtoReflect.Descriptor instead.
func (*PlayerData) GetPlayerGold ¶
func (x *PlayerData) GetPlayerGold() int32
func (*PlayerData) GetPlayerID ¶
func (x *PlayerData) GetPlayerID() int64
func (*PlayerData) GetPlayerName ¶
func (x *PlayerData) GetPlayerName() string
func (*PlayerData) ProtoMessage ¶
func (*PlayerData) ProtoMessage()
func (*PlayerData) ProtoReflect ¶
func (x *PlayerData) ProtoReflect() protoreflect.Message
func (*PlayerData) Reset ¶
func (x *PlayerData) Reset()
func (*PlayerData) String ¶
func (x *PlayerData) String() string
type Point3F ¶
type Point3F struct { X float32 `protobuf:"fixed32,1,opt,name=X,proto3" json:"X,omitempty"` Y float32 `protobuf:"fixed32,2,opt,name=Y,proto3" json:"Y,omitempty"` Z float32 `protobuf:"fixed32,3,opt,name=Z,proto3" json:"Z,omitempty"` // contains filtered or unexported fields }
point3F
func (*Point3F) Descriptor
deprecated
func (*Point3F) ProtoMessage ¶
func (*Point3F) ProtoMessage()
func (*Point3F) ProtoReflect ¶
func (x *Point3F) ProtoReflect() protoreflect.Message
type SERVICE ¶
type SERVICE int32
服务器类型
func (SERVICE) Descriptor ¶
func (SERVICE) Descriptor() protoreflect.EnumDescriptor
func (SERVICE) EnumDescriptor
deprecated
func (SERVICE) Number ¶
func (x SERVICE) Number() protoreflect.EnumNumber
func (SERVICE) Type ¶
func (SERVICE) Type() protoreflect.EnumType
type SelectPlayerResponse ¶
type SelectPlayerResponse struct { PacketHead *Ipacket `protobuf:"bytes,1,opt,name=PacketHead,proto3" json:"PacketHead,omitempty"` AccountId int64 `protobuf:"varint,2,opt,name=AccountId,proto3" json:"AccountId,omitempty"` Key int64 `protobuf:"varint,3,opt,name=Key,proto3" json:"Key,omitempty"` PlayerData []*PlayerData `protobuf:"bytes,5,rep,name=PlayerData,proto3" json:"PlayerData,omitempty"` // contains filtered or unexported fields }
选角反馈
func (*SelectPlayerResponse) Descriptor
deprecated
func (*SelectPlayerResponse) Descriptor() ([]byte, []int)
Deprecated: Use SelectPlayerResponse.ProtoReflect.Descriptor instead.
func (*SelectPlayerResponse) GetAccountId ¶
func (x *SelectPlayerResponse) GetAccountId() int64
func (*SelectPlayerResponse) GetKey ¶
func (x *SelectPlayerResponse) GetKey() int64
func (*SelectPlayerResponse) GetPacketHead ¶
func (x *SelectPlayerResponse) GetPacketHead() *Ipacket
func (*SelectPlayerResponse) GetPlayerData ¶
func (x *SelectPlayerResponse) GetPlayerData() []*PlayerData
func (*SelectPlayerResponse) ProtoMessage ¶
func (*SelectPlayerResponse) ProtoMessage()
func (*SelectPlayerResponse) ProtoReflect ¶
func (x *SelectPlayerResponse) ProtoReflect() protoreflect.Message
func (*SelectPlayerResponse) Reset ¶
func (x *SelectPlayerResponse) Reset()
func (*SelectPlayerResponse) String ¶
func (x *SelectPlayerResponse) String() string
type W_C_Test ¶
type W_C_Test struct { Recv []int32 `protobuf:"varint,1,rep,packed,name=Recv,proto3" json:"Recv,omitempty"` // contains filtered or unexported fields }
func (*W_C_Test) Descriptor
deprecated
func (*W_C_Test) ProtoMessage ¶
func (*W_C_Test) ProtoMessage()
func (*W_C_Test) ProtoReflect ¶
func (x *W_C_Test) ProtoReflect() protoreflect.Message
type Z_C_ENTITY ¶
type Z_C_ENTITY struct { PacketHead *Ipacket `protobuf:"bytes,1,opt,name=PacketHead,proto3" json:"PacketHead,omitempty"` EntityInfo []*Z_C_ENTITY_Entity `protobuf:"bytes,2,rep,name=EntityInfo,proto3" json:"EntityInfo,omitempty"` // contains filtered or unexported fields }
func (*Z_C_ENTITY) Descriptor
deprecated
func (*Z_C_ENTITY) Descriptor() ([]byte, []int)
Deprecated: Use Z_C_ENTITY.ProtoReflect.Descriptor instead.
func (*Z_C_ENTITY) GetEntityInfo ¶
func (x *Z_C_ENTITY) GetEntityInfo() []*Z_C_ENTITY_Entity
func (*Z_C_ENTITY) GetPacketHead ¶
func (x *Z_C_ENTITY) GetPacketHead() *Ipacket
func (*Z_C_ENTITY) ProtoMessage ¶
func (*Z_C_ENTITY) ProtoMessage()
func (*Z_C_ENTITY) ProtoReflect ¶
func (x *Z_C_ENTITY) ProtoReflect() protoreflect.Message
func (*Z_C_ENTITY) Reset ¶
func (x *Z_C_ENTITY) Reset()
func (*Z_C_ENTITY) String ¶
func (x *Z_C_ENTITY) String() string
type Z_C_ENTITY_Entity ¶
type Z_C_ENTITY_Entity struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` //唯一id Data *Z_C_ENTITY_Entity_DataMask `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"` //初始化信息 Move *Z_C_ENTITY_Entity_MoveMask `protobuf:"bytes,3,opt,name=Move,proto3" json:"Move,omitempty"` //移动 Stats *Z_C_ENTITY_Entity_StatsMask `protobuf:"bytes,4,opt,name=Stats,proto3" json:"Stats,omitempty"` //基础属性 // contains filtered or unexported fields }
func (*Z_C_ENTITY_Entity) Descriptor
deprecated
func (*Z_C_ENTITY_Entity) Descriptor() ([]byte, []int)
Deprecated: Use Z_C_ENTITY_Entity.ProtoReflect.Descriptor instead.
func (*Z_C_ENTITY_Entity) GetData ¶
func (x *Z_C_ENTITY_Entity) GetData() *Z_C_ENTITY_Entity_DataMask
func (*Z_C_ENTITY_Entity) GetId ¶
func (x *Z_C_ENTITY_Entity) GetId() int64
func (*Z_C_ENTITY_Entity) GetMove ¶
func (x *Z_C_ENTITY_Entity) GetMove() *Z_C_ENTITY_Entity_MoveMask
func (*Z_C_ENTITY_Entity) GetStats ¶
func (x *Z_C_ENTITY_Entity) GetStats() *Z_C_ENTITY_Entity_StatsMask
func (*Z_C_ENTITY_Entity) ProtoMessage ¶
func (*Z_C_ENTITY_Entity) ProtoMessage()
func (*Z_C_ENTITY_Entity) ProtoReflect ¶
func (x *Z_C_ENTITY_Entity) ProtoReflect() protoreflect.Message
func (*Z_C_ENTITY_Entity) Reset ¶
func (x *Z_C_ENTITY_Entity) Reset()
func (*Z_C_ENTITY_Entity) String ¶
func (x *Z_C_ENTITY_Entity) String() string
type Z_C_ENTITY_Entity_DataMask ¶
type Z_C_ENTITY_Entity_DataMask struct { Type int32 `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"` //类型,player(9),npc(5) RemoveFlag bool `protobuf:"varint,2,opt,name=RemoveFlag,proto3" json:"RemoveFlag,omitempty"` //销毁状态 NpcData *Z_C_ENTITY_Entity_DataMask_NpcDataMask `protobuf:"bytes,3,opt,name=NpcData,proto3" json:"NpcData,omitempty"` //npc初始信息 SpellData *Z_C_ENTITY_Entity_DataMask_SpellDataMask `protobuf:"bytes,4,opt,name=SpellData,proto3" json:"SpellData,omitempty"` //effect初始信息 // contains filtered or unexported fields }
func (*Z_C_ENTITY_Entity_DataMask) Descriptor
deprecated
func (*Z_C_ENTITY_Entity_DataMask) Descriptor() ([]byte, []int)
Deprecated: Use Z_C_ENTITY_Entity_DataMask.ProtoReflect.Descriptor instead.
func (*Z_C_ENTITY_Entity_DataMask) GetNpcData ¶
func (x *Z_C_ENTITY_Entity_DataMask) GetNpcData() *Z_C_ENTITY_Entity_DataMask_NpcDataMask
func (*Z_C_ENTITY_Entity_DataMask) GetRemoveFlag ¶
func (x *Z_C_ENTITY_Entity_DataMask) GetRemoveFlag() bool
func (*Z_C_ENTITY_Entity_DataMask) GetSpellData ¶
func (x *Z_C_ENTITY_Entity_DataMask) GetSpellData() *Z_C_ENTITY_Entity_DataMask_SpellDataMask
func (*Z_C_ENTITY_Entity_DataMask) GetType ¶
func (x *Z_C_ENTITY_Entity_DataMask) GetType() int32
func (*Z_C_ENTITY_Entity_DataMask) ProtoMessage ¶
func (*Z_C_ENTITY_Entity_DataMask) ProtoMessage()
func (*Z_C_ENTITY_Entity_DataMask) ProtoReflect ¶
func (x *Z_C_ENTITY_Entity_DataMask) ProtoReflect() protoreflect.Message
func (*Z_C_ENTITY_Entity_DataMask) Reset ¶
func (x *Z_C_ENTITY_Entity_DataMask) Reset()
func (*Z_C_ENTITY_Entity_DataMask) String ¶
func (x *Z_C_ENTITY_Entity_DataMask) String() string
type Z_C_ENTITY_Entity_DataMask_NpcDataMask ¶
type Z_C_ENTITY_Entity_DataMask_NpcDataMask struct { DataId int32 `protobuf:"varint,1,opt,name=DataId,proto3" json:"DataId,omitempty"` //模板id // contains filtered or unexported fields }
func (*Z_C_ENTITY_Entity_DataMask_NpcDataMask) Descriptor
deprecated
func (*Z_C_ENTITY_Entity_DataMask_NpcDataMask) Descriptor() ([]byte, []int)
Deprecated: Use Z_C_ENTITY_Entity_DataMask_NpcDataMask.ProtoReflect.Descriptor instead.
func (*Z_C_ENTITY_Entity_DataMask_NpcDataMask) GetDataId ¶
func (x *Z_C_ENTITY_Entity_DataMask_NpcDataMask) GetDataId() int32
func (*Z_C_ENTITY_Entity_DataMask_NpcDataMask) ProtoMessage ¶
func (*Z_C_ENTITY_Entity_DataMask_NpcDataMask) ProtoMessage()
func (*Z_C_ENTITY_Entity_DataMask_NpcDataMask) ProtoReflect ¶
func (x *Z_C_ENTITY_Entity_DataMask_NpcDataMask) ProtoReflect() protoreflect.Message
func (*Z_C_ENTITY_Entity_DataMask_NpcDataMask) Reset ¶
func (x *Z_C_ENTITY_Entity_DataMask_NpcDataMask) Reset()
func (*Z_C_ENTITY_Entity_DataMask_NpcDataMask) String ¶
func (x *Z_C_ENTITY_Entity_DataMask_NpcDataMask) String() string
type Z_C_ENTITY_Entity_DataMask_SpellDataMask ¶
type Z_C_ENTITY_Entity_DataMask_SpellDataMask struct { DataId int32 `protobuf:"varint,1,opt,name=DataId,proto3" json:"DataId,omitempty"` //特效id LifeTime int32 `protobuf:"varint,2,opt,name=LifeTime,proto3" json:"LifeTime,omitempty"` //存在事件 FlySpeed int32 `protobuf:"varint,3,opt,name=FlySpeed,proto3" json:"FlySpeed,omitempty"` //飞行速度 // contains filtered or unexported fields }
func (*Z_C_ENTITY_Entity_DataMask_SpellDataMask) Descriptor
deprecated
func (*Z_C_ENTITY_Entity_DataMask_SpellDataMask) Descriptor() ([]byte, []int)
Deprecated: Use Z_C_ENTITY_Entity_DataMask_SpellDataMask.ProtoReflect.Descriptor instead.
func (*Z_C_ENTITY_Entity_DataMask_SpellDataMask) GetDataId ¶
func (x *Z_C_ENTITY_Entity_DataMask_SpellDataMask) GetDataId() int32
func (*Z_C_ENTITY_Entity_DataMask_SpellDataMask) GetFlySpeed ¶
func (x *Z_C_ENTITY_Entity_DataMask_SpellDataMask) GetFlySpeed() int32
func (*Z_C_ENTITY_Entity_DataMask_SpellDataMask) GetLifeTime ¶
func (x *Z_C_ENTITY_Entity_DataMask_SpellDataMask) GetLifeTime() int32
func (*Z_C_ENTITY_Entity_DataMask_SpellDataMask) ProtoMessage ¶
func (*Z_C_ENTITY_Entity_DataMask_SpellDataMask) ProtoMessage()
func (*Z_C_ENTITY_Entity_DataMask_SpellDataMask) ProtoReflect ¶
func (x *Z_C_ENTITY_Entity_DataMask_SpellDataMask) ProtoReflect() protoreflect.Message
func (*Z_C_ENTITY_Entity_DataMask_SpellDataMask) Reset ¶
func (x *Z_C_ENTITY_Entity_DataMask_SpellDataMask) Reset()
func (*Z_C_ENTITY_Entity_DataMask_SpellDataMask) String ¶
func (x *Z_C_ENTITY_Entity_DataMask_SpellDataMask) String() string
type Z_C_ENTITY_Entity_MoveMask ¶
type Z_C_ENTITY_Entity_MoveMask struct { Pos *Point3F `protobuf:"bytes,1,opt,name=Pos,proto3" json:"Pos,omitempty"` Rotation float32 `protobuf:"fixed32,2,opt,name=Rotation,proto3" json:"Rotation,omitempty"` ForceUpdateFlag bool `protobuf:"varint,3,opt,name=ForceUpdateFlag,proto3" json:"ForceUpdateFlag,omitempty"` //强制拉回 // contains filtered or unexported fields }
func (*Z_C_ENTITY_Entity_MoveMask) Descriptor
deprecated
func (*Z_C_ENTITY_Entity_MoveMask) Descriptor() ([]byte, []int)
Deprecated: Use Z_C_ENTITY_Entity_MoveMask.ProtoReflect.Descriptor instead.
func (*Z_C_ENTITY_Entity_MoveMask) GetForceUpdateFlag ¶
func (x *Z_C_ENTITY_Entity_MoveMask) GetForceUpdateFlag() bool
func (*Z_C_ENTITY_Entity_MoveMask) GetPos ¶
func (x *Z_C_ENTITY_Entity_MoveMask) GetPos() *Point3F
func (*Z_C_ENTITY_Entity_MoveMask) GetRotation ¶
func (x *Z_C_ENTITY_Entity_MoveMask) GetRotation() float32
func (*Z_C_ENTITY_Entity_MoveMask) ProtoMessage ¶
func (*Z_C_ENTITY_Entity_MoveMask) ProtoMessage()
func (*Z_C_ENTITY_Entity_MoveMask) ProtoReflect ¶
func (x *Z_C_ENTITY_Entity_MoveMask) ProtoReflect() protoreflect.Message
func (*Z_C_ENTITY_Entity_MoveMask) Reset ¶
func (x *Z_C_ENTITY_Entity_MoveMask) Reset()
func (*Z_C_ENTITY_Entity_MoveMask) String ¶
func (x *Z_C_ENTITY_Entity_MoveMask) String() string
type Z_C_ENTITY_Entity_StatsMask ¶
type Z_C_ENTITY_Entity_StatsMask struct { HP int32 `protobuf:"varint,1,opt,name=HP,proto3" json:"HP,omitempty"` // 生命 MP int32 `protobuf:"varint,2,opt,name=MP,proto3" json:"MP,omitempty"` // 真气 MaxHP int32 `protobuf:"varint,3,opt,name=MaxHP,proto3" json:"MaxHP,omitempty"` // 最大生命 MaxMP int32 `protobuf:"varint,4,opt,name=MaxMP,proto3" json:"MaxMP,omitempty"` // 最大真气 PhyDamage int32 `protobuf:"varint,5,opt,name=PhyDamage,proto3" json:"PhyDamage,omitempty"` // 物理伤害 PhyDefence int32 `protobuf:"varint,6,opt,name=PhyDefence,proto3" json:"PhyDefence,omitempty"` // 物理防御 SplDamage int32 `protobuf:"varint,7,opt,name=SplDamage,proto3" json:"SplDamage,omitempty"` // 法术伤害 SplDefence int32 `protobuf:"varint,8,opt,name=SplDefence,proto3" json:"SplDefence,omitempty"` // 法术防御 Heal int32 `protobuf:"varint,9,opt,name=Heal,proto3" json:"Heal,omitempty"` // 治疗 CriticalTimes int32 `protobuf:"varint,10,opt,name=CriticalTimes,proto3" json:"CriticalTimes,omitempty"` // 暴击全局百分比伤害倍数 Critical int32 `protobuf:"varint,11,opt,name=Critical,proto3" json:"Critical,omitempty"` // 暴击全局百分比几率 AntiCriticalTimes int32 `protobuf:"varint,12,opt,name=AntiCriticalTimes,proto3" json:"AntiCriticalTimes,omitempty"` // 抗暴击全局百分比伤害倍数 AntiCritical int32 `protobuf:"varint,13,opt,name=AntiCritical,proto3" json:"AntiCritical,omitempty"` // 防暴击全局百分比几率 Dodge int32 `protobuf:"varint,14,opt,name=Dodge,proto3" json:"Dodge,omitempty"` // 闪避全局百分比几率 Hit int32 `protobuf:"varint,15,opt,name=Hit,proto3" json:"Hit,omitempty"` // 命中全局百分比几率 // contains filtered or unexported fields }
func (*Z_C_ENTITY_Entity_StatsMask) Descriptor
deprecated
func (*Z_C_ENTITY_Entity_StatsMask) Descriptor() ([]byte, []int)
Deprecated: Use Z_C_ENTITY_Entity_StatsMask.ProtoReflect.Descriptor instead.
func (*Z_C_ENTITY_Entity_StatsMask) GetAntiCritical ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetAntiCritical() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetAntiCriticalTimes ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetAntiCriticalTimes() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetCritical ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetCritical() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetCriticalTimes ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetCriticalTimes() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetDodge ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetDodge() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetHP ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetHP() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetHeal ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetHeal() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetHit ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetHit() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetMP ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetMP() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetMaxHP ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetMaxHP() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetMaxMP ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetMaxMP() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetPhyDamage ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetPhyDamage() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetPhyDefence ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetPhyDefence() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetSplDamage ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetSplDamage() int32
func (*Z_C_ENTITY_Entity_StatsMask) GetSplDefence ¶
func (x *Z_C_ENTITY_Entity_StatsMask) GetSplDefence() int32
func (*Z_C_ENTITY_Entity_StatsMask) ProtoMessage ¶
func (*Z_C_ENTITY_Entity_StatsMask) ProtoMessage()
func (*Z_C_ENTITY_Entity_StatsMask) ProtoReflect ¶
func (x *Z_C_ENTITY_Entity_StatsMask) ProtoReflect() protoreflect.Message
func (*Z_C_ENTITY_Entity_StatsMask) Reset ¶
func (x *Z_C_ENTITY_Entity_StatsMask) Reset()
func (*Z_C_ENTITY_Entity_StatsMask) String ¶
func (x *Z_C_ENTITY_Entity_StatsMask) String() string
type Z_C_LoginMap ¶
type Z_C_LoginMap struct { PacketHead *Ipacket `protobuf:"bytes,1,opt,name=PacketHead,proto3" json:"PacketHead,omitempty"` Id int64 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"` Pos *Point3F `protobuf:"bytes,3,opt,name=Pos,proto3" json:"Pos,omitempty"` Rotation float32 `protobuf:"fixed32,4,opt,name=Rotation,proto3" json:"Rotation,omitempty"` // contains filtered or unexported fields }
func (*Z_C_LoginMap) Descriptor
deprecated
func (*Z_C_LoginMap) Descriptor() ([]byte, []int)
Deprecated: Use Z_C_LoginMap.ProtoReflect.Descriptor instead.
func (*Z_C_LoginMap) GetId ¶
func (x *Z_C_LoginMap) GetId() int64
func (*Z_C_LoginMap) GetPacketHead ¶
func (x *Z_C_LoginMap) GetPacketHead() *Ipacket
func (*Z_C_LoginMap) GetPos ¶
func (x *Z_C_LoginMap) GetPos() *Point3F
func (*Z_C_LoginMap) GetRotation ¶
func (x *Z_C_LoginMap) GetRotation() float32
func (*Z_C_LoginMap) ProtoMessage ¶
func (*Z_C_LoginMap) ProtoMessage()
func (*Z_C_LoginMap) ProtoReflect ¶
func (x *Z_C_LoginMap) ProtoReflect() protoreflect.Message
func (*Z_C_LoginMap) Reset ¶
func (x *Z_C_LoginMap) Reset()
func (*Z_C_LoginMap) String ¶
func (x *Z_C_LoginMap) String() string