public CharacterValidationOperationHandler(int userId, Action <CharacterParameters?> onCharacterSelected) { this.userId = userId; this.onCharacterSelected = onCharacterSelected; characterServiceAPI = ServerComponents.GetComponent <ICharacterServiceAPI>().AssertNotNull(); }
public ChangeSceneOperationHandler(int userId, PlayerGameObject playerGameObject) { this.userId = userId; this.playerGameObject = playerGameObject; sceneContainer = ServerComponents.GetComponent <ISceneContainer>().AssertNotNull(); CharacterSpawnDetailsProvider = ServerComponents.GetComponent <ICharacterSpawnDetailsProvider>().AssertNotNull(); characterServiceApi = ServerComponents.GetComponent <ICharacterServiceAPI>().AssertNotNull(); }
public GetCharactersOperationHandler(int userId) { this.userId = userId; characterServiceAPI = ServerComponents.GetComponent <ICharacterServiceAPI>().AssertNotNull(); }