func (this *InitTimeStampNt) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.TimeStamp) packet.DecoderReadValue(this.Packet, &this.SyncCode) this.PackDecoded = true return true }
func (this *ServerErrorNt) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.ReqCmdID) packet.DecoderReadValue(this.Packet, &this.ErrCode) this.PackDecoded = true return true }
func (this *LoginReq) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.Account) packet.DecoderReadValue(this.Packet, &this.CAID) this.PackDecoded = true return true }
func (this *CreateRoleReq) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.RoleName) packet.DecoderReadValue(this.Packet, &this.RoleJob) this.PackDecoded = true return true }
func (this *ProxyRouteResp) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.Ip) packet.DecoderReadValue(this.Packet, &this.Port) packet.DecoderReadValue(this.Packet, &this.ExtStrVal) this.PackDecoded = true return true }
func (this *SetPayRoleReq) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.UserID) packet.DecoderReadValue(this.Packet, &this.RoleID) packet.DecoderReadValue(this.Packet, &this.RoleName) this.PackDecoded = true return true }
func (this *LoginValidReq) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.Account) packet.DecoderReadValue(this.Packet, &this.ValidCode) packet.DecoderReadValue(this.Packet, &this.CRandCode) this.PackDecoded = true return true }
func (this *PlayerLoginReq) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.UserName) packet.DecoderReadValue(this.Packet, &this.UserPwd) packet.DecoderReadValue(this.Packet, &this.UserID) this.PackDecoded = true return true }
func (this *VersionCheckResp) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.NodeType) packet.DecoderReadValue(this.Packet, &this.GameID) packet.DecoderReadValue(this.Packet, &this.GameCode) packet.DecoderReadValue(this.Packet, &this.Code) this.PackDecoded = true return true }
func (this *LoginRoleEntity) DecodeEntity(p *packet.Packet) bool { packet.DecoderReadValue(p, &this.UserID) packet.DecoderReadValue(p, &this.RoleID) packet.DecoderReadValue(p, &this.OldServerId) packet.DecoderReadValue(p, &this.RoleName) packet.DecoderReadValue(p, &this.Level) packet.DecoderReadValue(p, &this.RoleJob) packet.DecoderReadValue(p, &this.RoleIcon) packet.DecoderReadValue(p, &this.IsPayRole) packet.DecoderReadValue(p, &this.LastLoginTime) return true }
func (this *LoginResp) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.RandomCode) this.PackDecoded = true return true }
func (this *NodeRegResp) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.Code) this.PackDecoded = true return true }
func (this *ProxyClientOfflineReq) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.UserID) this.PackDecoded = true return true }
func (this *PlayerLoginReadyReq) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.ValidCode) this.PackDecoded = true return true }
func (this *SetPayRoleResp) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.ErrCode) this.PackDecoded = true return true }
func (this *RoleListReq) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.UserName) this.PackDecoded = true return true }
func (this *RoleStatusResp) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.RoleStatus) this.PackDecoded = true return true }
func (this *Login_Req) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.UserName) packet.DecoderReadValue(this.Packet, &this.PWD) packet.DecoderReadEntity(this.Packet, &this.e) arrLen := packet.DecoderReadArrayLength(this.Packet) for i := 0; i < arrLen; i++ { e := &Entity{} packet.DecoderReadEntity(this.Packet, e) this.eList = append(this.eList, *e) } this.PackDecoded = true return true }
func (this *NodeRegReq) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.NodeType) packet.DecoderReadValue(this.Packet, &this.IP) packet.DecoderReadValue(this.Packet, &this.Port) packet.DecoderReadValue(this.Packet, &this.GameId) packet.DecoderReadValue(this.Packet, &this.GameAreaId) packet.DecoderReadValue(this.Packet, &this.GameServerId) packet.DecoderReadValue(this.Packet, &this.GameCode) packet.DecoderReadValue(this.Packet, &this.GameServerName) packet.DecoderReadValue(this.Packet, &this.GameServerDesc) this.PackDecoded = true return true }
func (this *LoginValidResp) DecodePacket() bool { if this.IsDecoded() { return true } packet.DecoderReadValue(this.Packet, &this.UFID) packet.DecoderReadValue(this.Packet, &this.UserId) packet.DecoderReadValue(this.Packet, &this.ValidFlag) packet.DecoderReadValue(this.Packet, &this.NeedRecover) packet.DecoderReadValue(this.Packet, &this.GameAreaId) packet.DecoderReadValue(this.Packet, &this.GameId) packet.DecoderReadValue(this.Packet, &this.GameServerId) packet.DecoderReadValue(this.Packet, &this.GameServerIp) packet.DecoderReadValue(this.Packet, &this.GameServerPort) this.PackDecoded = true return true }
func (this *Entity) DecodeEntity(p *packet.Packet) bool { packet.DecoderReadValue(p, &this.a) packet.DecoderReadValue(p, &this.b) return true }