ActorMessageSenderComponent.cs 576 B

1234567891011121314151617181920
  1. using System.Collections.Generic;
  2. namespace ET.Server
  3. {
  4. [ComponentOf(typeof(Scene))]
  5. public class ActorMessageSenderComponent: Entity, IAwake, IDestroy
  6. {
  7. public const long TIMEOUT_TIME = 40 * 1000;
  8. public static ActorMessageSenderComponent Instance { get; set; }
  9. public int RpcId;
  10. public readonly SortedDictionary<int, ActorMessageSender> requestCallback = new SortedDictionary<int, ActorMessageSender>();
  11. public long TimeoutCheckTimer;
  12. public List<int> TimeoutActorMessageSenders = new List<int>();
  13. }
  14. }