Commit Graph

222 Commits

Author SHA1 Message Date
Garry Newman
08a4136a3e Seems like struct packing only changes with CSteamId if it's not the first field 2020-02-28 13:53:22 +00:00
Garry Newman
e9978ec55b Fixed GlobalStatsReceived not added to debug list 2020-02-28 13:26:06 +00:00
Garry Newman
9db103cb2f Add Steamworks.Dispatch.OnDebugCallback 2020-02-27 10:01:43 +00:00
Garry Newman
8db2b46729 Hide structs starting with "PS3" 2020-02-27 09:49:58 +00:00
Garry Newman
93e21a5f79 Generate a dictionary of CallbackType's and the actual typeof the callback struct 2020-02-27 09:21:38 +00:00
Garry Newman
c9053b0a91 In ISteamNetworking everything is deprecated apart from the p2p stuff 2020-02-24 16:26:23 +00:00
Garry Newman
d990b537a3 Some code quality stuff 2020-02-24 14:11:27 +00:00
Garry Newman
2843749918 Hide FriendFlags 2020-02-24 13:07:50 +00:00
Garry Newman
44196682c8 Added SteamNetworkUtils.OnDebugOutput, DebugLevel 2020-02-24 11:33:29 +00:00
Garry Newman
41c1d0da08 Ignore enums with "Force32Bit" in their names 2020-02-24 10:33:11 +00:00
Garry Newman
afd314627d Added StructFunctions 2020-02-24 10:14:31 +00:00
Garry Newman
e7a6a00675 Networking Cleanup 2020-02-24 08:58:09 +00:00
Garry Newman
fc74049123 Added Duration Control 2020-02-23 19:09:31 +00:00
Garry Newman
f495d18ece Added SteamRemotePlay 2020-02-23 18:58:50 +00:00
Garry Newman
428c2425a0 CallResult takes an IsServer parameter 2020-02-23 11:44:14 +00:00
Garry Newman
4b10d72d12 Callback fix 2020-02-22 21:13:47 +00:00
Garry Newman
ed96cafbe4 Updated generator to use flat files 2020-02-22 20:16:04 +00:00
Garry Newman
85339a079a Steamworks 1.48 2020-02-22 20:14:01 +00:00
Garry Newman
04ad04f95d Added SteamServer.UserHasLicenseForApp 2019-12-04 11:15:58 +00:00
Lukas Kastern
83aa37ce4f Added SteamFriends.GetFriendsWithFlag
Added SteamFriends.GetFriendsWithFlag.
Reworked SteamFriends.GetFriends and SteamFriends.GetBlocked to work upon it.
I also had to expose the FriendFlags.
2019-10-11 16:44:27 +02:00
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