Internalise generated code

This commit is contained in:
Garry Newman 2016-11-02 20:22:11 +00:00
parent 1efdd690c2
commit 0b11025afe
44 changed files with 1112 additions and 551 deletions

View File

@ -99,6 +99,12 @@
Utility, given a "1;VLV250" string, convert it to a 2.5
</summary>
</member>
<member name="M:Facepunch.Steamworks.Inventory.FindDefinition(System.Int32)">
<summary>
You really need me to explain what this does?
Use your brains.
</summary>
</member>
<member name="T:Facepunch.Steamworks.Inventory.Definition">
<summary>
An item definition. This describes an item in your Steam inventory, but is
@ -106,6 +112,13 @@
multiple tshirts.
</summary>
</member>
<member name="M:Facepunch.Steamworks.Inventory.Definition.SetProperty(System.String,System.String)">
<summary>
If you're manually occupying the Definition (because maybe you're on a server
and want to hack around the fact that definitions aren't presented to you),
you can use this to set propertis.
</summary>
</member>
<member name="M:Facepunch.Steamworks.Inventory.Definition.TriggerItemDrop">
<summary>
Trigger an item drop. Call this when it's a good time to award
@ -328,22 +341,14 @@
</summary>
</member>
<member name="P:Facepunch.Steamworks.Config.PackSmall">
<member name="M:Facepunch.Steamworks.Config.ForcePlatform(SteamNative.OperatingSystem,SteamNative.Architecture)">
<summary>
Set this to true on Linux and OSX
You can force the platform to a particular one here.
This is useful if you're on OSX because some versions of mono don't have a way
to tell which platform we're running
</summary>
</member>
<member name="F:Facepunch.Steamworks.Config.LibraryName">
<summary>
The Native dll to look for. This is the steam_api.dll renamed.
We need to rename the dll anyway because we can't dynamically choose the library
ie, we can't load steam_api64.dll on windows 64 platforms. So instead we choose to
keep the library name the same.
This is exposed only for the benefit of implementation - and cannot be changed at runtime.
</summary>
</member>
<member name="M:Facepunch.Steamworks.Workshop.ItemHandle(System.UInt64)">
<member name="M:Facepunch.Steamworks.Workshop.EditItem(System.UInt64)">
<summary>
Returns a class representing this ItemId. We don't query
item name, description etc. We don't verify that item exists.
@ -360,7 +365,7 @@
Workshop item that is meant to be voted on for the purpose of selling in-game
</summary>
</member>
<member name="F:Facepunch.Steamworks.Workshop.QueryType.subscriptionItems">
<member name="F:Facepunch.Steamworks.Workshop.QueryType.SubscriptionItems">
<summary>
normal Workshop item that can be subscribed to
</summary>
@ -552,5 +557,10 @@
Set the named stat for this user
</summary>
</member>
<member name="P:SteamNative.Platform.PackSmall">
<summary>
We're only Pack = 8 on Windows
</summary>
</member>
</members>
</doc>

View File

@ -12,7 +12,7 @@ namespace Facepunch.Steamworks
{
internal Inventory inventory;
public SteamNative.SteamInventoryResult_t Handle { get; private set; }
private SteamNative.SteamInventoryResult_t Handle { get; set; }
public Item[] Items { get; internal set; }
public bool IsPending

View File

@ -3,7 +3,7 @@ using System.Runtime.InteropServices;
namespace SteamNative
{
public static class CallbackIdentifiers
internal static class CallbackIdentifiers
{
public const int SteamUser = 100;
public const int SteamGameServer = 200;
@ -53,31 +53,31 @@ namespace SteamNative
public const int ClientInventory = 4700;
public const int ClientBluetoothManager = 4800;
}
public static class Defines
internal static class Defines
{
public const string STEAMAPPLIST_INTERFACE_VERSION = "STEAMAPPLIST_INTERFACE_VERSION001";
public const string STEAMAPPS_INTERFACE_VERSION = "STEAMAPPS_INTERFACE_VERSION008";
public const string STEAMAPPTICKET_INTERFACE_VERSION = "STEAMAPPTICKET_INTERFACE_VERSION001";
public const string STEAMCONTROLLER_INTERFACE_VERSION = "SteamController004";
public const string STEAMFRIENDS_INTERFACE_VERSION = "SteamFriends015";
public const string STEAMGAMECOORDINATOR_INTERFACE_VERSION = "SteamGameCoordinator001";
public const string STEAMGAMESERVER_INTERFACE_VERSION = "SteamGameServer012";
public const string STEAMGAMESERVERSTATS_INTERFACE_VERSION = "SteamGameServerStats001";
public const string STEAMHTMLSURFACE_INTERFACE_VERSION = "STEAMHTMLSURFACE_INTERFACE_VERSION_003";
public const string STEAMHTTP_INTERFACE_VERSION = "STEAMHTTP_INTERFACE_VERSION002";
public const string STEAMINVENTORY_INTERFACE_VERSION = "STEAMINVENTORY_INTERFACE_V001";
public const string STEAMMATCHMAKING_INTERFACE_VERSION = "SteamMatchMaking009";
public const string STEAMMATCHMAKINGSERVERS_INTERFACE_VERSION = "SteamMatchMakingServers002";
public const string STEAMMUSIC_INTERFACE_VERSION = "STEAMMUSIC_INTERFACE_VERSION001";
public const string STEAMMUSICREMOTE_INTERFACE_VERSION = "STEAMMUSICREMOTE_INTERFACE_VERSION001";
public const string STEAMNETWORKING_INTERFACE_VERSION = "SteamNetworking005";
public const string STEAMREMOTESTORAGE_INTERFACE_VERSION = "STEAMREMOTESTORAGE_INTERFACE_VERSION014";
public const string STEAMSCREENSHOTS_INTERFACE_VERSION = "STEAMSCREENSHOTS_INTERFACE_VERSION003";
public const string STEAMUGC_INTERFACE_VERSION = "STEAMUGC_INTERFACE_VERSION009";
public const string STEAMUNIFIEDMESSAGES_INTERFACE_VERSION = "STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001";
public const string STEAMUSER_INTERFACE_VERSION = "SteamUser019";
public const string STEAMUSERSTATS_INTERFACE_VERSION = "STEAMUSERSTATS_INTERFACE_VERSION011";
public const string STEAMUTILS_INTERFACE_VERSION = "SteamUtils008";
public const string STEAMVIDEO_INTERFACE_VERSION = "STEAMVIDEO_INTERFACE_V001";
internal const string STEAMAPPLIST_INTERFACE_VERSION = "STEAMAPPLIST_INTERFACE_VERSION001";
internal const string STEAMAPPS_INTERFACE_VERSION = "STEAMAPPS_INTERFACE_VERSION008";
internal const string STEAMAPPTICKET_INTERFACE_VERSION = "STEAMAPPTICKET_INTERFACE_VERSION001";
internal const string STEAMCONTROLLER_INTERFACE_VERSION = "SteamController004";
internal const string STEAMFRIENDS_INTERFACE_VERSION = "SteamFriends015";
internal const string STEAMGAMECOORDINATOR_INTERFACE_VERSION = "SteamGameCoordinator001";
internal const string STEAMGAMESERVER_INTERFACE_VERSION = "SteamGameServer012";
internal const string STEAMGAMESERVERSTATS_INTERFACE_VERSION = "SteamGameServerStats001";
internal const string STEAMHTMLSURFACE_INTERFACE_VERSION = "STEAMHTMLSURFACE_INTERFACE_VERSION_003";
internal const string STEAMHTTP_INTERFACE_VERSION = "STEAMHTTP_INTERFACE_VERSION002";
internal const string STEAMINVENTORY_INTERFACE_VERSION = "STEAMINVENTORY_INTERFACE_V001";
internal const string STEAMMATCHMAKING_INTERFACE_VERSION = "SteamMatchMaking009";
internal const string STEAMMATCHMAKINGSERVERS_INTERFACE_VERSION = "SteamMatchMakingServers002";
internal const string STEAMMUSIC_INTERFACE_VERSION = "STEAMMUSIC_INTERFACE_VERSION001";
internal const string STEAMMUSICREMOTE_INTERFACE_VERSION = "STEAMMUSICREMOTE_INTERFACE_VERSION001";
internal const string STEAMNETWORKING_INTERFACE_VERSION = "SteamNetworking005";
internal const string STEAMREMOTESTORAGE_INTERFACE_VERSION = "STEAMREMOTESTORAGE_INTERFACE_VERSION014";
internal const string STEAMSCREENSHOTS_INTERFACE_VERSION = "STEAMSCREENSHOTS_INTERFACE_VERSION003";
internal const string STEAMUGC_INTERFACE_VERSION = "STEAMUGC_INTERFACE_VERSION009";
internal const string STEAMUNIFIEDMESSAGES_INTERFACE_VERSION = "STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001";
internal const string STEAMUSER_INTERFACE_VERSION = "SteamUser019";
internal const string STEAMUSERSTATS_INTERFACE_VERSION = "STEAMUSERSTATS_INTERFACE_VERSION011";
internal const string STEAMUTILS_INTERFACE_VERSION = "SteamUtils008";
internal const string STEAMVIDEO_INTERFACE_VERSION = "STEAMVIDEO_INTERFACE_V001";
}
}

View File

@ -6,7 +6,7 @@ namespace SteamNative
//
// EUniverse
//
public enum Universe : int
internal enum Universe : int
{
Invalid = 0,
Public = 1,
@ -19,7 +19,7 @@ namespace SteamNative
//
// EResult
//
public enum Result : int
internal enum Result : int
{
OK = 1,
Fail = 2,
@ -131,7 +131,7 @@ namespace SteamNative
//
// EVoiceResult
//
public enum VoiceResult : int
internal enum VoiceResult : int
{
OK = 0,
NotInitialized = 1,
@ -148,7 +148,7 @@ namespace SteamNative
//
// EDenyReason
//
public enum DenyReason : int
internal enum DenyReason : int
{
Invalid = 0,
InvalidVersion = 1,
@ -171,7 +171,7 @@ namespace SteamNative
//
// EBeginAuthSessionResult
//
public enum BeginAuthSessionResult : int
internal enum BeginAuthSessionResult : int
{
OK = 0,
InvalidTicket = 1,
@ -184,7 +184,7 @@ namespace SteamNative
//
// EAuthSessionResponse
//
public enum AuthSessionResponse : int
internal enum AuthSessionResponse : int
{
OK = 0,
UserNotConnectedToSteam = 1,
@ -201,7 +201,7 @@ namespace SteamNative
//
// EUserHasLicenseForAppResult
//
public enum UserHasLicenseForAppResult : int
internal enum UserHasLicenseForAppResult : int
{
HasLicense = 0,
DoesNotHaveLicense = 1,
@ -211,7 +211,7 @@ namespace SteamNative
//
// EAccountType
//
public enum AccountType : int
internal enum AccountType : int
{
Invalid = 0,
Individual = 1,
@ -230,7 +230,7 @@ namespace SteamNative
//
// EAppReleaseState
//
public enum AppReleaseState : int
internal enum AppReleaseState : int
{
Unknown = 0,
Unavailable = 1,
@ -242,7 +242,7 @@ namespace SteamNative
//
// EAppOwnershipFlags
//
public enum AppOwnershipFlags : int
internal enum AppOwnershipFlags : int
{
None = 0,
OwnsLicense = 1,
@ -268,7 +268,7 @@ namespace SteamNative
//
// EAppType
//
public enum AppType : int
internal enum AppType : int
{
Invalid = 0,
Game = 1,
@ -293,7 +293,7 @@ namespace SteamNative
//
// ESteamUserStatType
//
public enum SteamUserStatType : int
internal enum SteamUserStatType : int
{
INVALID = 0,
INT = 1,
@ -307,7 +307,7 @@ namespace SteamNative
//
// EChatEntryType
//
public enum ChatEntryType : int
internal enum ChatEntryType : int
{
Invalid = 0,
ChatMsg = 1,
@ -326,7 +326,7 @@ namespace SteamNative
//
// EChatRoomEnterResponse
//
public enum ChatRoomEnterResponse : int
internal enum ChatRoomEnterResponse : int
{
Success = 1,
DoesntExist = 2,
@ -344,7 +344,7 @@ namespace SteamNative
//
// EChatSteamIDInstanceFlags
//
public enum ChatSteamIDInstanceFlags : int
internal enum ChatSteamIDInstanceFlags : int
{
AccountInstanceMask = 4095,
InstanceFlagClan = 524288,
@ -355,7 +355,7 @@ namespace SteamNative
//
// EMarketingMessageFlags
//
public enum MarketingMessageFlags : int
internal enum MarketingMessageFlags : int
{
None = 0,
HighPriority = 1,
@ -368,7 +368,7 @@ namespace SteamNative
//
// ENotificationPosition
//
public enum NotificationPosition : int
internal enum NotificationPosition : int
{
TopLeft = 0,
TopRight = 1,
@ -379,7 +379,7 @@ namespace SteamNative
//
// EBroadcastUploadResult
//
public enum BroadcastUploadResult : int
internal enum BroadcastUploadResult : int
{
None = 0,
OK = 1,
@ -400,7 +400,7 @@ namespace SteamNative
//
// ELaunchOptionType
//
public enum LaunchOptionType : int
internal enum LaunchOptionType : int
{
None = 0,
Default = 1,
@ -424,7 +424,7 @@ namespace SteamNative
//
// EVRHMDType
//
public enum VRHMDType : int
internal enum VRHMDType : int
{
None = -1,
Unknown = 0,
@ -441,7 +441,7 @@ namespace SteamNative
//
// EControllerType
//
public enum ControllerType : int
internal enum ControllerType : int
{
None = -1,
Unknown = 0,
@ -459,7 +459,7 @@ namespace SteamNative
//
// CGameID::EGameIDType
//
public enum GameIDType : int
internal enum GameIDType : int
{
App = 0,
GameMod = 1,
@ -470,7 +470,7 @@ namespace SteamNative
//
// IPCFailure_t::EFailureType
//
public enum FailureType : int
internal enum FailureType : int
{
FlushedCallbackQueue = 0,
PipeFail = 1,
@ -479,7 +479,7 @@ namespace SteamNative
//
// EFriendRelationship
//
public enum FriendRelationship : int
internal enum FriendRelationship : int
{
None = 0,
Blocked = 1,
@ -495,7 +495,7 @@ namespace SteamNative
//
// EPersonaState
//
public enum PersonaState : int
internal enum PersonaState : int
{
Offline = 0,
Online = 1,
@ -510,7 +510,7 @@ namespace SteamNative
//
// EFriendFlags
//
public enum FriendFlags : int
internal enum FriendFlags : int
{
None = 0,
Blocked = 1,
@ -530,7 +530,7 @@ namespace SteamNative
//
// EUserRestriction
//
public enum UserRestriction : int
internal enum UserRestriction : int
{
None = 0,
Unknown = 1,
@ -545,7 +545,7 @@ namespace SteamNative
//
// EOverlayToStoreFlag
//
public enum OverlayToStoreFlag : int
internal enum OverlayToStoreFlag : int
{
None = 0,
AddToCart = 1,
@ -555,7 +555,7 @@ namespace SteamNative
//
// EPersonaChange
//
public enum PersonaChange : int
internal enum PersonaChange : int
{
Name = 1,
Status = 2,
@ -576,7 +576,7 @@ namespace SteamNative
//
// ESteamAPICallFailure
//
public enum SteamAPICallFailure : int
internal enum SteamAPICallFailure : int
{
None = -1,
SteamGone = 0,
@ -588,7 +588,7 @@ namespace SteamNative
//
// EGamepadTextInputMode
//
public enum GamepadTextInputMode : int
internal enum GamepadTextInputMode : int
{
Normal = 0,
Password = 1,
@ -597,7 +597,7 @@ namespace SteamNative
//
// EGamepadTextInputLineMode
//
public enum GamepadTextInputLineMode : int
internal enum GamepadTextInputLineMode : int
{
SingleLine = 0,
MultipleLines = 1,
@ -606,7 +606,7 @@ namespace SteamNative
//
// ECheckFileSignature
//
public enum CheckFileSignature : int
internal enum CheckFileSignature : int
{
InvalidSignature = 0,
ValidSignature = 1,
@ -618,7 +618,7 @@ namespace SteamNative
//
// EMatchMakingServerResponse
//
public enum MatchMakingServerResponse : int
internal enum MatchMakingServerResponse : int
{
ServerResponded = 0,
ServerFailedToRespond = 1,
@ -628,7 +628,7 @@ namespace SteamNative
//
// ELobbyType
//
public enum LobbyType : int
internal enum LobbyType : int
{
Private = 0,
FriendsOnly = 1,
@ -639,7 +639,7 @@ namespace SteamNative
//
// ELobbyComparison
//
public enum LobbyComparison : int
internal enum LobbyComparison : int
{
EqualToOrLessThan = -2,
LessThan = -1,
@ -652,7 +652,7 @@ namespace SteamNative
//
// ELobbyDistanceFilter
//
public enum LobbyDistanceFilter : int
internal enum LobbyDistanceFilter : int
{
Close = 0,
Default = 1,
@ -663,7 +663,7 @@ namespace SteamNative
//
// EChatMemberStateChange
//
public enum ChatMemberStateChange : int
internal enum ChatMemberStateChange : int
{
Entered = 1,
Left = 2,
@ -675,7 +675,7 @@ namespace SteamNative
//
// ERemoteStoragePlatform
//
public enum RemoteStoragePlatform : int
internal enum RemoteStoragePlatform : int
{
None = 0,
Windows = 1,
@ -689,7 +689,7 @@ namespace SteamNative
//
// ERemoteStoragePublishedFileVisibility
//
public enum RemoteStoragePublishedFileVisibility : int
internal enum RemoteStoragePublishedFileVisibility : int
{
Public = 0,
FriendsOnly = 1,
@ -699,7 +699,7 @@ namespace SteamNative
//
// EWorkshopFileType
//
public enum WorkshopFileType : int
internal enum WorkshopFileType : int
{
First = 0,
Community = 0,
@ -724,7 +724,7 @@ namespace SteamNative
//
// EWorkshopVote
//
public enum WorkshopVote : int
internal enum WorkshopVote : int
{
Unvoted = 0,
For = 1,
@ -735,7 +735,7 @@ namespace SteamNative
//
// EWorkshopFileAction
//
public enum WorkshopFileAction : int
internal enum WorkshopFileAction : int
{
Played = 0,
Completed = 1,
@ -744,7 +744,7 @@ namespace SteamNative
//
// EWorkshopEnumerationType
//
public enum WorkshopEnumerationType : int
internal enum WorkshopEnumerationType : int
{
RankedByVote = 0,
Recent = 1,
@ -758,7 +758,7 @@ namespace SteamNative
//
// EWorkshopVideoProvider
//
public enum WorkshopVideoProvider : int
internal enum WorkshopVideoProvider : int
{
None = 0,
Youtube = 1,
@ -767,7 +767,7 @@ namespace SteamNative
//
// EUGCReadAction
//
public enum UGCReadAction : int
internal enum UGCReadAction : int
{
ontinueReadingUntilFinished = 0,
ontinueReading = 1,
@ -777,7 +777,7 @@ namespace SteamNative
//
// ELeaderboardDataRequest
//
public enum LeaderboardDataRequest : int
internal enum LeaderboardDataRequest : int
{
Global = 0,
GlobalAroundUser = 1,
@ -788,7 +788,7 @@ namespace SteamNative
//
// ELeaderboardSortMethod
//
public enum LeaderboardSortMethod : int
internal enum LeaderboardSortMethod : int
{
None = 0,
Ascending = 1,
@ -798,7 +798,7 @@ namespace SteamNative
//
// ELeaderboardDisplayType
//
public enum LeaderboardDisplayType : int
internal enum LeaderboardDisplayType : int
{
None = 0,
Numeric = 1,
@ -809,7 +809,7 @@ namespace SteamNative
//
// ELeaderboardUploadScoreMethod
//
public enum LeaderboardUploadScoreMethod : int
internal enum LeaderboardUploadScoreMethod : int
{
None = 0,
KeepBest = 1,
@ -819,7 +819,7 @@ namespace SteamNative
//
// ERegisterActivationCodeResult
//
public enum RegisterActivationCodeResult : int
internal enum RegisterActivationCodeResult : int
{
ResultOK = 0,
ResultFail = 1,
@ -831,7 +831,7 @@ namespace SteamNative
//
// EP2PSessionError
//
public enum P2PSessionError : int
internal enum P2PSessionError : int
{
None = 0,
NotRunningApp = 1,
@ -844,7 +844,7 @@ namespace SteamNative
//
// EP2PSend
//
public enum P2PSend : int
internal enum P2PSend : int
{
Unreliable = 0,
UnreliableNoDelay = 1,
@ -855,7 +855,7 @@ namespace SteamNative
//
// ESNetSocketState
//
public enum SNetSocketState : int
internal enum SNetSocketState : int
{
Invalid = 0,
Connected = 1,
@ -873,7 +873,7 @@ namespace SteamNative
//
// ESNetSocketConnectionType
//
public enum SNetSocketConnectionType : int
internal enum SNetSocketConnectionType : int
{
NotConnected = 0,
UDP = 1,
@ -883,7 +883,7 @@ namespace SteamNative
//
// EVRScreenshotType
//
public enum VRScreenshotType : int
internal enum VRScreenshotType : int
{
None = 0,
Mono = 1,
@ -896,7 +896,7 @@ namespace SteamNative
//
// AudioPlayback_Status
//
public enum AudioPlayback_Status : int
internal enum AudioPlayback_Status : int
{
Undefined = 0,
Playing = 1,
@ -907,7 +907,7 @@ namespace SteamNative
//
// EHTTPMethod
//
public enum HTTPMethod : int
internal enum HTTPMethod : int
{
Invalid = 0,
GET = 1,
@ -922,7 +922,7 @@ namespace SteamNative
//
// EHTTPStatusCode
//
public enum HTTPStatusCode : int
internal enum HTTPStatusCode : int
{
Invalid = 0,
HTTPStatusCode100Continue = 100,
@ -973,7 +973,7 @@ namespace SteamNative
//
// ESteamControllerPad
//
public enum SteamControllerPad : int
internal enum SteamControllerPad : int
{
Left = 0,
Right = 1,
@ -982,7 +982,7 @@ namespace SteamNative
//
// EControllerSource
//
public enum ControllerSource : int
internal enum ControllerSource : int
{
None = 0,
LeftTrackpad = 1,
@ -999,7 +999,7 @@ namespace SteamNative
//
// EControllerSourceMode
//
public enum ControllerSourceMode : int
internal enum ControllerSourceMode : int
{
None = 0,
Dpad = 1,
@ -1021,7 +1021,7 @@ namespace SteamNative
//
// EControllerActionOrigin
//
public enum ControllerActionOrigin : int
internal enum ControllerActionOrigin : int
{
None = 0,
A = 1,
@ -1068,7 +1068,7 @@ namespace SteamNative
//
// EControllerActivationType
//
public enum ControllerActivationType : int
internal enum ControllerActivationType : int
{
None = 0,
FullPress = 1,
@ -1083,7 +1083,7 @@ namespace SteamNative
//
// EControllerPressureButton
//
public enum ControllerPressureButton : int
internal enum ControllerPressureButton : int
{
LeftTrackPad = 0,
RightTrackPad = 1,
@ -1099,7 +1099,7 @@ namespace SteamNative
//
// EControllerActivatorOutputAxis
//
public enum ControllerActivatorOutputAxis : int
internal enum ControllerActivatorOutputAxis : int
{
LeftTrigger = 0,
RightTrigger = 1,
@ -1116,7 +1116,7 @@ namespace SteamNative
//
// EControllerConfigFeature
//
public enum ControllerConfigFeature : int
internal enum ControllerConfigFeature : int
{
None = 0,
Gamepad = 1,
@ -1132,7 +1132,7 @@ namespace SteamNative
//
// EControllerPopupMenuActivationType
//
public enum ControllerPopupMenuActivationType : int
internal enum ControllerPopupMenuActivationType : int
{
ButtonPress = 0,
ButtonRelease = 1,
@ -1143,7 +1143,7 @@ namespace SteamNative
//
// EUGCMatchingUGCType
//
public enum UGCMatchingUGCType : int
internal enum UGCMatchingUGCType : int
{
Items = 0,
Items_Mtx = 1,
@ -1164,7 +1164,7 @@ namespace SteamNative
//
// EUserUGCList
//
public enum UserUGCList : int
internal enum UserUGCList : int
{
Published = 0,
VotedOn = 1,
@ -1180,7 +1180,7 @@ namespace SteamNative
//
// EUserUGCListSortOrder
//
public enum UserUGCListSortOrder : int
internal enum UserUGCListSortOrder : int
{
CreationOrderDesc = 0,
CreationOrderAsc = 1,
@ -1194,7 +1194,7 @@ namespace SteamNative
//
// EUGCQuery
//
public enum UGCQuery : int
internal enum UGCQuery : int
{
RankedByVote = 0,
RankedByPublicationDate = 1,
@ -1220,7 +1220,7 @@ namespace SteamNative
//
// EItemUpdateStatus
//
public enum ItemUpdateStatus : int
internal enum ItemUpdateStatus : int
{
Invalid = 0,
PreparingConfig = 1,
@ -1233,7 +1233,7 @@ namespace SteamNative
//
// EItemState
//
public enum ItemState : int
internal enum ItemState : int
{
None = 0,
Subscribed = 1,
@ -1247,7 +1247,7 @@ namespace SteamNative
//
// EItemStatistic
//
public enum ItemStatistic : int
internal enum ItemStatistic : int
{
NumSubscriptions = 0,
NumFavorites = 1,
@ -1265,7 +1265,7 @@ namespace SteamNative
//
// EItemPreviewType
//
public enum ItemPreviewType : int
internal enum ItemPreviewType : int
{
Image = 0,
YouTubeVideo = 1,
@ -1278,7 +1278,7 @@ namespace SteamNative
//
// ISteamHTMLSurface::EHTMLMouseButton
//
public enum HTMLMouseButton : int
internal enum HTMLMouseButton : int
{
Left = 0,
Right = 1,
@ -1288,7 +1288,7 @@ namespace SteamNative
//
// ISteamHTMLSurface::EMouseCursor
//
public enum MouseCursor : int
internal enum MouseCursor : int
{
user = 0,
none = 1,
@ -1337,7 +1337,7 @@ namespace SteamNative
//
// ISteamHTMLSurface::EHTMLKeyModifiers
//
public enum HTMLKeyModifiers : int
internal enum HTMLKeyModifiers : int
{
None = 0,
AltDown = 1,
@ -1348,7 +1348,7 @@ namespace SteamNative
//
// ESteamItemFlags
//
public enum SteamItemFlags : int
internal enum SteamItemFlags : int
{
NoTrade = 1,
Removed = 256,

View File

@ -5,7 +5,7 @@ namespace SteamNative
{
internal static partial class Platform
{
public interface Interface : IDisposable
internal interface Interface : IDisposable
{
// Implementation should return true if _ptr is non null
bool IsValid { get; }

View File

@ -5,7 +5,7 @@ namespace SteamNative
{
internal static partial class Platform
{
public class Linux32 : Interface
internal class Linux32 : Interface
{
internal IntPtr _ptr;
public bool IsValid { get{ return _ptr != null; } }
@ -13,7 +13,7 @@ namespace SteamNative
//
// Constructor sets pointer to native class
//
public Linux32( IntPtr pointer )
internal Linux32( IntPtr pointer )
{
_ptr = pointer;
}

View File

@ -5,7 +5,7 @@ namespace SteamNative
{
internal static partial class Platform
{
public class Linux64 : Interface
internal class Linux64 : Interface
{
internal IntPtr _ptr;
public bool IsValid { get{ return _ptr != null; } }
@ -13,7 +13,7 @@ namespace SteamNative
//
// Constructor sets pointer to native class
//
public Linux64( IntPtr pointer )
internal Linux64( IntPtr pointer )
{
_ptr = pointer;
}

View File

@ -5,7 +5,7 @@ namespace SteamNative
{
internal static partial class Platform
{
public class Mac : Interface
internal class Mac : Interface
{
internal IntPtr _ptr;
public bool IsValid { get{ return _ptr != null; } }
@ -13,7 +13,7 @@ namespace SteamNative
//
// Constructor sets pointer to native class
//
public Mac( IntPtr pointer )
internal Mac( IntPtr pointer )
{
_ptr = pointer;
}

View File

@ -5,7 +5,7 @@ namespace SteamNative
{
internal static partial class Platform
{
public class Win32 : Interface
internal class Win32 : Interface
{
internal IntPtr _ptr;
public bool IsValid { get{ return _ptr != null; } }
@ -13,7 +13,7 @@ namespace SteamNative
//
// Constructor sets pointer to native class
//
public Win32( IntPtr pointer )
internal Win32( IntPtr pointer )
{
_ptr = pointer;
}

View File

@ -5,7 +5,7 @@ namespace SteamNative
{
internal static partial class Platform
{
public class Win64 : Interface
internal class Win64 : Interface
{
internal IntPtr _ptr;
public bool IsValid { get{ return _ptr != null; } }
@ -13,7 +13,7 @@ namespace SteamNative
//
// Constructor sets pointer to native class
//
public Win64( IntPtr pointer )
internal Win64( IntPtr pointer )
{
_ptr = pointer;
}

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamApi( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamApi( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamAppList( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamAppList( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamApps( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamApps( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamClient( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamClient( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamController( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamController( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamFriends( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamFriends( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamGameServer( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamGameServer( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamGameServerStats( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamGameServerStats( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamHTMLSurface( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamHTMLSurface( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamHTTP( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamHTTP( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamInventory( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamInventory( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamMatchmaking( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamMatchmaking( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamMatchmakingServers( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamMatchmakingServers( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamMusic( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamMusic( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamMusicRemote( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamMusicRemote( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamNetworking( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamNetworking( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamRemoteStorage( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamRemoteStorage( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamScreenshots( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamScreenshots( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamUGC( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamUGC( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamUnifiedMessages( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamUnifiedMessages( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamUser( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamUser( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamUserStats( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamUserStats( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamUtils( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamUtils( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

View File

@ -14,7 +14,7 @@ namespace SteamNative
//
// Constructor decides which implementation to use based on current platform
//
public SteamVideo( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
internal SteamVideo( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )
{
this.steamworks = steamworks;

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@ using System.Runtime.InteropServices;
namespace SteamNative
{
public struct GID_t
internal struct GID_t
{
public ulong Value;
@ -18,7 +18,7 @@ namespace SteamNative
}
}
public struct JobID_t
internal struct JobID_t
{
public ulong Value;
@ -33,7 +33,7 @@ namespace SteamNative
}
}
public struct TxnID_t
internal struct TxnID_t
{
public GID_t Value;
@ -48,7 +48,7 @@ namespace SteamNative
}
}
public struct PackageId_t
internal struct PackageId_t
{
public uint Value;
@ -63,7 +63,7 @@ namespace SteamNative
}
}
public struct BundleId_t
internal struct BundleId_t
{
public uint Value;
@ -78,7 +78,7 @@ namespace SteamNative
}
}
public struct AppId_t
internal struct AppId_t
{
public uint Value;
@ -93,7 +93,7 @@ namespace SteamNative
}
}
public struct AssetClassId_t
internal struct AssetClassId_t
{
public ulong Value;
@ -108,7 +108,7 @@ namespace SteamNative
}
}
public struct PhysicalItemId_t
internal struct PhysicalItemId_t
{
public uint Value;
@ -123,7 +123,7 @@ namespace SteamNative
}
}
public struct DepotId_t
internal struct DepotId_t
{
public uint Value;
@ -138,7 +138,7 @@ namespace SteamNative
}
}
public struct RTime32
internal struct RTime32
{
public uint Value;
@ -153,7 +153,7 @@ namespace SteamNative
}
}
public struct CellID_t
internal struct CellID_t
{
public uint Value;
@ -168,7 +168,7 @@ namespace SteamNative
}
}
public struct SteamAPICall_t
internal struct SteamAPICall_t
{
public ulong Value;
@ -183,7 +183,7 @@ namespace SteamNative
}
}
public struct AccountID_t
internal struct AccountID_t
{
public uint Value;
@ -198,7 +198,7 @@ namespace SteamNative
}
}
public struct PartnerId_t
internal struct PartnerId_t
{
public uint Value;
@ -213,7 +213,7 @@ namespace SteamNative
}
}
public struct ManifestId_t
internal struct ManifestId_t
{
public ulong Value;
@ -228,7 +228,7 @@ namespace SteamNative
}
}
public struct HAuthTicket
internal struct HAuthTicket
{
public uint Value;
@ -243,7 +243,7 @@ namespace SteamNative
}
}
public struct BREAKPAD_HANDLE
internal struct BREAKPAD_HANDLE
{
public IntPtr Value;
@ -258,7 +258,7 @@ namespace SteamNative
}
}
public struct HSteamPipe
internal struct HSteamPipe
{
public int Value;
@ -273,7 +273,7 @@ namespace SteamNative
}
}
public struct HSteamUser
internal struct HSteamUser
{
public int Value;
@ -288,7 +288,7 @@ namespace SteamNative
}
}
public struct FriendsGroupID_t
internal struct FriendsGroupID_t
{
public short Value;
@ -303,7 +303,7 @@ namespace SteamNative
}
}
public struct HServerListRequest
internal struct HServerListRequest
{
public IntPtr Value;
@ -318,7 +318,7 @@ namespace SteamNative
}
}
public struct HServerQuery
internal struct HServerQuery
{
public int Value;
@ -333,7 +333,7 @@ namespace SteamNative
}
}
public struct UGCHandle_t
internal struct UGCHandle_t
{
public ulong Value;
@ -348,7 +348,7 @@ namespace SteamNative
}
}
public struct PublishedFileUpdateHandle_t
internal struct PublishedFileUpdateHandle_t
{
public ulong Value;
@ -363,7 +363,7 @@ namespace SteamNative
}
}
public struct PublishedFileId_t
internal struct PublishedFileId_t
{
public ulong Value;
@ -378,7 +378,7 @@ namespace SteamNative
}
}
public struct UGCFileWriteStreamHandle_t
internal struct UGCFileWriteStreamHandle_t
{
public ulong Value;
@ -393,7 +393,7 @@ namespace SteamNative
}
}
public struct SteamLeaderboard_t
internal struct SteamLeaderboard_t
{
public ulong Value;
@ -408,7 +408,7 @@ namespace SteamNative
}
}
public struct SteamLeaderboardEntries_t
internal struct SteamLeaderboardEntries_t
{
public ulong Value;
@ -423,7 +423,7 @@ namespace SteamNative
}
}
public struct SNetSocket_t
internal struct SNetSocket_t
{
public uint Value;
@ -438,7 +438,7 @@ namespace SteamNative
}
}
public struct SNetListenSocket_t
internal struct SNetListenSocket_t
{
public uint Value;
@ -453,7 +453,7 @@ namespace SteamNative
}
}
public struct ScreenshotHandle
internal struct ScreenshotHandle
{
public uint Value;
@ -468,7 +468,7 @@ namespace SteamNative
}
}
public struct HTTPRequestHandle
internal struct HTTPRequestHandle
{
public uint Value;
@ -483,7 +483,7 @@ namespace SteamNative
}
}
public struct HTTPCookieContainerHandle
internal struct HTTPCookieContainerHandle
{
public uint Value;
@ -498,7 +498,7 @@ namespace SteamNative
}
}
public struct ClientUnifiedMessageHandle
internal struct ClientUnifiedMessageHandle
{
public ulong Value;
@ -513,7 +513,7 @@ namespace SteamNative
}
}
public struct ControllerHandle_t
internal struct ControllerHandle_t
{
public ulong Value;
@ -528,7 +528,7 @@ namespace SteamNative
}
}
public struct ControllerActionSetHandle_t
internal struct ControllerActionSetHandle_t
{
public ulong Value;
@ -543,7 +543,7 @@ namespace SteamNative
}
}
public struct ControllerDigitalActionHandle_t
internal struct ControllerDigitalActionHandle_t
{
public ulong Value;
@ -558,7 +558,7 @@ namespace SteamNative
}
}
public struct ControllerAnalogActionHandle_t
internal struct ControllerAnalogActionHandle_t
{
public ulong Value;
@ -573,7 +573,7 @@ namespace SteamNative
}
}
public struct UGCQueryHandle_t
internal struct UGCQueryHandle_t
{
public ulong Value;
@ -588,7 +588,7 @@ namespace SteamNative
}
}
public struct UGCUpdateHandle_t
internal struct UGCUpdateHandle_t
{
public ulong Value;
@ -603,7 +603,7 @@ namespace SteamNative
}
}
public struct HHTMLBrowser
internal struct HHTMLBrowser
{
public uint Value;
@ -618,7 +618,7 @@ namespace SteamNative
}
}
public struct SteamItemInstanceID_t
internal struct SteamItemInstanceID_t
{
public ulong Value;
@ -633,7 +633,7 @@ namespace SteamNative
}
}
public struct SteamItemDef_t
internal struct SteamItemDef_t
{
public int Value;
@ -648,7 +648,7 @@ namespace SteamNative
}
}
public struct SteamInventoryResult_t
internal struct SteamInventoryResult_t
{
public int Value;
@ -663,7 +663,7 @@ namespace SteamNative
}
}
public struct CGameID
internal struct CGameID
{
public ulong Value;
@ -678,7 +678,7 @@ namespace SteamNative
}
}
public struct CSteamID
internal struct CSteamID
{
public ulong Value;

View File

@ -0,0 +1,551 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Facepunch.Steamworks</name>
</assembly>
<members>
<member name="P:Facepunch.Steamworks.BaseSteamworks.AppId">
<summary>
Current running program's AppId
</summary>
</member>
<member name="F:Facepunch.Steamworks.BaseSteamworks.OnMessage">
<summary>
Called with a message from Steam
</summary>
</member>
<member name="T:Facepunch.Steamworks.Inventory.Item">
<summary>
An item in your inventory.
</summary>
</member>
<member name="F:Facepunch.Steamworks.Inventory.Item.Definition">
<summary>
Careful, this might not be available. Especially on a game server.
</summary>
</member>
<member name="F:Facepunch.Steamworks.Inventory.OnUpdate">
<summary>
Called when the local client's items are first retrieved, and when they change.
Obviously not called on the server.
</summary>
</member>
<member name="F:Facepunch.Steamworks.Inventory.Items">
<summary>
A list of items owned by this user. You should call Refresh() before trying to access this,
and then wait until it's non null or listen to OnUpdate to find out immediately when it's populated.
</summary>
</member>
<member name="F:Facepunch.Steamworks.Inventory.SerializedItems">
<summary>
You can send this data to a server, or another player who can then deserialize it
and get a verified list of items.
</summary>
</member>
<member name="F:Facepunch.Steamworks.Inventory.SerializedExpireTime">
<summary>
Serialized data exprires after an hour. This is the time the value in SerializedItems will expire.
</summary>
</member>
<member name="M:Facepunch.Steamworks.Inventory.PlaytimeHeartbeat">
<summary>
Call this at least every two minutes, every frame doesn't hurt.
You should call it when you consider it active play time.
IE - your player is alive, and playing.
Don't stress on it too much tho cuz it's super hijackable anyway.
</summary>
</member>
<member name="M:Facepunch.Steamworks.Inventory.Refresh">
<summary>
Call this to retrieve the items.
Note that if this has already been called it won't
trigger a call to OnUpdate unless the items have changed
</summary>
</member>
<member name="M:Facepunch.Steamworks.Inventory.CreateDefinition(System.Int32)">
<summary>
Some definitions aren't sent to the client, and all aren't available on the server.
Manually getting a Definition here lets you call functions on those definitions.
</summary>
</member>
<member name="M:Facepunch.Steamworks.Inventory.Update">
<summary>
Called every frame
</summary>
</member>
<member name="M:Facepunch.Steamworks.Inventory.UpdateLocalRequest">
<summary>
If we have a local player request process it.
</summary>
</member>
<member name="F:Facepunch.Steamworks.Inventory.Definitions">
<summary>
A list of items defined for this app.
This should be immediately populated and available.
</summary>
</member>
<member name="M:Facepunch.Steamworks.Inventory.PriceCategoryToFloat(System.String)">
<summary>
Utility, given a "1;VLV250" string, convert it to a 2.5
</summary>
</member>
<member name="M:Facepunch.Steamworks.Inventory.FindDefinition(System.Int32)">
<summary>
You really need me to explain what this does?
Use your brains.
</summary>
</member>
<member name="T:Facepunch.Steamworks.Inventory.Definition">
<summary>
An item definition. This describes an item in your Steam inventory, but is
not unique to that item. For example, this might be a tshirt, but you might be able to own
multiple tshirts.
</summary>
</member>
<member name="M:Facepunch.Steamworks.Inventory.Definition.SetProperty(System.String,System.String)">
<summary>
If you're manually occupying the Definition (because maybe you're on a server
and want to hack around the fact that definitions aren't presented to you),
you can use this to set propertis.
</summary>
</member>
<member name="M:Facepunch.Steamworks.Inventory.Definition.TriggerItemDrop">
<summary>
Trigger an item drop. Call this when it's a good time to award
an item drop to a player. This won't automatically result in giving
an item to a player. Just call it every minute or so, or on launch.
ItemDefinition is usually a generator
</summary>
</member>
<member name="F:Facepunch.Steamworks.Networking.SendType.Unreliable">
<summary>
Basic UDP send. Packets can't be bigger than 1200 bytes (your typical MTU size). Can be lost, or arrive out of order (rare).
The sending API does have some knowledge of the underlying connection, so if there is no NAT-traversal accomplished or
there is a recognized adjustment happening on the connection, the packet will be batched until the connection is open again.
</summary>
</member>
<member name="F:Facepunch.Steamworks.Networking.SendType.UnreliableNoDelay">
<summary>
As above, but if the underlying p2p connection isn't yet established the packet will just be thrown away. Using this on the first
packet sent to a remote host almost guarantees the packet will be dropped.
This is only really useful for kinds of data that should never buffer up, i.e. voice payload packets
</summary>
</member>
<!-- Badly formed XML comment ignored for member "F:Facepunch.Steamworks.Networking.SendType.Reliable" -->
<member name="F:Facepunch.Steamworks.Networking.SendType.ReliableWithBuffering">
<summary>
As above, but applies the Nagle algorithm to the send - sends will accumulate
until the current MTU size (typically ~1200 bytes, but can change) or ~200ms has passed (Nagle algorithm).
Useful if you want to send a set of smaller messages but have the coalesced into a single packet
Since the reliable stream is all ordered, you can do several small message sends with k_EP2PSendReliableWithBuffering and then
do a normal k_EP2PSendReliable to force all the buffered data to be sent.
</summary>
</member>
<member name="P:Facepunch.Steamworks.Client.Username">
<summary>
Current user's Username
</summary>
</member>
<member name="P:Facepunch.Steamworks.Client.SteamId">
<summary>
Current user's SteamId
</summary>
</member>
<member name="P:Facepunch.Steamworks.Client.BetaName">
<summary>
Current Beta name, if ser
</summary>
</member>
<member name="M:Facepunch.Steamworks.Client.Update">
<summary>
Should be called at least once every frame
</summary>
</member>
<member name="M:Facepunch.Steamworks.ServerList.History">
<summary>
History filters don't seem to work, so we don't bother.
You should apply them post process'dly
</summary>
</member>
<member name="M:Facepunch.Steamworks.ServerList.Favourites">
<summary>
Favourite filters don't seem to work, so we don't bother.
You should apply them post process'dly
</summary>
</member>
<member name="F:Facepunch.Steamworks.ServerList.Request.Responded">
<summary>
A list of servers that responded. If you're only interested in servers that responded since you
last updated, then simply clear this list.
</summary>
</member>
<member name="F:Facepunch.Steamworks.ServerList.Request.Unresponsive">
<summary>
A list of servers that were in the master list but didn't respond.
</summary>
</member>
<member name="F:Facepunch.Steamworks.ServerList.Request.Finished">
<summary>
True when we have finished
</summary>
</member>
<member name="M:Facepunch.Steamworks.ServerList.Request.Dispose">
<summary>
Disposing will end the query
</summary>
</member>
<member name="F:Facepunch.Steamworks.ServerList.Server.OnReceivedRules">
<summary>
Callback when rules are receieved.
The bool is true if server responded properly.
</summary>
</member>
<member name="F:Facepunch.Steamworks.ServerList.Server.Rules">
<summary>
List of server rules. Use HasRules to see if this is safe to access.
</summary>
</member>
<member name="P:Facepunch.Steamworks.ServerList.Server.HasRules">
<summary>
Returns true if this server has rules
</summary>
</member>
<member name="M:Facepunch.Steamworks.ServerList.Server.FetchRules">
<summary>
Populates Rules for this server
</summary>
</member>
<member name="M:Facepunch.Steamworks.Auth.Ticket.Cancel">
<summary>
Cancels a ticket.
You should cancel your ticket when you close the game or leave a server.
</summary>
</member>
<member name="M:Facepunch.Steamworks.Auth.GetAuthSessionTicket">
<summary>
Creates an auth ticket.
Which you can send to a server to authenticate that you are who you say you are.
</summary>
</member>
<member name="P:Facepunch.Steamworks.App.BuildId">
<summary>
Returns the current BuildId of the game.
This is pretty useless, as it isn't guarenteed to return
the build id you're playing, or the latest build id.
</summary>
</member>
<member name="P:Facepunch.Steamworks.SteamFriend.Id">
<summary>
Steam Id
</summary>
</member>
<member name="P:Facepunch.Steamworks.SteamFriend.IsBlocked">
<summary>
Return true if blocked
</summary>
</member>
<member name="P:Facepunch.Steamworks.SteamFriend.IsFriend">
<summary>
Return true if is a friend. Returns false if blocked, request etc.
</summary>
</member>
<member name="F:Facepunch.Steamworks.SteamFriend.Name">
<summary>
Their current display name
</summary>
</member>
<member name="P:Facepunch.Steamworks.SteamFriend.IsOnline">
<summary>
Returns true if this friend is online
</summary>
</member>
<member name="P:Facepunch.Steamworks.SteamFriend.IsPlayingThisGame">
<summary>
Returns true if this friend is online and playing this game
</summary>
</member>
<member name="P:Facepunch.Steamworks.SteamFriend.IsPlaying">
<summary>
Returns true if this friend is online and playing this game
</summary>
</member>
<member name="P:Facepunch.Steamworks.SteamFriend.CurrentAppId">
<summary>
The AppId this guy is playing
</summary>
</member>
<member name="P:Facepunch.Steamworks.Friends.All">
<summary>
Returns all friends, even blocked, ignored, friend requests etc
</summary>
</member>
<member name="F:Facepunch.Steamworks.Friends.AvatarSize.Small">
<summary>
Should be 32x32 - but make sure to check!
</summary>
</member>
<member name="F:Facepunch.Steamworks.Friends.AvatarSize.Medium">
<summary>
Should be 64x64 - but make sure to check!
</summary>
</member>
<member name="F:Facepunch.Steamworks.Friends.AvatarSize.Large">
<summary>
Should be 184x184 - but make sure to check!
</summary>
</member>
<member name="P:Facepunch.Steamworks.Image.IsError">
<summary>
Return true if this image couldn't be loaded for some reason
</summary>
</member>
<member name="P:Facepunch.Steamworks.Voice.OptimalSampleRate">
<summary>
Returns the optimal sample rate for voice - according to Steam
</summary>
</member>
<member name="P:Facepunch.Steamworks.Voice.WantsRecording">
<summary>
If set to true we are listening to the mic.
You should usually toggle this with the press of a key for push to talk.
</summary>
</member>
<member name="P:Facepunch.Steamworks.Voice.LastVoiceRecordTime">
<summary>
The last time voice was detected, recorded
</summary>
</member>
<member name="F:Facepunch.Steamworks.Voice.DesiredSampleRate">
<summary>
If set we will capture the audio at this rate. If unset (set to 0) will capture at OptimalSampleRate
</summary>
</member>
<member name="P:Facepunch.Steamworks.Config.UseThisCall">
<summary>
Some platforms allow/need CallingConvention.ThisCall. If you're crashing with argument null
errors on certain platforms, try flipping this to true.
I owe this logic to Riley Labrecque's hard work on Steamworks.net - I don't have the knowledge
or patience to find this shit on my own, so massive thanks to him. And also massive thanks to him
for releasing his shit open source under the MIT license so we can all learn and iterate.
</summary>
</member>
<member name="M:Facepunch.Steamworks.Config.ForcePlatform(SteamNative.OperatingSystem,SteamNative.Architecture)">
<summary>
You can force the platform to a particular one here.
This is useful if you're on OSX because some versions of mono don't have a way
to tell which platform we're running
</summary>
</member>
<member name="M:Facepunch.Steamworks.Workshop.EditItem(System.UInt64)">
<summary>
Returns a class representing this ItemId. We don't query
item name, description etc. We don't verify that item exists.
We don't verify that this item belongs to your app.
</summary>
</member>
<member name="F:Facepunch.Steamworks.Workshop.QueryType.Items">
<summary>
Both MicrotransactionItems and subscriptionItems
</summary>
</member>
<member name="F:Facepunch.Steamworks.Workshop.QueryType.MicrotransactionItems">
<summary>
Workshop item that is meant to be voted on for the purpose of selling in-game
</summary>
</member>
<member name="F:Facepunch.Steamworks.Workshop.QueryType.SubscriptionItems">
<summary>
normal Workshop item that can be subscribed to
</summary>
</member>
<member name="P:Facepunch.Steamworks.Workshop.Item.Url">
<summary>
Return a URL to view this item online
</summary>
</member>
<member name="P:Facepunch.Steamworks.Workshop.Query.AppId">
<summary>
The AppId you're querying. This defaults to this appid.
</summary>
</member>
<member name="P:Facepunch.Steamworks.Workshop.Query.UploaderAppId">
<summary>
The AppId of the app used to upload the item. This defaults to 0
which means all/any.
</summary>
</member>
<member name="P:Facepunch.Steamworks.Workshop.Query.Page">
<summary>
Page starts at 1 !!
</summary>
</member>
<member name="P:Facepunch.Steamworks.Workshop.Query.RequireTags">
<summary>
Only return items with these tags
</summary>
</member>
<member name="P:Facepunch.Steamworks.Workshop.Query.RequireAllTags">
<summary>
If true, return items that have all RequireTags
If false, return items that have any tags in RequireTags
</summary>
</member>
<member name="P:Facepunch.Steamworks.Workshop.Query.ExcludeTags">
<summary>
Don't return any items with this tag
</summary>
</member>
<member name="P:Facepunch.Steamworks.Workshop.Query.FileId">
<summary>
If you're querying for a particular file or files, add them to this.
</summary>
</member>
<member name="M:Facepunch.Steamworks.Workshop.Query.Block">
<summary>
Don't call this in production!
</summary>
</member>
<member name="P:Facepunch.Steamworks.Server.Username">
<summary>
Current user's Username
</summary>
</member>
<member name="P:Facepunch.Steamworks.Server.SteamId">
<summary>
Current user's SteamId
</summary>
</member>
<member name="M:Facepunch.Steamworks.Server.#ctor(System.UInt32,System.UInt32,System.UInt16,System.Boolean,System.String)">
<summary>
Initialize a server - query port will use the same as GamePort (MASTERSERVERUPDATERPORT_USEGAMESOCKETSHARE)
</summary>
</member>
<member name="M:Facepunch.Steamworks.Server.Update">
<summary>
Should be called at least once every frame
</summary>
</member>
<member name="P:Facepunch.Steamworks.Server.MaxPlayers">
<summary>
Gets or sets the current MaxPlayers.
This doesn't enforce any kind of limit, it just updates the master server.
</summary>
</member>
<member name="P:Facepunch.Steamworks.Server.BotCount">
<summary>
Gets or sets the current BotCount.
This doesn't enforce any kind of limit, it just updates the master server.
</summary>
</member>
<member name="P:Facepunch.Steamworks.Server.MapName">
<summary>
Gets or sets the current Map Name.
</summary>
</member>
<member name="P:Facepunch.Steamworks.Server.ModDir">
<summary>
Gets or sets the current ModDir
</summary>
</member>
<member name="P:Facepunch.Steamworks.Server.Product">
<summary>
Gets or sets the current Product
</summary>
</member>
<member name="P:Facepunch.Steamworks.Server.GameDescription">
<summary>
Gets or sets the current Product
</summary>
</member>
<member name="P:Facepunch.Steamworks.Server.ServerName">
<summary>
Gets or sets the current ServerName
</summary>
</member>
<member name="P:Facepunch.Steamworks.Server.Passworded">
<summary>
Gets or sets the current Passworded
</summary>
</member>
<member name="P:Facepunch.Steamworks.Server.GameTags">
<summary>
Gets or sets the current GameTags
</summary>
</member>
<member name="M:Facepunch.Steamworks.Server.LogOnAnonymous">
<summary>
Log onto Steam anonymously
</summary>
</member>
<member name="M:Facepunch.Steamworks.Server.SetKey(System.String,System.String)">
<summary>
Sets a Key Value
</summary>
</member>
<member name="F:Facepunch.Steamworks.ServerAuth.OnAuthChange">
<summary>
Steamid, Ownerid, Status
</summary>
</member>
<member name="T:Facepunch.Steamworks.ServerAuth.Status">
<summary>
Steam authetication statuses
</summary>
</member>
<member name="M:Facepunch.Steamworks.ServerAuth.StartSession(System.Byte[],System.UInt64)">
<summary>
Start authorizing a ticket. This user isn't authorized yet. Wait for a call to OnAuthChange.
</summary>
</member>
<member name="M:Facepunch.Steamworks.ServerAuth.EndSession(System.UInt64)">
<summary>
Forget this guy. They're no longer in the game.
</summary>
</member>
<member name="M:Facepunch.Steamworks.ServerQuery.GetOutgoingPacket(Facepunch.Steamworks.ServerQuery.Packet@)">
<summary>
If true, Steam wants to send a packet. You should respond by sending
this packet in an unconnected way to the returned Address and Port
</summary>
<param name="packet"></param>
<returns></returns>
</member>
<member name="M:Facepunch.Steamworks.ServerQuery.Handle(System.Byte[],System.Int32,System.UInt32,System.UInt16)">
<summary>
We have received a server query on our game port. Pass it to Steam to handle.
</summary>
</member>
<member name="M:Facepunch.Steamworks.ServerStats.Refresh(System.UInt64)">
<summary>
Retrieve the stats for this user
</summary>
</member>
<member name="M:Facepunch.Steamworks.ServerStats.Set(System.UInt64,System.String,System.Int32)">
<summary>
Set the named statistic for this user
</summary>
</member>
<member name="M:Facepunch.Steamworks.ServerStats.Set(System.UInt64,System.String,System.Single)">
<summary>
Set the named statistic for this user
</summary>
</member>
<member name="M:Facepunch.Steamworks.ServerStats.GetInt(System.UInt64,System.String,System.Int32)">
<summary>
Set the named stat for this user
</summary>
</member>
<member name="M:Facepunch.Steamworks.ServerStats.GetFloat(System.UInt64,System.String,System.Single)">
<summary>
Set the named stat for this user
</summary>
</member>
<member name="P:SteamNative.Platform.PackSmall">
<summary>
We're only Pack = 8 on Windows
</summary>
</member>
</members>
</doc>

View File

@ -47,7 +47,7 @@ namespace Generator
WriteLine( "//" );
WriteLine( "// Constructor decides which implementation to use based on current platform" );
WriteLine( "//" );
StartBlock( $"public {InterfaceNameToClass( classname )}( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )" );
StartBlock( $"internal {InterfaceNameToClass( classname )}( Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer )" );
{
WriteLine( "this.steamworks = steamworks;" );
WriteLine( "" );

View File

@ -10,17 +10,17 @@ namespace Generator
{
private void Constants()
{
StartBlock( "public static class CallbackIdentifiers" );
StartBlock( "internal static class CallbackIdentifiers" );
foreach ( var o in def.CallbackIds )
{
WriteLine( $"public const int {o.Key} = {o.Value};" );
}
EndBlock();
StartBlock( "public static class Defines" );
StartBlock( "internal static class Defines" );
foreach ( var o in def.Defines )
{
WriteLine( $"public const string {o.Key} = \"{o.Value}\";" );
WriteLine( $"internal const string {o.Key} = \"{o.Value}\";" );
}
EndBlock();
}

View File

@ -25,7 +25,7 @@ namespace Generator
if ( name[0] == 'E' )
name = name.Substring( 1 );
StartBlock( $"public enum {name} : int" );
StartBlock( $"internal enum {name} : int" );
{
//
// If all the enum values start with the same

View File

@ -15,7 +15,7 @@ namespace Generator
{
StartBlock( $"internal static partial class Platform" );
{
StartBlock( $"public interface Interface : IDisposable" );
StartBlock( $"internal interface Interface : IDisposable" );
{
WriteLine( "// Implementation should return true if _ptr is non null" );
WriteLine( "bool IsValid { get; } " );

View File

@ -16,7 +16,7 @@ namespace Generator
StartBlock( $"internal static partial class Platform" );
{
StartBlock( $"public class {type} : Interface" );
StartBlock( $"internal class {type} : Interface" );
{
WriteLine( "internal IntPtr _ptr;" );
WriteLine( "public bool IsValid { get{ return _ptr != null; } }" );
@ -25,7 +25,7 @@ namespace Generator
WriteLine( "//" );
WriteLine( "// Constructor sets pointer to native class" );
WriteLine( "//" );
StartBlock( $"public {type}( IntPtr pointer )" );
StartBlock( $"internal {type}( IntPtr pointer )" );
{
WriteLine( "_ptr = pointer;" );
}

View File

@ -49,7 +49,7 @@ namespace Generator
// Main struct
//
WriteLine( $"[StructLayout( LayoutKind.Sequential, Pack = {defaultPack} )]" );
StartBlock( $"public struct {c.Name}" );
StartBlock( $"internal struct {c.Name}" );
{
if ( !string.IsNullOrEmpty( c.CallbackId ) )
{
@ -81,7 +81,7 @@ namespace Generator
//
WriteLine();
WriteLine( $"[StructLayout( LayoutKind.Sequential, Pack = {defaultPack} )]" );
StartBlock( $"public struct PackSmall" );
StartBlock( $"internal struct PackSmall" );
{
StructFields( c.Fields );

View File

@ -43,7 +43,7 @@ namespace Generator
if ( SkipTypesStartingWith.Any( x => o.Name.StartsWith( x ) ) )
continue;
StartBlock( $"public struct {o.Name}" );
StartBlock( $"internal struct {o.Name}" );
{
WriteLine( $"public {ToManagedType( o.Type )} Value;" );
WriteLine();