public AuthService(IApiService api, INetworkService network, OffsetTimeService offsetTime, ClientStateService state) { _api = api; _network = network; _offsetTime = offsetTime; _state = state; }
public GameStateUpdateService(ICustomLogger logger, OffsetTimeService offsetTime, IApiService api, ClientStateService state) { _logger = logger; _offsetTime = offsetTime; _api = api; _state = state; }
void AddCommon() { OffsetTime = new OffsetTimeService(Time); Register = new RegisterService(Api, State); Auth = new AuthService(Api, Network, OffsetTime, State); Updater = new GameStateUpdateService(Logger, OffsetTime, Api, State); }
public void Init(ClientStateService stateService, OffsetTimeService offsetTime) { _text = GetComponent <TMP_Text>(); _stateService = stateService; _offsetTime = offsetTime; }