Exemplo n.º 1
0
 public SessionPlugin(ICacheClient cacheClient, IEventRepository eventRepository, AssignToStackAction assignToStack, UpdateStatsAction updateStats, LocationPlugin locationPlugin, AppOptions options, ILoggerFactory loggerFactory = null) : base(options, loggerFactory)
 {
     _cache           = new ScopedCacheClient(cacheClient, "session");
     _eventRepository = eventRepository;
     _assignToStack   = assignToStack;
     _updateStats     = updateStats;
     _locationPlugin  = locationPlugin;
 }
Exemplo n.º 2
0
 private void Awake()
 {
     plugin = GetComponentInChildren <LocationPlugin>();
 }