public int MaxIdleTime = 3; //The maximum idle time is connected, and the timeout is disconnected. public override void WriteTo(ApolloBufferWriter write) { write.Write(OpenID); write.Write(Url); write.Write(EnableManualUpdate); write.Write(MaxIdleTime); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(ErrorCode); writer.Write(Reason); writer.Write(Extend); writer.Write(Extend2); writer.Write(Extend2); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(ErrCode); writer.Write(ErrMsg); writer.Write(Token); writer.Write(PassTime); writer.Write(JoinTime); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(Channel); writer.Write(OpenId); writer.Write(UserId); writer.Write(Uid); writer.Write(tokenList); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(MaxBufferSize); writer.Write(MaxSendMessageSize); writer.Write(MaxRecvMessageSize); writer.Write(EncMethod); writer.Write(KeyMakingMethod); writer.Write(DH); writer.Write(Timeout); writer.Write(LoopInterval); writer.Write(ClearBufferWhenReconnect); writer.Write(InfoType); }
public string UserData; //Custom data public override void WriteTo(ApolloBufferWriter writer) { writer.Write(OpenId); writer.Write(TreeId); writer.Write(LeafId); writer.Write(LastLoginTime); writer.Write(RoleId); writer.Write(RoleLevel); writer.Write(RoleName); writer.Write(UserData); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(Type); switch (Type) { case TreeNodeType.Category: { writer.Write(Category); break; } case TreeNodeType.Leaf: { writer.Write(Leaf); break; } default: return; } }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(Type); writer.Write(ErrCode); writer.Write(ErrMsg); writer.Write(CurPosition); writer.Write(TotalCount); writer.Write(EstimatedTime); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(Url); writer.Write(AppId); writer.Write(OpenId); writer.Write(Token); writer.Write(AuthType); writer.Write(Channel); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(DetailState); writer.Write(Carrier); writer.Write(CarrierCode); writer.Write(SSID); writer.Write(BSSID); writer.Write(CurrentAPN); }
protected override void BeforeEncode(ApolloBufferWriter writer) { writer.Write(type); writer.Write(Id); writer.Write(ParentId); writer.Write(Name); writer.Write(Tag); writer.Write(CustomData); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(currentIP); writer.Write(currentServerID); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(RoleInfos); }
public override void WriteTo(ApolloBufferWriter writer) { base.WriteTo(writer); writer.Write(TypeId); writer.Write(ZoneId); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(TreeList); }
public override void WriteTo(ApolloBufferWriter writer) { base.WriteTo(writer); writer.Write(ServiceName); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(Flag); writer.Write(Url); writer.Write(RoleCollection); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(PluginName); writer.Write(GameId); writer.Write(GameKey); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write((int)RouteType); writer.Write(AllowLost); }
public Int64 Expire; // seconds public override void WriteTo(ApolloBufferWriter writer) { writer.Write(Type); writer.Write(Value); writer.Write(Expire); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(Position); writer.Write(QueueLen); writer.Write(EstimateTime); }
protected override void BeforeEncode(ApolloBufferWriter writer) { writer.Write(Action); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(ChannelID); writer.Write(OpenID); }
public override void WriteTo(ApolloBufferWriter writer) { writer.Write(Attr1); writer.Write(Attr2); writer.Write(UserData); }