Commit Graph

252 Commits

Author SHA1 Message Date
Garry Newman
5c36a5c338 Removed usages of StringBuffer
Il2CPP fucks over StringBuffer by changing its Capacity
We can properly UTF8 convert these strings now
2019-08-14 14:39:04 +01:00
Garry Newman
38b1ed5f88 Il2Cpp didn't like CustomMarshaler on returns, so string returns are Utf8StringPointer instead, which implicit converts to string 2019-07-02 13:52:04 +01:00
Garry Newman
2fb1426479 win64 doesn't care about calling convention - but apprently il2cpp does, so we use CallingConvention.Cdecl on everthing 2019-07-02 13:37:34 +01:00
Garry Newman
7a4f0c029a Fix MatchMakingKeyValuePair issues 2019-07-02 12:08:02 +01:00
Garry Newman
7f4e0567a6 Swap overloaded function address on both win32 and win64 2019-06-25 12:47:22 +01:00
Garry Newman
7fbc333547 Handle struct returns differently on 32bit windows too 2019-06-25 12:42:17 +01:00
Garry Newman
a24ae4bac5 Translate memory offsets for 32bit 2019-06-25 12:40:23 +01:00
Garry Newman
f53e1aaba0 Global function cleanup 2019-06-25 12:13:04 +01:00
Garry Newman
d5abb32aeb Neater generated vtable code 2019-06-25 12:04:43 +01:00
Garry Newman
810cb3623f Code formatting 2019-06-25 12:01:00 +01:00
Garry Newman
1df586305d No need to use Config.Os for vtable address swapping 2019-06-25 12:00:04 +01:00
Garry Newman
690db722eb No need for _Windows function alternatives 2019-06-25 11:39:17 +01:00
Garry Newman
6dbed6a91d StructPlatformPackSize instead of runtime Pack8 shit 2019-06-25 11:20:39 +01:00
Garry Newman
15dc2782cc Nicer return string marshalling 2019-06-20 13:26:11 +01:00
Garry Newman
a0478a6040 Store struct strings as byte and encode as utf8 on demand 2019-06-20 13:10:28 +01:00
Garry Newman
615645a30e Utf8String marshaller 2019-06-20 12:19:21 +01:00
Garry Newman
bddac0ccc9 Cleanup, crash fixes 2019-06-20 11:39:13 +01:00
Garry Newman
fa48a1ce33 Controller progress 2019-06-20 10:41:57 +01:00
Garry Newman
1c5cdd2d39 Controller tests 2019-06-19 16:18:12 +01:00
Garry Newman
1ac22e1407 ISteamInput.GetConnectedControllers is an array 2019-06-19 13:05:09 +01:00
Garry Newman
77f3e09e98 Convert steam struct bools to bytes (to make them marshallable) 2019-06-19 13:04:18 +01:00
Garry Newman
41a0b31644 ISteamInput generation 2019-06-19 11:33:16 +01:00
Garry Newman
ef071d3d71 OnP2PConnectionFailed passes error enum 2019-06-19 11:25:16 +01:00
Garry Newman
6b9b7da34b Fixed SteamInventory not getting events on server 2019-05-18 12:04:43 +01:00
Garry Newman
a5bd78a597 SteamItemDetails_t should read flags properly on windows 2019-05-16 15:02:00 +01:00
Garry Newman
778b1081cb Windows specific on overloaded functions in ISteamGameServerStats 2019-05-15 13:25:50 +01:00
Garry Newman
fdee0bfc1e Cancel async waits if steam becomes invalid during wait 2019-05-13 13:13:12 +01:00
Garry Newman
f014681cc4 Clear interfaces and dangling pointers on steam shutdown 2019-05-10 14:08:17 +01:00
Garry Newman
8a6bbb9a91 SteamTypes implement IComparable 2019-05-10 12:22:28 +01:00
Garry Newman
eae18553da Types now impl,ement IEquatable 2019-05-10 10:08:47 +01:00
Garry Newman
8c986113de ISteamGameServerStats 2019-05-09 11:17:19 +01:00
Garry Newman
c6ac47c0c3 Use pack8 structs for windows where appropriate 2019-05-08 11:13:23 +01:00
Garry Newman
ad21e90e90 Added IsPack4OnWindows to codegen struct 2019-05-08 09:49:32 +01:00
Garry Newman
533b6ad28d Network Enum cleanup 2019-05-06 13:38:37 +01:00
Garry Newman
9bb5b5178e Struct name consistency 2019-05-06 13:34:41 +01:00
Garry Newman
b171e22861 SteamNetworkingMicroseconds => long 2019-05-06 13:26:37 +01:00
Garry Newman
71d8226e28 Force ppOutMessages to IntPtr 2019-05-06 12:00:24 +01:00
Garry Newman
4ed8a4250b SteamNetworkingConnectionState => ConnectionState 2019-05-03 10:44:48 +01:00
Garry Newman
6be5826f31 ConnectionInfo 2019-05-02 21:40:39 +01:00
Garry Newman
ce3525bf1d Struct cleanups and testing 2019-05-02 20:41:45 +01:00
Garry Newman
270b3f0300 SteamNetConnectionStatusChangedCallback_t callback 2019-05-02 19:43:01 +01:00
Garry Newman
6c41ef2e51 Connection basics 2019-05-02 17:45:10 +01:00
Garry Newman
9b2ad8e49a ISteamNetworkingSockets generating 2019-05-02 16:55:50 +01:00
Garry Newman
3eae3314b6 SteamNetworkUtil global config basics 2019-05-02 15:57:57 +01:00
Garry Newman
16ce5f4d63 NetworkingUtils (Ping stuff) 2019-05-02 15:23:47 +01:00
Garry Newman
1c1925bae9 Update how interfaces are initialized so we can initialize userless 2019-05-02 13:27:46 +01:00
Garry Newman
239273a715 ISteamNetworkingUtils 2019-05-02 13:05:38 +01:00
Garry Newman
93c4de7eda Added missing structs 2019-05-01 21:46:05 +01:00
Garry Newman
c5ec70447b ISteamParties 2019-05-01 21:33:10 +01:00
Garry Newman
e3840a9a3a LobbyQuery, Lobby Joining, Lobby Creating 2019-05-01 15:55:22 +01:00
Garry Newman
5a68e15676 ISteamMatchmaking 2019-05-01 14:28:42 +01:00
Garry Newman
5938bf59d4 SteamNetworking 2019-04-30 22:45:37 +01:00
Garry Newman
6eae474e6e Parse/Generate ISteamNetworking 2019-04-30 22:01:02 +01:00
Garry Newman
b2cfbe23c5 Fixed not parsing function names containing numbers 2019-04-30 21:58:19 +01:00
Garry Newman
93d20de83b ISteamCallback was a nice idea but IL2CPP support makes it unfeasible 2019-04-30 16:43:27 +01:00
Garry Newman
86e4576baf IL2CPP works again 2019-04-30 15:42:10 +01:00
Garry Newman
ff48493ceb Structs with a CSteamID don't need the pack8 alternative 2019-04-30 14:56:59 +01:00
Garry Newman
84627fe69f Struct is the pack4 version 2019-04-30 14:51:56 +01:00
Garry Newman
cbc154da66 We can treat mac and linux as the same os 2019-04-30 13:01:30 +01:00
Garry Newman
8da5ab2cd0 Overloaded functions swap locations only on windows 2019-04-30 11:53:12 +01:00
Garry Newman
b39ee80ecd Special path for Windows call convention when returning a SteamId 2019-04-29 15:47:56 +01:00
Garry Newman
74ef28b9fc MacOs loading 2019-04-29 15:47:23 +01:00
Garry Newman
10e228f765 Api Generate global funcs 2019-04-29 13:28:20 +01:00
Garry Newman
0c19a87813 DeserializeAsync 2019-04-29 11:59:00 +01:00
Garry Newman
2260b222f5 CraftItem 2019-04-29 11:51:06 +01:00
Garry Newman
1625268f5d InventoryResult.Serialize 2019-04-29 11:13:17 +01:00
Garry Newman
67de9c8e96 Expose ItemId, DefId types 2019-04-29 10:41:40 +01:00
Garry Newman
d2ce2fe13b GetDefinitions 2019-04-27 21:52:47 +01:00
Garry Newman
aa666a3149 Item Prices 2019-04-27 17:07:39 +01:00
Garry Newman
a59e8f9134 ISteamInventory interface 2019-04-27 15:49:33 +01:00
Garry Newman
764b6246e8 Igmore more STEAM_OUT_BUFFER_COUNT etc 2019-04-27 15:46:20 +01:00
Garry Newman
1137076fa7 Parsing fixes 2019-04-27 14:25:54 +01:00
Garry Newman
dd06f22cee ISteamRemoteStorage codegen 2019-04-27 14:10:40 +01:00
Garry Newman
e4663ecc68 AppId_t => AppId 2019-04-26 14:29:36 +01:00
Garry Newman
e2e2554e88 Ugc Queries 2019-04-26 13:46:12 +01:00
Garry Newman
e9f5898b6c Basic Ugc Querying 2019-04-17 16:41:06 +01:00
Garry Newman
6dd5164f34 ISteamUGC 2019-04-17 14:07:58 +01:00
Garry Newman
9af8935f47 Overloaded function vtable order 2019-04-17 13:53:54 +01:00
Garry Newman
6c1dd241ba Delegate name refactor 2019-04-17 13:36:11 +01:00
Garry Newman
eb16bebae9 Nice name deduplucate 2019-04-17 13:33:38 +01:00
Garry Newman
99e85e9a98 Stats 2019-04-17 13:20:32 +01:00
Garry Newman
ebcd96326a Leaderboard.GetGlobalEntriesAsync 2019-04-17 09:31:28 +01:00
Garry Newman
e5a89b0550 Create/Get leaderboard 2019-04-17 08:40:58 +01:00
Garry Newman
79ed6a299a Parser fixes 2019-04-16 21:13:55 +01:00
Garry Newman
f4e2efaca1 ISteamUserStats interface 2019-04-16 16:55:08 +01:00
Garry Newman
b6f651b45c Deduplicate function names 2019-04-16 16:50:05 +01:00
Garry Newman
5782160623 Added SteamScreenshots 2019-04-16 16:37:49 +01:00
Garry Newman
6c5c94e834 Fixed struct packing regression 2019-04-16 15:25:35 +01:00
Garry Newman
ea85ddbb6f CodeWriter remove unused 2019-04-16 15:08:22 +01:00
Garry Newman
1abc9bf973 Constants, Types to data 2019-04-16 15:05:19 +01:00
Garry Newman
a1c64cfeda Generated structs into Data 2019-04-16 15:00:22 +01:00
Garry Newman
da17648ade BaseSteamInterface becomes SteamInterface 2019-04-16 14:54:05 +01:00
Garry Newman
8e97489def Steamworks.Data 2019-04-16 14:38:10 +01:00
Garry Newman
8ceecaf1b0 Cleaning up publics 2019-04-16 12:17:24 +01:00
Garry Newman
bf6883deb9 Big clean 2019-04-16 11:45:44 +01:00
Garry Newman
3255135df1 GameServer baseline 2019-04-15 20:54:50 +01:00
Garry Newman
6fa147141a Pass ** as ref 2019-04-15 15:37:50 +01:00
Garry Newman
ee7e4e076a Fixed parse error 2019-04-15 15:26:52 +01:00
Garry Newman
920ea6ce6b Fixed IsReturnedWeird ordering 2019-04-15 15:19:33 +01:00
Garry Newman
f7e09ec7bf ISteamFriends interface 2019-04-15 14:19:40 +01:00