public override bool doDecode(NetReadBuffer DataIn) { m_nRoleRoomType = DataIn.GetByte(); m_nRoleRoomPos = DataIn.GetByte(); m_nRoleRoomState = DataIn.GetByte(); return(true); }
public override bool doDecode(NetReadBuffer DataIn) { m_nMark = DataIn.GetUInt(); m_nSpecial = DataIn.GetInt(); m_nRound = DataIn.GetByte(); m_nDancerPos = DataIn.GetByte(); return(true); }
public void doDecode(NetReadBuffer DataIn) { m_nRoleID = DataIn.GetUInt(); m_strRoleName = DataIn.GetPerfixString(); m_nRoleLevel = DataIn.GetByte(); m_nRoleSex = DataIn.GetByte(); m_bIsVIP = DataIn.GetBool(); m_nVIPLevel = DataIn.GetUShort(); }
public override bool doDecode(NetReadBuffer DataIn) { m_RoomInfo.doDecode(DataIn); m_nPlayScene = DataIn.GetByte(); m_nPlayMusic = DataIn.GetShort(); m_nPlayMode = DataIn.GetByte(); m_strCheckKey = DataIn.GetPerfixString(); m_szStage = DataIn.GetFixLenBytes(); return(true); }
public override bool doDecode(NetReadBuffer DataIn) { m_nRoomType = DataIn.GetByte(); m_nRoomID = DataIn.GetUInt(); m_nSongMode = DataIn.GetByte(); m_chDifficulty = DataIn.GetByte(); m_nInviterId = DataIn.GetUInt(); m_strInviterName = DataIn.GetPerfixString(); m_bIsVIP = DataIn.GetBool(); m_nVIPLevel = DataIn.GetUShort(); return(true); }
public void SerializeAttr(NetReadBuffer wholeInfo) { m_nRoleID = wholeInfo.GetUInt(); m_strRoleName = wholeInfo.GetPerfixString(); Sex_Type sexType = (Sex_Type)wholeInfo.GetByte(); m_bIsBoy = (sexType == Sex_Type.Male ? true : false); m_nMoney = wholeInfo.GetUInt(); m_nExp = wholeInfo.GetUInt(); m_nLev = wholeInfo.GetUShort(); m_nHot = wholeInfo.GetUInt(); m_strBirthday = wholeInfo.GetPerfixString(); m_nConstellation = wholeInfo.GetByte(); m_strSignature = wholeInfo.GetPerfixString(); m_nSkinColor = wholeInfo.GetByte(); ///m_nTitleID = DataIn.GetUInt(); m_nPrestige = wholeInfo.GetUInt(); for (int i = 0; i < (int)CommonDef.BAG_MAX_ITEMTYPE; i++) { m_anBeiBaoKuozhan[i] = wholeInfo.GetByte(); } m_nBadgeGridNum = wholeInfo.GetByte(); m_nPt = wholeInfo.GetUInt(); m_nPtTotal = wholeInfo.GetUInt(); m_nPtBind = wholeInfo.GetUInt(); m_nChange = wholeInfo.GetUInt(); m_nRoleCreateTime = wholeInfo.GetUInt(); m_bCompleteTeachGuide = wholeInfo.GetBool(); m_bCompleteDanceAni = wholeInfo.GetBool(); m_nGuideData = wholeInfo.GetUInt(); m_nCurLineID = wholeInfo.GetInt(); m_strCurLineName = wholeInfo.GetPerfixString(); m_bEnableAudition = wholeInfo.GetBool(); m_bHasFirstReCharge = wholeInfo.GetBool(); m_TransformID = wholeInfo.GetInt(); m_IsCanChangeXingzuo = wholeInfo.GetBool(); // 时尚值需要执行通知其他数据 m_bMagicArrayNew = wholeInfo.GetBool(); }
public override bool doDecode(NetReadBuffer DataIn) { m_EventType = DataIn.GetByte(); m_RoleID = DataIn.GetUInt(); m_Exp = DataIn.GetInt(); return(true); }
public override bool doDecode(NetReadBuffer DataIn) { m_nRoleID = DataIn.GetUInt(); m_nRate = DataIn.GetByte(); return(true); }
public void doDecode(NetReadBuffer DataIn) { m_nRoomID = DataIn.GetUInt(); m_strRoomName = DataIn.GetPerfixString(); m_bHasPwd = DataIn.GetBool(); m_bHasStart = DataIn.GetBool(); m_nModeID = DataIn.GetByte(); m_nDifficulty = DataIn.GetByte(); m_nRoomColor = DataIn.GetByte(); m_nRoomCapacity = DataIn.GetByte(); m_bTop = DataIn.GetBool(); for (int i = 0; i < m_szPlayerSex.Length; ++i) { m_szPlayerSex[i] = DataIn.GetByte(); } }
public void doDecode_Challenge(NetReadBuffer DataIn) { m_nRoleID = DataIn.GetUInt(); m_strRoleName = DataIn.GetPerfixString(); m_bIsHost = DataIn.GetBool(); m_nRoleType = DataIn.GetByte(); m_bIsBoss = DataIn.GetBool(); m_nRolePos = DataIn.GetByte(); m_nRoleState = DataIn.GetByte(); m_nRoleSex = DataIn.GetByte(); m_nRoleSkin = DataIn.GetByte(); m_nDanceGroupPos = DataIn.GetByte(); m_strDanceGroup = DataIn.GetPerfixString(); m_nDanceGroupBadge = DataIn.GetUShort(); m_nDanceGroupEffect = DataIn.GetUShort(); m_bIsVIP = DataIn.GetBool(); m_nVIPLevel = DataIn.GetUShort(); m_nMoveType = DataIn.GetByte(); m_nTransformId = DataIn.GetUShort(); m_nSkinCandyColor = DataIn.GetUInt(); byte[] itemBuf = DataIn.GetFixLenBytes(); if (itemBuf != null) { m_ItemPacket = new NetReadBuffer(itemBuf); } byte[] geneBuf = DataIn.GetFixLenBytes(); if (geneBuf != null) { m_GenePacket = new NetReadBuffer(geneBuf); } }
public override bool doDecode(NetReadBuffer DataIn) { if (DataIn != null) { m_nRes = DataIn.GetByte(); m_strError = DataIn.GetPerfixString(); } return(true); }
public override bool doDecode(NetReadBuffer DataIn) { if (base.doDecode(DataIn)) { m_nHaveEquiped = (byte)DataIn.GetByte(); m_EffectId = DataIn.GetUInt(); return(true); } return(false); }
public override bool doDecode(NetReadBuffer DataIn) { ushort nCount = DataIn.GetUShort(); for (int i = 0; i < nCount; i++) { byte currency = DataIn.GetByte(); m_ListCurrency.Add(currency); } return(true); }
public void doDecode(NetReadBuffer DataIn) { m_nRoomID = DataIn.GetUInt(); m_strRoomName = DataIn.GetPerfixString(); m_nRoomColor = DataIn.GetByte(); m_strRoomPwd = DataIn.GetPerfixString(); m_bHasPwd = DataIn.GetBool(); m_bIsHost = DataIn.GetBool(); m_nScene = DataIn.GetByte(); m_nMusic = DataIn.GetShort(); m_nMode = DataIn.GetByte(); m_nRoomDanceMode = DataIn.GetByte(); m_ClothEffectTransformID = DataIn.GetUInt(); for (int i = 0; i < CommonDef.MAX_ROOM_PLAYER; ++i) { m_szPosDancer[i] = DataIn.GetByte(); } for (int i = 0; i < CommonDef.MAX_ROOM_AUDIENCE; ++i) { m_szPosAudience[i] = DataIn.GetByte(); } ushort nDancerCount = DataIn.GetUShort(); for (int i = 0; i < nDancerCount; ++i) { RoomPlayerInfo playerInfo = new RoomPlayerInfo(); playerInfo.doDecode(DataIn); m_lstDancer.Add(playerInfo); } }
public void doDecode(NetReadBuffer DataIn) { m_HeartBeatTeam = DataIn.GetByte(); m_SelectEachOther = DataIn.GetBool(); ushort count = DataIn.GetUShort(); for (int i = 0; i < count; ++i) { uint id = DataIn.GetUInt(); m_TeamMember.Add(id); } }
public override bool doDecode(NetReadBuffer DataIn) { m_RoomDanceMode = DataIn.GetByte(); ushort count = DataIn.GetUShort(); for (int i = 0; i < count; ++i) { RoleRoomTeamInfo roleTeamInfo = new RoleRoomTeamInfo(); roleTeamInfo.doDecode(DataIn); m_ListRoleRoomTeamInfo.Add(roleTeamInfo); } return(true); }
public override bool doDecode(NetReadBuffer DataIn) { for (int i = 0; i < CommonDef.MAX_ROOM_PLAYER; ++i) { m_szDancerPlace[i] = DataIn.GetByte(); m_szDancerGrade[i] = DataIn.GetByte(); m_szDancerMark[i] = DataIn.GetUInt(); m_szDancerExp[i] = DataIn.GetUInt(); m_szDancerPerfect[i] = DataIn.GetInt(); m_szDancerCool[i] = DataIn.GetInt(); m_szDancerGood[i] = DataIn.GetInt(); m_szDancerBad[i] = DataIn.GetInt(); m_szDancerMiss[i] = DataIn.GetInt(); m_szDancerSpecial[i] = DataIn.GetInt(); m_szDancerIntimacy[i] = DataIn.GetInt(); } ushort count = DataIn.GetUShort(); for (int i = 0; i < count; ++i) { RoleTeamMarkInfo teamMarkInfo = new RoleTeamMarkInfo(); teamMarkInfo.doDecode(DataIn); m_szDanceTeamMark.Add(teamMarkInfo); } count = DataIn.GetUShort(); for (int i = 0; i < count; ++i) { HeartBeatMarkInfo info = new HeartBeatMarkInfo(); info.doDecode(DataIn); m_HeartBeatMarkInfo.Add(info); } return(true); }
public override bool doDecode(NetReadBuffer DataIn) { m_nOldHostType = DataIn.GetByte(); m_nOldHostPos = DataIn.GetByte(); m_nOldHostState = DataIn.GetByte(); m_nNewHostType = DataIn.GetByte(); m_nNewHostPos = DataIn.GetByte(); m_nNewHostState = DataIn.GetByte(); m_strRoomPwd = DataIn.GetPerfixString(); return(true); }
public override bool doDecode(NetReadBuffer DataIn) { m_nQuitType = DataIn.GetByte(); m_nRoleRoomType = DataIn.GetByte(); ushort nCount = DataIn.GetUShort(); for (ushort i = 0; i < nCount; ++i) { m_lstRoleRoomPos.Add(DataIn.GetByte()); } m_nHostRoomType = DataIn.GetByte(); m_nHostRoomPos = DataIn.GetByte(); m_nHostRoomState = DataIn.GetByte(); m_strRoomPwd = DataIn.GetPerfixString(); return(true); }
public override bool doDecode(NetReadBuffer DataIn) { m_TeamType = DataIn.GetByte(); return(true); }
public override bool doDecode(NetReadBuffer DataIn) { m_ErrorType = DataIn.GetByte(); m_strError = DataIn.GetPerfixString(); return(true); }
public override bool doDecode(NetReadBuffer DataIn) { mRoomColor = DataIn.GetByte(); return(true); }
public void doDecode(NetReadBuffer DataIn) { m_EffectLev = DataIn.GetByte(); m_HBPoint = DataIn.GetInt(); }
public void doDecode(NetReadBuffer DataIn) { m_HeartBeatTeam = DataIn.GetByte(); m_HeartBeatMark = DataIn.GetUInt(); m_HeartBeatTeamMark = DataIn.GetUInt(); }
public void doDecode(NetReadBuffer DataIn) { m_nRoleID = DataIn.GetUInt(); m_eRoomTeamMode = DataIn.GetByte(); m_eRoomTeamColor = DataIn.GetByte(); }
public void doDecode(NetReadBuffer DataIn) { m_eRoomTeamColor = DataIn.GetByte(); m_TeamMark = DataIn.GetInt(); }