Exemplo n.º 1
0
 public override void WriteTo(ApolloBufferWriter writer)
 {
     writer.Write(Error);
     writer.Write(Reason);
     writer.Write(ExtCode);
     writer.Write(ExtCode2);
 }
Exemplo n.º 2
0
 public override void WriteTo(ApolloBufferWriter writer)
 {
     writer.Write(MaxBufferSize);
     writer.Write(StartFrameId);
     writer.Write((int)ManualUpdateOption);
     writer.Write(IsTcpCritical);
     writer.Write(MaxHistorySize);
 }
Exemplo n.º 3
0
 public override void WriteTo(ApolloBufferWriter writer)
 {
     writer.Write(this.AppId);
     writer.Write(this.Uin);
     writer.Write(this.SKey);
     writer.Write(this.SKeySignature);
     writer.Write(this.Uin.ToString());
     writer.Write(this.Password);
     writer.Write(this.NeedLogin);
     writer.Write(this.Mode);
 }
Exemplo n.º 4
0
 public override void WriteTo(ApolloBufferWriter writer)
 {
     writer.Write(UserCount);
     writer.Write(FrameIntervalTimeMs);
     writer.Write(WaitTimeMs);
     writer.Write(AutoStartFrame);
     writer.Write(BusinessId);
     writer.Write(BusinessKey);
 }
Exemplo n.º 5
0
 public override void WriteTo(ApolloBufferWriter writer)
 {
     //throw new Exception("Send with RelayData is not supported");
     writer.Write(PlayerId);
     writer.Write((int)Flag);
     writer.Write(DelayMS);
     if (dataLength == 0)
     {
         writer.Write(null, 0);
     }
     else
     {
         writer.Write(data, dataLength);
     }
     writer.Write(SequenceId);
 }
Exemplo n.º 6
0
 public override void WriteTo(ApolloBufferWriter writer)
 {
     writer.Write(this.Permission);
 }
Exemplo n.º 7
0
        public override void WriteTo(ApolloBufferWriter writer)
        {
            writer.Write(frameID);
            writer.Write(alreadyPeeked);
            writer.Write(inputCount);
            writer.Write(minInputSeqID);
            writer.Write(maxInputSeqID);
            writer.Write(lostInputCount);
            writer.Write(lostFrameCount);

            writer.Write(inputIntervalMS);
            writer.Write(recvIntervalMS);
            writer.Write(peekIntervalMS);

            writer.Write(recvTimeMS);
            writer.Write(peekTimeMS);

            writer.Write(inputQueueLen);
            writer.Write(inputQueueValidLen);
            writer.Write(recvQueueLen);
            writer.Write(recvQueueValidLen);
            writer.Write(peekQueueLen);
            writer.Write(peekQueueValidLen);

            writer.Write(inputSpeedMS);
            writer.Write(recvSpeedMS);
        }
Exemplo n.º 8
0
 public override void WriteTo(ApolloBufferWriter writer)
 {
     writer.Write(Frames);
 }
Exemplo n.º 9
0
 public override void WriteTo(ApolloBufferWriter writer)
 {
     writer.Write(FrameId);
     writer.Write(RecvTickMS);
     writer.Write(DataCollection, ValidDataCount);
 }
Exemplo n.º 10
0
 public override void WriteTo(ApolloBufferWriter writer)
 {
     writer.Write(RoomUserCollection);
 }