Esempio n. 1
0
 public override void ReadFrom(TarsInputStream _is)
 {
     vDecorationPrefix = (List <DecorationInfo>)_is.Read(vDecorationPrefix, 0, false);
     vDecorationSuffix = (List <DecorationInfo>)_is.Read(vDecorationSuffix, 1, false);
     tFormat           = (ContentFormat)_is.Read(tFormat, 2, false);
     tBulletFormat     = (BulletFormat)_is.Read(tBulletFormat, 3, false);
     vForwardChannels  = (List <ChannelPair>)_is.Read(vForwardChannels, 4, false);
     iModifyMask       = (int)_is.Read(iModifyMask, 5, false);
     vBulletPrefix     = (List <DecorationInfo>)_is.Read(vBulletPrefix, 6, false);
     tUserInfo         = (SenderInfo)_is.Read(tUserInfo, 7, false);
     vBulletSuffix     = (List <DecorationInfo>)_is.Read(vBulletSuffix, 8, false);
 }
Esempio n. 2
0
 public override void ReadFrom(TarsInputStream _is)
 {
     tUserInfo         = (SenderInfo)_is.Read(tUserInfo, 0, false);
     lTid              = (long)_is.Read(lTid, 1, false);
     lSid              = (long)_is.Read(lSid, 2, false);
     sContent          = (string)_is.Read(sContent, 3, false);
     iShowMode         = (int)_is.Read(iShowMode, 4, false);
     tFormat           = (ContentFormat)_is.Read(tFormat, 5, false);
     tBulletFormat     = (BulletFormat)_is.Read(tBulletFormat, 6, false);
     iTermType         = (int)_is.Read(iTermType, 7, false);
     vDecorationPrefix = (List <DecorationInfo>)_is.Read(vDecorationPrefix, 8, false);
     vDecorationSuffix = (List <DecorationInfo>)_is.Read(vDecorationSuffix, 9, false);
     vAtSomeone        = (List <UidNickName>)_is.Read(vAtSomeone, 10, false);
     lPid              = (long)_is.Read(lPid, 11, false);
 }