public override void WriteTo(TarsOutputStream _os) { _os.Write(iMarqueeScopeMin, 1); _os.Write(iMarqueeScopeMax, 2); _os.Write(iCurrentVideoNum, 3); _os.Write(iCurrentVideoMin, 4); _os.Write(iCurrentVideoMax, 5); _os.Write(iAllVideoNum, 6); _os.Write(iAllVideoMin, 7); _os.Write(iAllVideoMax, 8); _os.Write(iCurrentScreenNum, 9); _os.Write(iCurrentScreenMin, 10); _os.Write(iCurrentScreenMax, 11); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(iFirstSingle, 1); _os.Write(iFirstGroup, 2); _os.Write(sFirstTips, 3); _os.Write(iSecondSingle, 4); _os.Write(iSecondGroup, 5); _os.Write(sSecondTips, 6); _os.Write(iThirdSingle, 7); _os.Write(iThirdGroup, 8); _os.Write(sThirdTips, 9); _os.Write(iWorldSingle, 10); _os.Write(iWorldGroup, 11); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(vGroupId, 0); _os.Write(sToken, 1); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(iPropsIdType, 1); _os.Write(sPropsPic18, 2); _os.Write(sPropsPic24, 3); _os.Write(sPropsPicGif, 4); _os.Write(sPropsBannerResource, 5); _os.Write(sPropsBannerSize, 6); _os.Write(sPropsBannerMaxTime, 7); _os.Write(sPropsChatBannerResource, 8); _os.Write(sPropsChatBannerSize, 9); _os.Write(sPropsChatBannerMaxTime, 10); _os.Write(iPropsChatBannerPos, 11); _os.Write(iPropsChatBannerIsCombo, 12); _os.Write(sPropsRollContent, 13); _os.Write(iPropsBannerAnimationstyle, 14); _os.Write(sPropFaceu, 15); _os.Write(sPropH5Resource, 16); _os.Write(sPropsWeb, 17); _os.Write(iWitch, 18); _os.Write(sCornerMark, 19); _os.Write(iPropViewId, 20); _os.Write(sPropStreamerResource, 21); _os.Write(iStreamerFrameRate, 22); _os.Write(sPropsPic108, 23); _os.Write(sPcBannerResource, 24); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(tNobleInfo, 0); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(lUid, 0); _os.Write(sUA, 1); _os.Write(sCookie, 2); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(lUid, 0); _os.Write(sNickName, 1); _os.Write(lPid, 2); _os.Write(tNobelInfo, 3); _os.Write(tGuardInfo, 4); _os.Write(tWeekRankInfo, 5); _os.Write(sAvatarUrl, 6); _os.Write(bFromNearby, 7); _os.Write(sLocation, 8); _os.Write(tDecorationInfo, 9); _os.Write(tWeekHeartStirRankInfo, 10); _os.Write(tWeekHeartBlockRankInfo, 11); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(tId, 0); _os.Write(lTid, 1); _os.Write(lSid, 2); _os.Write(lShortTid, 3); _os.Write(eOp, 4); _os.Write(sChan, 5); _os.Write(eSource, 6); _os.Write(lPid, 7); _os.Write(bWatchVideo, 8); _os.Write(bAnonymous, 9); _os.Write(eTemplateType, 10); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(vDecorationPrefix, 0); _os.Write(vDecorationSuffix, 1); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(iGiftLevel, 0); _os.Write(iStreamerLevel, 1); _os.Write(iMaterialType, 2); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(lTid, 0); _os.Write(lSid, 1); _os.Write(lPid, 2); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(lUid, 0); _os.Write(iRank, 1); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(lUid, 0); _os.Write(sNickName, 1); _os.Write(iLevel, 2); _os.Write(sName, 3); _os.Write(iPet, 4); _os.Write(lPid, 5); _os.Write(lTid, 6); _os.Write(lSid, 7); _os.Write(lStartTime, 8); _os.Write(lEndTime, 9); _os.Write(iLeftDay, 10); _os.Write(iStatus, 11); _os.Write(iOpenFlag, 12); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(iPropsId, 1); _os.Write(sPropsName, 2); _os.Write(iPropsYb, 3); _os.Write(iPropsGreenBean, 4); _os.Write(iPropsWhiteBean, 5); _os.Write(iPropsGoldenBean, 6); _os.Write(iPropsRed, 7); _os.Write(iPropsPopular, 8); _os.Write(iPropsExpendNum, 9); _os.Write(iPropsFansValue, 10); _os.Write(vPropsNum, 11); _os.Write(iPropsMaxNum, 12); _os.Write(iPropsBatterFlag, 13); _os.Write(vPropsChannel, 14); _os.Write(sPropsToolTip, 15); _os.Write(vPropsIdentity, 16); _os.Write(iPropsWeights, 17); _os.Write(iPropsLevel, 18); _os.Write(tDisplayInfo, 19); _os.Write(tSpecialInfo, 20); _os.Write(iPropsGrade, 21); _os.Write(iPropsGroupNum, 22); _os.Write(sPropsCommBannerResource, 23); _os.Write(sPropsOwnBannerResource, 24); _os.Write(iPropsShowFlag, 25); _os.Write(iTemplateType, 26); _os.Write(iShelfStatus, 27); _os.Write(sAndroidLogo, 28); _os.Write(sIpadLogo, 29); _os.Write(sIphoneLogo, 30); _os.Write(sPropsCommBannerResourceEx, 31); _os.Write(sPropsOwnBannerResourceEx, 32); _os.Write(vPresenterUid, 33); _os.Write(vPropView, 34); _os.Write(iFaceUSwitch, 35); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(iProxyType, 0); _os.Write(sProxy, 1); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(iState, 0); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(iResCode, 0); _os.Write(lRequestId, 1); _os.Write(sMessage, 2); }
public override void WriteTo(TarsOutputStream _os) { _os.Write(tId, 0); _os.Write(lTid, 1); _os.Write(lSid, 2); _os.Write(lShortTid, 3); _os.Write(lPid, 4); _os.Write(bWatchVideo, 5); _os.Write(iLineType, 6); _os.Write(iFps, 7); _os.Write(iAttendee, 8); _os.Write(iBandWidth, 9); _os.Write(iLastHeartElapseTime, 10); }
public void Put <T>(string name, T t) { if (name == null) { throw new ArgumentException("put key can not is null"); } if (t == null) { throw new ArgumentException("put value can not is null"); } var buf = Unpooled.Buffer(128); byte[] sBuffer = null; try { TarsOutputStream _out = new TarsOutputStream(buf); _out.SetServerEncoding(EncodeName); _out.Write(t, 0); sBuffer = _out.ToByteArray(); } finally { buf.Release(); } if (IsPacketTypeTup3) { cachedData.Remove(name); if (newData.ContainsKey(name)) { newData[name] = sBuffer; } else { newData.Add(name, sBuffer); } } else { List <string> listType = new List <string>(); CheckObjectType(listType, t); string className = BasicClassTypeUtil.TransTypeList(listType); Dictionary <string, byte[]> pair = new Dictionary <string, byte[]>(1) { { className, sBuffer } }; cachedData.Remove(name); if (data.ContainsKey(name)) { data[name] = pair; } else { data.Add(name, pair); } } }