LeviLamina
Loading...
Searching...
No Matches
IGameControllerManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/SubClientId.h"
7#include "mc/deps/input/interface/ControllerRefreshState.h"
8#include "mc/deps/input/interface/GameControllerErrorType.h"
9
10// auto generated forward declare list
11// clang-format off
12class IGameController;
13// clang-format on
14
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 virtual ~IGameControllerManager() = default;
20
21 virtual ::std::weak_ptr<::IGameController> getGameController(int) = 0;
22
23 virtual ::std::vector<::std::weak_ptr<::IGameController>> getConnectedGameControllers() = 0;
24
25 virtual ::std::vector<::std::weak_ptr<::IGameController>> getGameControllersInUse() = 0;
26
27 virtual bool hasAdequateConnectedGameController() const = 0;
28
29 virtual bool hasAdequateConnectedGameControllers(uint64 const) const = 0;
30
31 virtual uint64 getMaxGameControllerButtons() const = 0;
32
33 virtual void registerConsumer(void const*) = 0;
34
35 virtual void unregisterConsumer(void const*) = 0;
36
37 virtual void setControllerRefreshState(::ControllerRefreshState) = 0;
38
39 virtual ::ControllerRefreshState getControllerRefreshState() const = 0;
40
41 virtual ::GameControllerErrorType getPlatformSpecificControllerError() const = 0;
42
43 virtual void setPlatformSpecificControllerErrorRetrievalFunc(::std::function<::GameControllerErrorType()>&&) = 0;
44
45 virtual void resetClientControllerCount() = 0;
46
47 virtual void addClientHasAdequateConnectedController(int, bool const, ::SubClientId) = 0;
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53
54 // NOLINTEND
55};
Definition IGameControllerManager.h:5
Definition IGameController.h:5