| 785 | return false; |
| 786 | } |
| 787 | int InitInterfaces() |
| 788 | { |
| 789 | InterfaceData StructureData = { 0 }; |
| 790 | |
| 791 | // Load Interfaces |
| 792 | std::string InterfaceName = ""; |
| 793 | void* SteamInterfaceAccessor = new SteamAppListIn001(); |
| 794 | StructureData.datapointer = SteamInterfaceAccessor; |
| 795 | StructureData.isstarted = true; |
| 796 | StructureData.key = STEAMAPPLIST_INTERFACE_VERSION_001; |
| 797 | StructureData.SteamType = CSteamInterface::STEAM_APPLIST; |
| 798 | StructureData.Version = 1; |
| 799 | InterfaceName = "SteamAppList"; |
| 800 | StructureData.name = InterfaceName; |
| 801 | PublicInterfaces.push_back(StructureData); |
| 802 | SteamInterfaceAccessor = nullptr; |
| 803 | SteamInterfaceAccessor = new SteamAppsIn001(); |
| 804 | StructureData.datapointer = SteamInterfaceAccessor; |
| 805 | StructureData.isstarted = true; |
| 806 | StructureData.key = STEAMAPPS_INTERFACE_VERSION_001; |
| 807 | StructureData.SteamType = CSteamInterface::STEAM_APPS; |
| 808 | StructureData.Version = 1; |
| 809 | InterfaceName = "SteamApps"; |
| 810 | StructureData.name = InterfaceName; |
| 811 | PublicInterfaces.push_back(StructureData); |
| 812 | SteamInterfaceAccessor = nullptr; |
| 813 | SteamInterfaceAccessor = new SteamAppsIn002(); |
| 814 | StructureData.datapointer = SteamInterfaceAccessor; |
| 815 | StructureData.isstarted = true; |
| 816 | StructureData.key = STEAMAPPS_INTERFACE_VERSION_002; |
| 817 | StructureData.SteamType = CSteamInterface::STEAM_APPS; |
| 818 | StructureData.Version = 2; |
| 819 | InterfaceName = "SteamApps"; |
| 820 | StructureData.name = InterfaceName; |
| 821 | PublicInterfaces.push_back(StructureData); |
| 822 | SteamInterfaceAccessor = nullptr; |
| 823 | SteamInterfaceAccessor = new SteamAppsIn003(); |
| 824 | StructureData.datapointer = SteamInterfaceAccessor; |
| 825 | StructureData.isstarted = true; |
| 826 | StructureData.key = STEAMAPPS_INTERFACE_VERSION_003; |
| 827 | StructureData.SteamType = CSteamInterface::STEAM_APPS; |
| 828 | StructureData.Version = 3; |
| 829 | InterfaceName = "SteamApps"; |
| 830 | StructureData.name = InterfaceName; |
| 831 | PublicInterfaces.push_back(StructureData); |
| 832 | SteamInterfaceAccessor = nullptr; |
| 833 | SteamInterfaceAccessor = new SteamAppsIn004(); |
| 834 | StructureData.datapointer = SteamInterfaceAccessor; |
| 835 | StructureData.isstarted = true; |
| 836 | StructureData.key = STEAMAPPS_INTERFACE_VERSION_004; |
| 837 | StructureData.SteamType = CSteamInterface::STEAM_APPS; |
| 838 | StructureData.Version = 4; |
| 839 | InterfaceName = "SteamApps"; |
| 840 | StructureData.name = InterfaceName; |
| 841 | PublicInterfaces.push_back(StructureData); |
| 842 | SteamInterfaceAccessor = nullptr; |
| 843 | SteamInterfaceAccessor = new SteamAppsIn005(); |
| 844 | StructureData.datapointer = SteamInterfaceAccessor; |
no outgoing calls
no test coverage detected