This commit is contained in:
Riley Labrecque
2015-07-30 11:36:41 +03:00
parent 6f108572fd
commit 6aa3c6bc27
119 changed files with 1271 additions and 998 deletions
+12
View File
@@ -11,6 +11,18 @@ website at: http://partner.steamgames.com
Revision History: Revision History:
----------------------------------------------------------------
v1.34 28th July 2015
----------------------------------------------------------------
ISteamUGC:
* Added ability to set and retrieve key-value tags on an item. There can be multiple values for each key.
* Added ability to query all UGC that have matching key-value tags.
* Added ability to specify a title and description on an item for a specific language (defaults to English).
* Added ability to query for items and return the title and description in a preferred language.
* Added ability to vote on an item and retrieve the current user's vote on a given item (duplicated from ISteamRemoteStorage).
---------------------------------------------------------------- ----------------------------------------------------------------
v1.33 6th May 2015 v1.33 6th May 2015
---------------------------------------------------------------- ----------------------------------------------------------------
BIN
View File
Binary file not shown.
+4 -4
View File
@@ -126,7 +126,7 @@ enum EShaderSection
}; };
char *g_shaderSectionMarkers[] = // match ordering of enum const char *g_shaderSectionMarkers[] = // match ordering of enum
{ {
"!!ARBvp", "-!!ARBvp", // enabled and disabled markers. so you can have multiple flavors in a blob and activate the one you want. "!!ARBvp", "-!!ARBvp", // enabled and disabled markers. so you can have multiple flavors in a blob and activate the one you want.
"!!ARBfp", "-!!ARBfp", "!!ARBfp", "-!!ARBfp",
@@ -510,8 +510,8 @@ struct GLMShaderLimitDesc
{ {
GLenum m_valueEnum; GLenum m_valueEnum;
GLenum m_limitEnum; GLenum m_limitEnum;
char *m_debugName; const char *m_debugName;
char m_flags; const char m_flags;
// m_flags - 0x01 for VP, 0x02 for FP, or set both if applicable to both // m_flags - 0x01 for VP, 0x02 for FP, or set both if applicable to both
}; };
@@ -552,7 +552,7 @@ GLMShaderLimitDesc g_glmShaderLimitDescs[] =
bool CGLMProgram::CheckValidity( EGLMProgramLang lang ) bool CGLMProgram::CheckValidity( EGLMProgramLang lang )
{ {
static char *targnames[] = { "vertex", "fragment" }; static const char *targnames[] = { "vertex", "fragment" };
switch(lang) switch(lang)
{ {
+2 -2
View File
@@ -564,7 +564,7 @@ GLMTexLayout *CGLMTexLayoutTable::NewLayoutRef( GLMTexLayoutKey *key )
// "target, format, +/- mips, base size" // "target, format, +/- mips, base size"
char scratch[1024]; char scratch[1024];
char *targetname; const char *targetname;
switch( key->m_texGLTarget ) switch( key->m_texGLTarget )
{ {
case GL_TEXTURE_2D: targetname = "2D "; break; case GL_TEXTURE_2D: targetname = "2D "; break;
@@ -634,7 +634,7 @@ void CGLMTexLayoutTable::DumpStats( )
#endif #endif
CGLMTex::CGLMTex( GLMContext *ctx, GLMTexLayout *layout, GLMTexSamplingParams *sampling, char *debugLabel ) CGLMTex::CGLMTex( GLMContext *ctx, GLMTexLayout *layout, GLMTexSamplingParams *sampling, const char *debugLabel )
{ {
// caller has responsibility to make 'ctx' current, but we check to be sure. // caller has responsibility to make 'ctx' current, but we check to be sure.
ctx->CheckCurrent(); ctx->CheckCurrent();
+2 -2
View File
@@ -30,7 +30,7 @@ class IDirect3DSurface9;
struct GLMTexFormatDesc struct GLMTexFormatDesc
{ {
char *m_formatSummary; // for debug visibility const char *m_formatSummary; // for debug visibility
D3DFORMAT m_d3dFormat; // what D3D knows it as; see public/bitmap/imageformat.h D3DFORMAT m_d3dFormat; // what D3D knows it as; see public/bitmap/imageformat.h
@@ -240,7 +240,7 @@ protected:
friend class IDirect3DCubeTexture9; friend class IDirect3DCubeTexture9;
friend class IDirect3DVolumeTexture9; friend class IDirect3DVolumeTexture9;
CGLMTex( GLMContext *ctx, GLMTexLayout *layout, GLMTexSamplingParams *sampling, char *debugLabel = NULL ); CGLMTex( GLMContext *ctx, GLMTexLayout *layout, GLMTexSamplingParams *sampling, const char *debugLabel = NULL );
~CGLMTex( ); ~CGLMTex( );
int CalcSliceIndex( int face, int mip ); int CalcSliceIndex( int face, int mip );
+6 -6
View File
@@ -29,11 +29,11 @@ void Error( const char *fmt, ... )
#define Debugger() Assert(0) #define Debugger() Assert(0)
#endif #endif
static char *g_szVecZeros[] = { NULL, "0.0", "vec2( 0.0, 0.0 )", "vec3( 0.0, 0.0, 0.0 )", "vec4( 0.0, 0.0, 0.0, 0.0 )" }; static const char *g_szVecZeros[] = { NULL, "0.0", "vec2( 0.0, 0.0 )", "vec3( 0.0, 0.0, 0.0 )", "vec4( 0.0, 0.0, 0.0, 0.0 )" };
static char *g_szVecOnes[] = { NULL, "1.0", "vec2( 1.0, 1.0 )", "vec3( 1.0, 1.0, 1.0 )", "vec4( 1.0, 1.0, 1.0, 1.0 )" }; static const char *g_szVecOnes[] = { NULL, "1.0", "vec2( 1.0, 1.0 )", "vec3( 1.0, 1.0, 1.0 )", "vec4( 1.0, 1.0, 1.0, 1.0 )" };
static char *g_szDefaultSwizzle = "xyzw"; static const char *g_szDefaultSwizzle = "xyzw";
static char *g_szDefaultSwizzleStrings[] = { "x", "y", "z", "w" }; static const char *g_szDefaultSwizzleStrings[] = { "x", "y", "z", "w" };
static char *g_szSamplerStrings[] = { "2D", "CUBE", "3D" }; static const char *g_szSamplerStrings[] = { "2D", "CUBE", "3D" };
static const char *g_pAtomicTempVarName = "atomic_temp_var"; static const char *g_pAtomicTempVarName = "atomic_temp_var";
static const char *g_pTangentAttributeName = "g_tangent"; static const char *g_pTangentAttributeName = "g_tangent";
@@ -3191,7 +3191,7 @@ int D3DToGL::TranslateShader( uint32* code, CUtlBuffer *pBufDisassembledCode, bo
} }
} }
char *pTempVarStr = "TEMP"; const char *pTempVarStr = "TEMP";
if ( m_bGLSL ) if ( m_bGLSL )
{ {
pTempVarStr = "vec4"; pTempVarStr = "vec4";
+14 -15
View File
@@ -3076,11 +3076,11 @@ HRESULT IDirect3DDevice9::CreatePixelShader(CONST DWORD* pFunction,IDirect3DPixe
//------ find the frag program metadata and extract it.. note this takes place even for passthrough shaders, so they need to supply the needed string too //------ find the frag program metadata and extract it.. note this takes place even for passthrough shaders, so they need to supply the needed string too
// find the highwater mark // find the highwater mark
char *highWaterPrefix = "//HIGHWATER-"; // try to arrange this so it can work with pure GLSL if needed const char *highWaterPrefix = "//HIGHWATER-"; // try to arrange this so it can work with pure GLSL if needed
char *highWaterStr = strstr( (char *)transbuf.Base(), highWaterPrefix ); const char *highWaterStr = strstr( (char *)transbuf.Base(), highWaterPrefix );
if (highWaterStr) if (highWaterStr)
{ {
char *highWaterActualData = highWaterStr + strlen( highWaterPrefix ); const char *highWaterActualData = highWaterStr + strlen( highWaterPrefix );
int value = -1; int value = -1;
sscanf( highWaterActualData, "%d", &value ); sscanf( highWaterActualData, "%d", &value );
@@ -3094,7 +3094,7 @@ HRESULT IDirect3DDevice9::CreatePixelShader(CONST DWORD* pFunction,IDirect3DPixe
} }
// find the sampler map // find the sampler map
char *samplerMaskPrefix = "//SAMPLERMASK-"; // try to arrange this so it can work with pure GLSL if needed const char *samplerMaskPrefix = "//SAMPLERMASK-"; // try to arrange this so it can work with pure GLSL if needed
char *samplerMaskStr = strstr( (char *)transbuf.Base(), samplerMaskPrefix ); char *samplerMaskStr = strstr( (char *)transbuf.Base(), samplerMaskPrefix );
if (samplerMaskStr) if (samplerMaskStr)
@@ -3295,11 +3295,11 @@ HRESULT IDirect3DDevice9::CreateVertexShader(CONST DWORD* pFunction, IDirect3DVe
// find the highwater mark.. note this takes place even for passthrough shaders, so they need to supply the needed string too // find the highwater mark.. note this takes place even for passthrough shaders, so they need to supply the needed string too
char *highWaterPrefix = "//HIGHWATER-"; // try to arrange this so it can work with pure GLSL if needed const char *highWaterPrefix = "//HIGHWATER-"; // try to arrange this so it can work with pure GLSL if needed
char *highWaterStr = strstr( (char *)transbuf.Base(), highWaterPrefix ); const char *highWaterStr = strstr( (char *)transbuf.Base(), highWaterPrefix );
if (highWaterStr) if (highWaterStr)
{ {
char *highWaterActualData = highWaterStr + strlen( highWaterPrefix ); const char *highWaterActualData = highWaterStr + strlen( highWaterPrefix );
int value = -1; int value = -1;
sscanf( highWaterActualData, "%d", &value ); sscanf( highWaterActualData, "%d", &value );
@@ -3313,17 +3313,17 @@ HRESULT IDirect3DDevice9::CreateVertexShader(CONST DWORD* pFunction, IDirect3DVe
} }
// find the attrib map.. // find the attrib map..
char *attribMapPrefix = "//ATTRIBMAP-"; // try to arrange this so it can work with pure GLSL if needed const char *attribMapPrefix = "//ATTRIBMAP-"; // try to arrange this so it can work with pure GLSL if needed
char *textbase = (char *)transbuf.Base(); const char *textbase = (char *)transbuf.Base();
char *attribMapStr = strstr( textbase, attribMapPrefix ); const char *attribMapStr = strstr( textbase, attribMapPrefix );
if (attribMapStr) if (attribMapStr)
{ {
char *attribMapActualData = attribMapStr + strlen( attribMapPrefix ); const char *attribMapActualData = attribMapStr + strlen( attribMapPrefix );
for( int i=0; i<16; i++) for( int i=0; i<16; i++)
{ {
int value = -1; int value = -1;
char *dataItem = attribMapActualData + (i*3); const char *dataItem = attribMapActualData + (i*3);
sscanf( dataItem, "%02x", &value ); sscanf( dataItem, "%02x", &value );
if (value >=0) if (value >=0)
{ {
@@ -4933,7 +4933,7 @@ HRESULT IDirect3DDevice9::FlushSamplers( uint mask )
if (srgbCapableTex && !renderableTex) if (srgbCapableTex && !renderableTex)
{ {
char *texname = m_textures[index]->m_tex->m_debugLabel; const char *texname = m_textures[index]->m_tex->m_debugLabel;
if (!texname) texname = "-"; if (!texname) texname = "-";
m_textures[index]->m_srgbFlipCount++; m_textures[index]->m_srgbFlipCount++;
@@ -4961,8 +4961,7 @@ HRESULT IDirect3DDevice9::FlushSamplers( uint mask )
if ( print_it ) if ( print_it )
{ {
char *formatStr; const char *formatStr = "srgb change (samp=%d): tex '%-30s' %08x %s (srgb=%d, %d times)";
formatStr = "srgb change (samp=%d): tex '%-30s' %08x %s (srgb=%d, %d times)";
if (strlen(texname) >= 30) if (strlen(texname) >= 30)
{ {
+2 -2
View File
@@ -173,7 +173,7 @@ typedef void* VD3DHANDLE;
#endif #endif
}; };
void AddRef( int which=0, char *comment = NULL ) void AddRef( int which=0, const char *comment = NULL )
{ {
Assert( which >= 0 ); Assert( which >= 0 );
Assert( which < 2 ); Assert( which < 2 );
@@ -191,7 +191,7 @@ typedef void* VD3DHANDLE;
#endif #endif
}; };
ULONG __stdcall Release( int which=0, char *comment = NULL ) ULONG __stdcall Release( int which=0, const char *comment = NULL )
{ {
Assert( which >= 0 ); Assert( which >= 0 );
Assert( which < 2 ); Assert( which < 2 );
+8 -8
View File
@@ -506,7 +506,7 @@ void DefaultSamplingParams( GLMTexSamplingParams *samp, GLMTexLayoutKey *key )
samp->m_srgb = false; samp->m_srgb = false;
} }
CGLMTex *GLMContext::NewTex( GLMTexLayoutKey *key, char *debugLabel ) CGLMTex *GLMContext::NewTex( GLMTexLayoutKey *key, const char *debugLabel )
{ {
//hushed GLM_FUNC; //hushed GLM_FUNC;
MakeCurrent(); MakeCurrent();
@@ -3569,7 +3569,7 @@ enum EGLMVertDumpMode
eLastDumpVertsMode eLastDumpVertsMode
}; };
char *g_vertDumpModeNames[] = const char *g_vertDumpModeNames[] =
{ {
"noTransformDump", "noTransformDump",
"transformedByViewProj", "transformedByViewProj",
@@ -3691,7 +3691,7 @@ void GLMContext::DebugDump( GLMDebugHookInfo *info, uint options, uint vertDumpM
strcpy( transtemp, "no translation info" ); strcpy( transtemp, "no translation info" );
} }
char *linkpath = "no file link"; const char *linkpath = "no file link";
#if GLMDEBUG && 0 // no editable shader support in example code #if GLMDEBUG && 0 // no editable shader support in example code
linkpath = vp->m_editable->m_mirror->m_path; linkpath = vp->m_editable->m_mirror->m_path;
@@ -3728,7 +3728,7 @@ void GLMContext::DebugDump( GLMDebugHookInfo *info, uint options, uint vertDumpM
strcpy( transtemp, "no translation info" ); strcpy( transtemp, "no translation info" );
} }
char *linkpath = "no file link"; const char *linkpath = "no file link";
#if GLMDEBUG && 0 // no editable shader support in example code #if GLMDEBUG && 0 // no editable shader support in example code
linkpath = fp->m_editable->m_mirror->m_path; linkpath = fp->m_editable->m_mirror->m_path;
@@ -3757,7 +3757,7 @@ void GLMContext::DebugDump( GLMDebugHookInfo *info, uint options, uint vertDumpM
{ {
GLMPRINTF(("-D-")); GLMPRINTF(("-D-"));
GLMPRINTF(("-D- VP parameters" )); GLMPRINTF(("-D- VP parameters" ));
char *label = ""; const char *label = "";
int labelcounter = 0; int labelcounter = 0;
static int vmaskranges[] = { /*18,47,*/ -1,-1 }; static int vmaskranges[] = { /*18,47,*/ -1,-1 };
@@ -4073,7 +4073,7 @@ void GLMContext::DebugDump( GLMDebugHookInfo *info, uint options, uint vertDumpM
{ {
for( int which = 0; which < desc->m_datasize; which++ ) for( int which = 0; which < desc->m_datasize; which++ )
{ {
static char *fieldname = "xyzw"; static const char *fieldname = "xyzw";
switch( desc->m_datatype ) switch( desc->m_datatype )
{ {
case GL_FLOAT: case GL_FLOAT:
@@ -4161,7 +4161,7 @@ void GLMContext::DebugDump( GLMDebugHookInfo *info, uint options, uint vertDumpM
{ {
// if transform dumping requested, and we've reached the actual vert dump phase, do it // if transform dumping requested, and we've reached the actual vert dump phase, do it
float vtxout[4]; float vtxout[4];
char *translabel = NULL; // NULL means no print... const char *translabel = NULL; // NULL means no print...
switch( g_vertDumpMode ) switch( g_vertDumpMode )
{ {
@@ -4276,7 +4276,7 @@ void GLMContext::DebugDump( GLMDebugHookInfo *info, uint options, uint vertDumpM
} }
// here is the table that binds knob numbers to names. change at will. // here is the table that binds knob numbers to names. change at will.
char *g_knobnames[] = const char *g_knobnames[] =
{ {
/*0*/ "dummy", /*0*/ "dummy",
+1 -1
View File
@@ -654,7 +654,7 @@ class GLMContext
// textures // textures
// Lock and Unlock reqs go directly to the tex object // Lock and Unlock reqs go directly to the tex object
CGLMTex *NewTex( GLMTexLayoutKey *key, char *debugLabel=NULL ); CGLMTex *NewTex( GLMTexLayoutKey *key, const char *debugLabel=NULL );
void DelTex( CGLMTex *tex ); void DelTex( CGLMTex *tex );
// options for Blit (replacement for ResolveTex and BlitTex) // options for Blit (replacement for ResolveTex and BlitTex)
+5 -5
View File
@@ -3836,7 +3836,7 @@ void CGLMEditableTextItem::GenMungedText( bool fromMirror )
// resolved. there is no default section for text that doesn't have a marker in front of it. mark it or miss it. // resolved. there is no default section for text that doesn't have a marker in front of it. mark it or miss it.
CGLMTextSectioner::CGLMTextSectioner( char *text, int textLength, char **markers ) CGLMTextSectioner::CGLMTextSectioner( const char *text, int textLength, const char **markers )
{ {
// find lines // find lines
// for each line, see if it starts with a marker // for each line, see if it starts with a marker
@@ -3844,16 +3844,16 @@ CGLMTextSectioner::CGLMTextSectioner( char *text, int textLength, char **markers
GLMTextSection *curSection = NULL; // no current section until we see a marker GLMTextSection *curSection = NULL; // no current section until we see a marker
char *cursor = text; const char *cursor = text;
char *textLimit = text+textLength; const char *textLimit = text+textLength;
int foundMarker; int foundMarker;
char **markerCursor; const char **markerCursor;
while( cursor < textLimit ) while( cursor < textLimit )
{ {
// top of loop. cursor points to start of a line. // top of loop. cursor points to start of a line.
// find the end of the line and keep that handy. // find the end of the line and keep that handy.
char *eol = strchr( cursor, '\n' ); const char *eol = strchr( cursor, '\n' );
int charsInLine = (eol) ? (eol-cursor)+1 : strlen(cursor); int charsInLine = (eol) ? (eol-cursor)+1 : strlen(cursor);
//see if any of the marker strings is located here. //see if any of the marker strings is located here.
+1 -1
View File
@@ -490,7 +490,7 @@ struct GLMTextSection
class CGLMTextSectioner class CGLMTextSectioner
{ {
public: public:
CGLMTextSectioner( char *text, int textSize, char **markers ); // constructor finds all the sections CGLMTextSectioner( const char *text, int textSize, const char **markers ); // constructor finds all the sections
~CGLMTextSectioner( ); ~CGLMTextSectioner( );
int Count( void ); // how many sections found int Count( void ); // how many sections found
+3 -3
View File
@@ -38,7 +38,7 @@ typedef int32 SteamItemDef_t;
enum ESteamItemFlags enum ESteamItemFlags
{ {
// Item status flags - these flags are permenantly attached to specific item instances // Item status flags - these flags are permanently attached to specific item instances
k_ESteamItemNoTrade = 1 << 0, // This item is account-locked and cannot be traded or given away. k_ESteamItemNoTrade = 1 << 0, // This item is account-locked and cannot be traded or given away.
// Action confirmation flags - these flags are set one time only, as part of a result set // Action confirmation flags - these flags are set one time only, as part of a result set
@@ -197,14 +197,14 @@ public:
virtual bool AddPromoItem( SteamInventoryResult_t *pResultHandle, SteamItemDef_t itemDef ) = 0; virtual bool AddPromoItem( SteamInventoryResult_t *pResultHandle, SteamItemDef_t itemDef ) = 0;
virtual bool AddPromoItems( SteamInventoryResult_t *pResultHandle, ARRAY_COUNT(unArrayLength) const SteamItemDef_t *pArrayItemDefs, uint32 unArrayLength ) = 0; virtual bool AddPromoItems( SteamInventoryResult_t *pResultHandle, ARRAY_COUNT(unArrayLength) const SteamItemDef_t *pArrayItemDefs, uint32 unArrayLength ) = 0;
// ConsumeItem() removes items from the inventory, permenantly. They cannot be recovered. // ConsumeItem() removes items from the inventory, permanently. They cannot be recovered.
// Not for the faint of heart - if your game implements item removal at all, a high-friction // Not for the faint of heart - if your game implements item removal at all, a high-friction
// UI confirmation process is highly recommended. Similar to GenerateItems, punArrayQuantity // UI confirmation process is highly recommended. Similar to GenerateItems, punArrayQuantity
// can be NULL or else an array of the same length as pArrayItems which describe the quantity // can be NULL or else an array of the same length as pArrayItems which describe the quantity
// of each item to destroy. ConsumeItem can be restricted to certain item definitions or // of each item to destroy. ConsumeItem can be restricted to certain item definitions or
// fully blocked via the Steamworks website to minimize support/abuse issues such as the // fully blocked via the Steamworks website to minimize support/abuse issues such as the
// clasic "my brother borrowed my laptop and deleted all of my rare items". // clasic "my brother borrowed my laptop and deleted all of my rare items".
METHOD_DESC(ConsumeItem() removes items from the inventory permenantly.) METHOD_DESC(ConsumeItem() removes items from the inventory permanently.)
virtual bool ConsumeItem( SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity ) = 0; virtual bool ConsumeItem( SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity ) = 0;
// ExchangeItems() is an atomic combination of GenerateItems and DestroyItems. It can be // ExchangeItems() is an atomic combination of GenerateItems and DestroyItems. It can be
+18 -16
View File
@@ -88,24 +88,25 @@ enum EWorkshopFileType
{ {
k_EWorkshopFileTypeFirst = 0, k_EWorkshopFileTypeFirst = 0,
k_EWorkshopFileTypeCommunity = 0, k_EWorkshopFileTypeCommunity = 0, // normal Workshop item that can be subscribed to
k_EWorkshopFileTypeMicrotransaction = 1, k_EWorkshopFileTypeMicrotransaction = 1, // Workshop item that is meant to be voted on for the purpose of selling in-game
k_EWorkshopFileTypeCollection = 2, k_EWorkshopFileTypeCollection = 2, // a collection of Workshop or Greenlight items
k_EWorkshopFileTypeArt = 3, k_EWorkshopFileTypeArt = 3, // artwork
k_EWorkshopFileTypeVideo = 4, k_EWorkshopFileTypeVideo = 4, // external video
k_EWorkshopFileTypeScreenshot = 5, k_EWorkshopFileTypeScreenshot = 5, // screenshot
k_EWorkshopFileTypeGame = 6, k_EWorkshopFileTypeGame = 6, // Greenlight game entry
k_EWorkshopFileTypeSoftware = 7, k_EWorkshopFileTypeSoftware = 7, // Greenlight software entry
k_EWorkshopFileTypeConcept = 8, k_EWorkshopFileTypeConcept = 8, // Greenlight concept
k_EWorkshopFileTypeWebGuide = 9, k_EWorkshopFileTypeWebGuide = 9, // Steam web guide
k_EWorkshopFileTypeIntegratedGuide = 10, k_EWorkshopFileTypeIntegratedGuide = 10, // application integrated guide
k_EWorkshopFileTypeMerch = 11, k_EWorkshopFileTypeMerch = 11, // Workshop merchandise meant to be voted on for the purpose of being sold
k_EWorkshopFileTypeControllerBinding = 12, k_EWorkshopFileTypeControllerBinding = 12, // Steam Controller bindings
k_EWorkshopFileTypeSteamworksAccessInvite = 13, k_EWorkshopFileTypeSteamworksAccessInvite = 13, // internal
k_EWorkshopFileTypeSteamVideo = 14, k_EWorkshopFileTypeSteamVideo = 14, // Steam video
k_EWorkshopFileTypeGameManagedItem = 15, // managed completely by the game, not the user, and not shown on the web
// Update k_EWorkshopFileTypeMax if you add values. // Update k_EWorkshopFileTypeMax if you add values.
k_EWorkshopFileTypeMax = 15 k_EWorkshopFileTypeMax = 16
}; };
@@ -114,6 +115,7 @@ enum EWorkshopVote
k_EWorkshopVoteUnvoted = 0, k_EWorkshopVoteUnvoted = 0,
k_EWorkshopVoteFor = 1, k_EWorkshopVoteFor = 1,
k_EWorkshopVoteAgainst = 2, k_EWorkshopVoteAgainst = 2,
k_EWorkshopVoteLater = 3,
}; };
enum EWorkshopFileAction enum EWorkshopFileAction
+36 -1
View File
@@ -45,6 +45,7 @@ enum EUGCMatchingUGCType
k_EUGCMatchingUGCType_IntegratedGuides = 9, k_EUGCMatchingUGCType_IntegratedGuides = 9,
k_EUGCMatchingUGCType_UsableInGame = 10, // ready-to-use items and integrated guides k_EUGCMatchingUGCType_UsableInGame = 10, // ready-to-use items and integrated guides
k_EUGCMatchingUGCType_ControllerBindings = 11, k_EUGCMatchingUGCType_ControllerBindings = 11,
k_EUGCMatchingUGCType_GameManagedItems = 12, // game managed items (not managed by users)
}; };
// Different lists of published UGC for a user. // Different lists of published UGC for a user.
@@ -189,6 +190,8 @@ public:
virtual bool GetQueryUGCStatistic( UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 *pStatValue ) = 0; virtual bool GetQueryUGCStatistic( UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 *pStatValue ) = 0;
virtual uint32 GetQueryUGCNumAdditionalPreviews( UGCQueryHandle_t handle, uint32 index ) = 0; virtual uint32 GetQueryUGCNumAdditionalPreviews( UGCQueryHandle_t handle, uint32 index ) = 0;
virtual bool GetQueryUGCAdditionalPreview( UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, bool *pbIsImage ) = 0; virtual bool GetQueryUGCAdditionalPreview( UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char *pchURLOrVideoID, uint32 cchURLSize, bool *pbIsImage ) = 0;
virtual uint32 GetQueryUGCNumKeyValueTags( UGCQueryHandle_t handle, uint32 index ) = 0;
virtual bool GetQueryUGCKeyValueTag( UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char *pchKey, uint32 cchKeySize, char *pchValue, uint32 cchValueSize ) = 0;
// Release the request to free up memory, after retrieving results // Release the request to free up memory, after retrieving results
virtual bool ReleaseQueryUGCRequest( UGCQueryHandle_t handle ) = 0; virtual bool ReleaseQueryUGCRequest( UGCQueryHandle_t handle ) = 0;
@@ -196,11 +199,13 @@ public:
// Options to set for querying UGC // Options to set for querying UGC
virtual bool AddRequiredTag( UGCQueryHandle_t handle, const char *pTagName ) = 0; virtual bool AddRequiredTag( UGCQueryHandle_t handle, const char *pTagName ) = 0;
virtual bool AddExcludedTag( UGCQueryHandle_t handle, const char *pTagName ) = 0; virtual bool AddExcludedTag( UGCQueryHandle_t handle, const char *pTagName ) = 0;
virtual bool SetReturnKeyValueTags( UGCQueryHandle_t handle, bool bReturnKeyValueTags ) = 0;
virtual bool SetReturnLongDescription( UGCQueryHandle_t handle, bool bReturnLongDescription ) = 0; virtual bool SetReturnLongDescription( UGCQueryHandle_t handle, bool bReturnLongDescription ) = 0;
virtual bool SetReturnMetadata( UGCQueryHandle_t handle, bool bReturnMetadata ) = 0; virtual bool SetReturnMetadata( UGCQueryHandle_t handle, bool bReturnMetadata ) = 0;
virtual bool SetReturnChildren( UGCQueryHandle_t handle, bool bReturnChildren ) = 0; virtual bool SetReturnChildren( UGCQueryHandle_t handle, bool bReturnChildren ) = 0;
virtual bool SetReturnAdditionalPreviews( UGCQueryHandle_t handle, bool bReturnAdditionalPreviews ) = 0; virtual bool SetReturnAdditionalPreviews( UGCQueryHandle_t handle, bool bReturnAdditionalPreviews ) = 0;
virtual bool SetReturnTotalOnly( UGCQueryHandle_t handle, bool bReturnTotalOnly ) = 0; virtual bool SetReturnTotalOnly( UGCQueryHandle_t handle, bool bReturnTotalOnly ) = 0;
virtual bool SetLanguage( UGCQueryHandle_t handle, const char *pchLanguage ) = 0;
virtual bool SetAllowCachedResponse( UGCQueryHandle_t handle, uint32 unMaxAgeSeconds ) = 0; virtual bool SetAllowCachedResponse( UGCQueryHandle_t handle, uint32 unMaxAgeSeconds ) = 0;
// Options only for querying user UGC // Options only for querying user UGC
@@ -210,6 +215,7 @@ public:
virtual bool SetMatchAnyTag( UGCQueryHandle_t handle, bool bMatchAnyTag ) = 0; virtual bool SetMatchAnyTag( UGCQueryHandle_t handle, bool bMatchAnyTag ) = 0;
virtual bool SetSearchText( UGCQueryHandle_t handle, const char *pSearchText ) = 0; virtual bool SetSearchText( UGCQueryHandle_t handle, const char *pSearchText ) = 0;
virtual bool SetRankedByTrendDays( UGCQueryHandle_t handle, uint32 unDays ) = 0; virtual bool SetRankedByTrendDays( UGCQueryHandle_t handle, uint32 unDays ) = 0;
virtual bool AddRequiredKeyValueTag( UGCQueryHandle_t handle, const char *pKey, const char *pValue ) = 0;
// DEPRECATED - Use CreateQueryUGCDetailsRequest call above instead! // DEPRECATED - Use CreateQueryUGCDetailsRequest call above instead!
virtual SteamAPICall_t RequestUGCDetails( PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds ) = 0; virtual SteamAPICall_t RequestUGCDetails( PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds ) = 0;
@@ -221,16 +227,21 @@ public:
virtual bool SetItemTitle( UGCUpdateHandle_t handle, const char *pchTitle ) = 0; // change the title of an UGC item virtual bool SetItemTitle( UGCUpdateHandle_t handle, const char *pchTitle ) = 0; // change the title of an UGC item
virtual bool SetItemDescription( UGCUpdateHandle_t handle, const char *pchDescription ) = 0; // change the description of an UGC item virtual bool SetItemDescription( UGCUpdateHandle_t handle, const char *pchDescription ) = 0; // change the description of an UGC item
virtual bool SetItemUpdateLanguage( UGCUpdateHandle_t handle, const char *pchLanguage ) = 0; // specify the language of the title or description that will be set
virtual bool SetItemMetadata( UGCUpdateHandle_t handle, const char *pchMetaData ) = 0; // change the metadata of an UGC item (max = k_cchDeveloperMetadataMax) virtual bool SetItemMetadata( UGCUpdateHandle_t handle, const char *pchMetaData ) = 0; // change the metadata of an UGC item (max = k_cchDeveloperMetadataMax)
virtual bool SetItemVisibility( UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility ) = 0; // change the visibility of an UGC item virtual bool SetItemVisibility( UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility ) = 0; // change the visibility of an UGC item
virtual bool SetItemTags( UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags ) = 0; // change the tags of an UGC item virtual bool SetItemTags( UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags ) = 0; // change the tags of an UGC item
virtual bool SetItemContent( UGCUpdateHandle_t handle, const char *pszContentFolder ) = 0; // update item content from this local folder virtual bool SetItemContent( UGCUpdateHandle_t handle, const char *pszContentFolder ) = 0; // update item content from this local folder
virtual bool SetItemPreview( UGCUpdateHandle_t handle, const char *pszPreviewFile ) = 0; // change preview image file for this item. pszPreviewFile points to local image file, which must be under 1MB in size virtual bool SetItemPreview( UGCUpdateHandle_t handle, const char *pszPreviewFile ) = 0; // change preview image file for this item. pszPreviewFile points to local image file, which must be under 1MB in size
virtual bool RemoveItemKeyValueTags( UGCUpdateHandle_t handle, const char *pchKey ) = 0; // remove any existing key-value tags with the specified key
virtual bool AddItemKeyValueTag( UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue ) = 0; // add new key-value tags for the item. Note that there can be multiple values for a tag.
virtual SteamAPICall_t SubmitItemUpdate( UGCUpdateHandle_t handle, const char *pchChangeNote ) = 0; // commit update process started with StartItemUpdate() virtual SteamAPICall_t SubmitItemUpdate( UGCUpdateHandle_t handle, const char *pchChangeNote ) = 0; // commit update process started with StartItemUpdate()
virtual EItemUpdateStatus GetItemUpdateProgress( UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64* punBytesTotal ) = 0; virtual EItemUpdateStatus GetItemUpdateProgress( UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64* punBytesTotal ) = 0;
// Steam Workshop Consumer API // Steam Workshop Consumer API
virtual SteamAPICall_t SetUserItemVote( PublishedFileId_t nPublishedFileID, bool bVoteUp ) = 0;
virtual SteamAPICall_t GetUserItemVote( PublishedFileId_t nPublishedFileID ) = 0;
virtual SteamAPICall_t AddItemToFavorites( AppId_t nAppId, PublishedFileId_t nPublishedFileID ) = 0; virtual SteamAPICall_t AddItemToFavorites( AppId_t nAppId, PublishedFileId_t nPublishedFileID ) = 0;
virtual SteamAPICall_t RemoveItemFromFavorites( AppId_t nAppId, PublishedFileId_t nPublishedFileID ) = 0; virtual SteamAPICall_t RemoveItemFromFavorites( AppId_t nAppId, PublishedFileId_t nPublishedFileID ) = 0;
virtual SteamAPICall_t SubscribeItem( PublishedFileId_t nPublishedFileID ) = 0; // subscribe to this item, will be installed ASAP virtual SteamAPICall_t SubscribeItem( PublishedFileId_t nPublishedFileID ) = 0; // subscribe to this item, will be installed ASAP
@@ -254,7 +265,7 @@ public:
virtual bool DownloadItem( PublishedFileId_t nPublishedFileID, bool bHighPriority ) = 0; virtual bool DownloadItem( PublishedFileId_t nPublishedFileID, bool bHighPriority ) = 0;
}; };
#define STEAMUGC_INTERFACE_VERSION "STEAMUGC_INTERFACE_VERSION005" #define STEAMUGC_INTERFACE_VERSION "STEAMUGC_INTERFACE_VERSION007"
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// Purpose: Callback for querying UGC // Purpose: Callback for querying UGC
@@ -337,6 +348,30 @@ struct UserFavoriteItemsListChanged_t
bool m_bWasAddRequest; bool m_bWasAddRequest;
}; };
//-----------------------------------------------------------------------------
// Purpose: The result of a call to SetUserItemVote()
//-----------------------------------------------------------------------------
struct SetUserItemVoteResult_t
{
enum { k_iCallback = k_iClientUGCCallbacks + 8 };
PublishedFileId_t m_nPublishedFileId;
EResult m_eResult;
bool m_bVoteUp;
};
//-----------------------------------------------------------------------------
// Purpose: The result of a call to GetUserItemVote()
//-----------------------------------------------------------------------------
struct GetUserItemVoteResult_t
{
enum { k_iCallback = k_iClientUGCCallbacks + 9 };
PublishedFileId_t m_nPublishedFileId;
EResult m_eResult;
bool m_bVotedUp;
bool m_bVotedDown;
bool m_bVoteSkipped;
};
#pragma pack( pop ) #pragma pack( pop )
#endif // ISTEAMUGC_H #endif // ISTEAMUGC_H
+3
View File
@@ -160,6 +160,9 @@ public:
// returns true if Steam itself is running in VR mode // returns true if Steam itself is running in VR mode
virtual bool IsSteamRunningInVR() = 0; virtual bool IsSteamRunningInVR() = 0;
// Sets the inset of the overlay notification from the corner specified by SetOverlayNotificationPosition.
virtual void SetOverlayNotificationInset( int nHorizontalInset, int nVerticalInset ) = 0;
}; };
#define STEAMUTILS_INTERFACE_VERSION "SteamUtils007" #define STEAMUTILS_INTERFACE_VERSION "SteamUtils007"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
View File
@@ -64,6 +64,8 @@ enum EMatchMakingServerResponse
class servernetadr_t class servernetadr_t
{ {
public: public:
servernetadr_t() : m_usConnectionPort( 0 ), m_usQueryPort( 0 ), m_unIP( 0 ) {}
void Init( unsigned int ip, uint16 usQueryPort, uint16 usConnectionPort ); void Init( unsigned int ip, uint16 usQueryPort, uint16 usConnectionPort );
#ifdef NETADR_H #ifdef NETADR_H
+129 -727
View File
@@ -65,7 +65,6 @@
,{"typedef": "SteamInventoryResult_t","type": "int32"} ,{"typedef": "SteamInventoryResult_t","type": "int32"}
,{"typedef": "CCallResult::func_t","type": "void (T::*)(P *, _Bool)"} ,{"typedef": "CCallResult::func_t","type": "void (T::*)(P *, _Bool)"}
,{"typedef": "CCallback::func_t","type": "void (T::*)(P *)"} ,{"typedef": "CCallback::func_t","type": "void (T::*)(P *)"}
,{"typedef": "vr::TrackedDeviceIndex_t","type": "uint32_t"}
], ],
"enums":[ "enums":[
{"enumname": "EUniverse","values": [ {"enumname": "EUniverse","values": [
@@ -173,6 +172,9 @@
,{"name": "k_EResultAccountLimitExceeded","value": "95"} ,{"name": "k_EResultAccountLimitExceeded","value": "95"}
,{"name": "k_EResultAccountActivityLimitExceeded","value": "96"} ,{"name": "k_EResultAccountActivityLimitExceeded","value": "96"}
,{"name": "k_EResultPhoneActivityLimitExceeded","value": "97"} ,{"name": "k_EResultPhoneActivityLimitExceeded","value": "97"}
,{"name": "k_EResultRefundToWallet","value": "98"}
,{"name": "k_EResultEmailSendFailure","value": "99"}
,{"name": "k_EResultNotSettled","value": "100"}
]} ]}
, {"enumname": "EVoiceResult","values": [ , {"enumname": "EVoiceResult","values": [
{"name": "k_EVoiceResultOK","value": "0"} {"name": "k_EVoiceResultOK","value": "0"}
@@ -524,12 +526,14 @@
,{"name": "k_EWorkshopFileTypeControllerBinding","value": "12"} ,{"name": "k_EWorkshopFileTypeControllerBinding","value": "12"}
,{"name": "k_EWorkshopFileTypeSteamworksAccessInvite","value": "13"} ,{"name": "k_EWorkshopFileTypeSteamworksAccessInvite","value": "13"}
,{"name": "k_EWorkshopFileTypeSteamVideo","value": "14"} ,{"name": "k_EWorkshopFileTypeSteamVideo","value": "14"}
,{"name": "k_EWorkshopFileTypeMax","value": "15"} ,{"name": "k_EWorkshopFileTypeGameManagedItem","value": "15"}
,{"name": "k_EWorkshopFileTypeMax","value": "16"}
]} ]}
, {"enumname": "EWorkshopVote","values": [ , {"enumname": "EWorkshopVote","values": [
{"name": "k_EWorkshopVoteUnvoted","value": "0"} {"name": "k_EWorkshopVoteUnvoted","value": "0"}
,{"name": "k_EWorkshopVoteFor","value": "1"} ,{"name": "k_EWorkshopVoteFor","value": "1"}
,{"name": "k_EWorkshopVoteAgainst","value": "2"} ,{"name": "k_EWorkshopVoteAgainst","value": "2"}
,{"name": "k_EWorkshopVoteLater","value": "3"}
]} ]}
, {"enumname": "EWorkshopFileAction","values": [ , {"enumname": "EWorkshopFileAction","values": [
{"name": "k_EWorkshopFileActionPlayed","value": "0"} {"name": "k_EWorkshopFileActionPlayed","value": "0"}
@@ -692,6 +696,7 @@
,{"name": "k_EUGCMatchingUGCType_IntegratedGuides","value": "9"} ,{"name": "k_EUGCMatchingUGCType_IntegratedGuides","value": "9"}
,{"name": "k_EUGCMatchingUGCType_UsableInGame","value": "10"} ,{"name": "k_EUGCMatchingUGCType_UsableInGame","value": "10"}
,{"name": "k_EUGCMatchingUGCType_ControllerBindings","value": "11"} ,{"name": "k_EUGCMatchingUGCType_ControllerBindings","value": "11"}
,{"name": "k_EUGCMatchingUGCType_GameManagedItems","value": "12"}
]} ]}
, {"enumname": "EUserUGCList","values": [ , {"enumname": "EUserUGCList","values": [
{"name": "k_EUserUGCList_Published","value": "0"} {"name": "k_EUserUGCList_Published","value": "0"}
@@ -815,124 +820,6 @@
,{"name": "k_ESteamItemRemoved","value": "256"} ,{"name": "k_ESteamItemRemoved","value": "256"}
,{"name": "k_ESteamItemConsumed","value": "512"} ,{"name": "k_ESteamItemConsumed","value": "512"}
]} ]}
, {"enumname": "vr::Hmd_Eye","values": [
{"name": "Eye_Left","value": "0"}
,{"name": "Eye_Right","value": "1"}
]}
, {"enumname": "vr::GraphicsAPIConvention","values": [
{"name": "API_DirectX","value": "0"}
,{"name": "API_OpenGL","value": "1"}
]}
, {"enumname": "vr::HmdTrackingResult","values": [
{"name": "TrackingResult_Uninitialized","value": "1"}
,{"name": "TrackingResult_Calibrating_InProgress","value": "100"}
,{"name": "TrackingResult_Calibrating_OutOfRange","value": "101"}
,{"name": "TrackingResult_Running_OK","value": "200"}
,{"name": "TrackingResult_Running_OutOfRange","value": "201"}
]}
, {"enumname": "vr::TrackedDeviceClass","values": [
{"name": "TrackedDeviceClass_Invalid","value": "0"}
,{"name": "TrackedDeviceClass_HMD","value": "1"}
,{"name": "TrackedDeviceClass_Controller","value": "2"}
,{"name": "TrackedDeviceClass_TrackingReference","value": "4"}
,{"name": "TrackedDeviceClass_Other","value": "1000"}
]}
, {"enumname": "vr::TrackingUniverseOrigin","values": [
{"name": "TrackingUniverseSeated","value": "0"}
,{"name": "TrackingUniverseStanding","value": "1"}
,{"name": "TrackingUniverseRawAndUncalibrated","value": "2"}
]}
, {"enumname": "vr::TrackedDeviceProperty","values": [
{"name": "Prop_TrackingSystemName_String","value": "1000"}
,{"name": "Prop_ModelNumber_String","value": "1001"}
,{"name": "Prop_SerialNumber_String","value": "1002"}
,{"name": "Prop_RenderModelName_String","value": "1003"}
,{"name": "Prop_WillDriftInYaw_Bool","value": "1004"}
,{"name": "Prop_ManufacturerName_String","value": "1005"}
,{"name": "Prop_TrackingFirmwareVersion_String","value": "1006"}
,{"name": "Prop_HardwareRevision_String","value": "1007"}
,{"name": "Prop_ReportsTimeSinceVSync_Bool","value": "2000"}
,{"name": "Prop_SecondsFromVsyncToPhotons_Float","value": "2001"}
,{"name": "Prop_DisplayFrequency_Float","value": "2002"}
,{"name": "Prop_UserIpdMeters_Float","value": "2003"}
,{"name": "Prop_CurrentUniverseId_Uint64","value": "2004"}
,{"name": "Prop_PreviousUniverseId_Uint64","value": "2005"}
,{"name": "Prop_DisplayFirmwareVersion_String","value": "2006"}
,{"name": "Prop_AttachedDeviceId_String","value": "3000"}
,{"name": "Prop_FieldOfViewLeftDegrees_Float","value": "4000"}
,{"name": "Prop_FieldOfViewRightDegrees_Float","value": "4001"}
,{"name": "Prop_FieldOfViewTopDegrees_Float","value": "4002"}
,{"name": "Prop_FieldOfViewBottomDegrees_Float","value": "4003"}
,{"name": "Prop_TrackingRangeMinimumMeters_Float","value": "4004"}
,{"name": "Prop_TrackingRangeMaximumMeters_Float","value": "4005"}
]}
, {"enumname": "vr::TrackedPropertyError","values": [
{"name": "TrackedProp_Success","value": "0"}
,{"name": "TrackedProp_WrongDataType","value": "1"}
,{"name": "TrackedProp_WrongDeviceClass","value": "2"}
,{"name": "TrackedProp_BufferTooSmall","value": "3"}
,{"name": "TrackedProp_UnknownProperty","value": "4"}
,{"name": "TrackedProp_InvalidDevice","value": "5"}
,{"name": "TrackedProp_CouldNotContactServer","value": "6"}
,{"name": "TrackedProp_ValueNotProvidedByDevice","value": "7"}
,{"name": "TrackedProp_StringExceedsMaximumLength","value": "8"}
]}
, {"enumname": "vr::EVREventType","values": [
{"name": "VREvent_None","value": "0"}
,{"name": "VREvent_TrackedDeviceActivated","value": "100"}
,{"name": "VREvent_TrackedDeviceDeactivated","value": "101"}
,{"name": "VREvent_TrackedDeviceUpdated","value": "102"}
]}
, {"enumname": "vr::HmdError","values": [
{"name": "HmdError_None","value": "0"}
,{"name": "HmdError_Init_InstallationNotFound","value": "100"}
,{"name": "HmdError_Init_InstallationCorrupt","value": "101"}
,{"name": "HmdError_Init_VRClientDLLNotFound","value": "102"}
,{"name": "HmdError_Init_FileNotFound","value": "103"}
,{"name": "HmdError_Init_FactoryNotFound","value": "104"}
,{"name": "HmdError_Init_InterfaceNotFound","value": "105"}
,{"name": "HmdError_Init_InvalidInterface","value": "106"}
,{"name": "HmdError_Init_UserConfigDirectoryInvalid","value": "107"}
,{"name": "HmdError_Init_HmdNotFound","value": "108"}
,{"name": "HmdError_Init_NotInitialized","value": "109"}
,{"name": "HmdError_Init_PathRegistryNotFound","value": "110"}
,{"name": "HmdError_Init_NoConfigPath","value": "111"}
,{"name": "HmdError_Init_NoLogPath","value": "112"}
,{"name": "HmdError_Init_PathRegistryNotWritable","value": "113"}
,{"name": "HmdError_Driver_Failed","value": "200"}
,{"name": "HmdError_Driver_Unknown","value": "201"}
,{"name": "HmdError_Driver_HmdUnknown","value": "202"}
,{"name": "HmdError_Driver_NotLoaded","value": "203"}
,{"name": "HmdError_Driver_RuntimeOutOfDate","value": "204"}
,{"name": "HmdError_Driver_HmdInUse","value": "205"}
,{"name": "HmdError_IPC_ServerInitFailed","value": "300"}
,{"name": "HmdError_IPC_ConnectFailed","value": "301"}
,{"name": "HmdError_IPC_SharedStateInitFailed","value": "302"}
,{"name": "HmdError_IPC_CompositorInitFailed","value": "303"}
,{"name": "HmdError_IPC_MutexInitFailed","value": "304"}
,{"name": "HmdError_VendorSpecific_UnableToConnectToOculusRuntime","value": "1000"}
,{"name": "HmdError_Steam_SteamInstallationNotFound","value": "2000"}
]}
, {"enumname": "vr::ChaperoneCalibrationState","values": [
{"name": "ChaperoneCalibrationState_OK","value": "1"}
,{"name": "ChaperoneCalibrationState_Warning","value": "100"}
,{"name": "ChaperoneCalibrationState_Warning_BaseStationMayHaveMoved","value": "101"}
,{"name": "ChaperoneCalibrationState_Warning_BaseStationRemoved","value": "102"}
,{"name": "ChaperoneCalibrationState_Warning_SeatedBoundsInvalid","value": "103"}
,{"name": "ChaperoneCalibrationState_Error","value": "200"}
,{"name": "ChaperoneCalibrationState_Error_BaseStationUninitalized","value": "201"}
,{"name": "ChaperoneCalibrationState_Error_BaseStationConflict","value": "202"}
,{"name": "ChaperoneCalibrationState_Error_SoftBoundsInvalid","value": "203"}
,{"name": "ChaperoneCalibrationState_Error_HardBoundsInvalid","value": "204"}
]}
, {"enumname": "vr::Compositor_DeviceType","values": [
{"name": "Compositor_DeviceType_None","value": "0"}
,{"name": "Compositor_DeviceType_D3D9","value": "1"}
,{"name": "Compositor_DeviceType_D3D9Ex","value": "2"}
,{"name": "Compositor_DeviceType_D3D10","value": "3"}
,{"name": "Compositor_DeviceType_D3D11","value": "4"}
,{"name": "Compositor_DeviceType_OpenGL","value": "5"}
]}
], ],
"consts":[{ "consts":[{
"constname": "k_iSteamUserCallbacks","consttype": "int", "constval": "100"} "constname": "k_iSteamUserCallbacks","consttype": "int", "constval": "100"}
@@ -1044,6 +931,12 @@
"constname": "k_cchLeaderboardNameMax","consttype": "int", "constval": "128"} "constname": "k_cchLeaderboardNameMax","consttype": "int", "constval": "128"}
,{ ,{
"constname": "k_cLeaderboardDetailsMax","consttype": "int", "constval": "64"} "constname": "k_cLeaderboardDetailsMax","consttype": "int", "constval": "64"}
,{
"constname": "k_InvalidUnifiedMessageHandle","consttype": "const ClientUnifiedMessageHandle", "constval": "0"}
,{
"constname": "k_SteamItemInstanceIDInvalid","consttype": "const SteamItemInstanceID_t", "constval": "18446744073709551615"}
,{
"constname": "k_SteamInventoryResultInvalid","consttype": "const SteamInventoryResult_t", "constval": "-1"}
], ],
"structs":[{"struct": "CSteamID","fields": [ "structs":[{"struct": "CSteamID","fields": [
{ "fieldname": "m_steamid", "fieldtype": "union SteamID_t"}]} { "fieldname": "m_steamid", "fieldtype": "union SteamID_t"}]}
@@ -1572,6 +1465,16 @@
{ "fieldname": "m_nPublishedFileId", "fieldtype": "PublishedFileId_t"}, { "fieldname": "m_nPublishedFileId", "fieldtype": "PublishedFileId_t"},
{ "fieldname": "m_eResult", "fieldtype": "enum EResult"}, { "fieldname": "m_eResult", "fieldtype": "enum EResult"},
{ "fieldname": "m_bWasAddRequest", "fieldtype": "_Bool"}]} { "fieldname": "m_bWasAddRequest", "fieldtype": "_Bool"}]}
,{"struct": "SetUserItemVoteResult_t","fields": [
{ "fieldname": "m_nPublishedFileId", "fieldtype": "PublishedFileId_t"},
{ "fieldname": "m_eResult", "fieldtype": "enum EResult"},
{ "fieldname": "m_bVoteUp", "fieldtype": "_Bool"}]}
,{"struct": "GetUserItemVoteResult_t","fields": [
{ "fieldname": "m_nPublishedFileId", "fieldtype": "PublishedFileId_t"},
{ "fieldname": "m_eResult", "fieldtype": "enum EResult"},
{ "fieldname": "m_bVotedUp", "fieldtype": "_Bool"},
{ "fieldname": "m_bVotedDown", "fieldtype": "_Bool"},
{ "fieldname": "m_bVoteSkipped", "fieldtype": "_Bool"}]}
,{"struct": "SteamAppInstalled_t","fields": [ ,{"struct": "SteamAppInstalled_t","fields": [
{ "fieldname": "m_nAppID", "fieldtype": "AppId_t"}]} { "fieldname": "m_nAppID", "fieldtype": "AppId_t"}]}
,{"struct": "SteamAppUninstalled_t","fields": [ ,{"struct": "SteamAppUninstalled_t","fields": [
@@ -1724,89 +1627,6 @@
{ "fieldname": "m_pSteamHTMLSurface", "fieldtype": "class ISteamHTMLSurface *"}, { "fieldname": "m_pSteamHTMLSurface", "fieldtype": "class ISteamHTMLSurface *"},
{ "fieldname": "m_pSteamInventory", "fieldtype": "class ISteamInventory *"}, { "fieldname": "m_pSteamInventory", "fieldtype": "class ISteamInventory *"},
{ "fieldname": "m_pSteamVideo", "fieldtype": "class ISteamVideo *"}]} { "fieldname": "m_pSteamVideo", "fieldtype": "class ISteamVideo *"}]}
,{"struct": "vr::HmdMatrix34_t","fields": [
{ "fieldname": "m", "fieldtype": "float [3][4]"}]}
,{"struct": "vr::HmdMatrix44_t","fields": [
{ "fieldname": "m", "fieldtype": "float [4][4]"}]}
,{"struct": "vr::HmdVector3_t","fields": [
{ "fieldname": "v", "fieldtype": "float [3]"}]}
,{"struct": "vr::HmdVector3d_t","fields": [
{ "fieldname": "v", "fieldtype": "double [3]"}]}
,{"struct": "vr::HmdVector2_t","fields": [
{ "fieldname": "v", "fieldtype": "float [2]"}]}
,{"struct": "vr::HmdQuaternion_t","fields": [
{ "fieldname": "w", "fieldtype": "double"},
{ "fieldname": "x", "fieldtype": "double"},
{ "fieldname": "y", "fieldtype": "double"},
{ "fieldname": "z", "fieldtype": "double"}]}
,{"struct": "vr::HmdQuad_t","fields": [
{ "fieldname": "vCorners", "fieldtype": "struct vr::HmdVector3_t [4]"}]}
,{"struct": "vr::DistortionCoordinates_t","fields": [
{ "fieldname": "rfRed", "fieldtype": "float [2]"},
{ "fieldname": "rfGreen", "fieldtype": "float [2]"},
{ "fieldname": "rfBlue", "fieldtype": "float [2]"}]}
,{"struct": "vr::TrackedDevicePose_t","fields": [
{ "fieldname": "mDeviceToAbsoluteTracking", "fieldtype": "struct vr::HmdMatrix34_t"},
{ "fieldname": "vVelocity", "fieldtype": "struct vr::HmdVector3_t"},
{ "fieldname": "vAngularVelocity", "fieldtype": "struct vr::HmdVector3_t"},
{ "fieldname": "eTrackingResult", "fieldtype": "enum vr::HmdTrackingResult"},
{ "fieldname": "bPoseIsValid", "fieldtype": "_Bool"},
{ "fieldname": "bDeviceIsValid", "fieldtype": "_Bool"}]}
,{"struct": "vr::RenderModel_Vertex_t","fields": [
{ "fieldname": "vPosition", "fieldtype": "struct vr::HmdVector3_t"},
{ "fieldname": "vNormal", "fieldtype": "struct vr::HmdVector3_t"},
{ "fieldname": "rfTextureCoord", "fieldtype": "float [2]"}]}
,{"struct": "vr::RenderModel_TextureMap_t","fields": [
{ "fieldname": "unWidth", "fieldtype": "uint16_t"},
{ "fieldname": "unHeight", "fieldtype": "uint16_t"},
{ "fieldname": "rubTextureMapData", "fieldtype": "const uint8_t *"}]}
,{"struct": "vr::RenderModel_t","fields": [
{ "fieldname": "ulInternalHandle", "fieldtype": "uint64_t"},
{ "fieldname": "rVertexData", "fieldtype": "const struct vr::RenderModel_Vertex_t *"},
{ "fieldname": "unVertexCount", "fieldtype": "uint32_t"},
{ "fieldname": "rIndexData", "fieldtype": "const uint16_t *"},
{ "fieldname": "unTriangleCount", "fieldtype": "uint32_t"},
{ "fieldname": "diffuseTexture", "fieldtype": "struct vr::RenderModel_TextureMap_t"}]}
,{"struct": "vr::VREvent_t","fields": [
{ "fieldname": "eventType", "fieldtype": "enum vr::EVREventType"},
{ "fieldname": "trackedDeviceIndex", "fieldtype": "TrackedDeviceIndex_t"},
{ "fieldname": "param1", "fieldtype": "uint32_t"},
{ "fieldname": "eventAgeSeconds", "fieldtype": "float"}]}
,{"struct": "vr::HiddenAreaMesh_t","fields": [
{ "fieldname": "pVertexData", "fieldtype": "const struct vr::HmdVector2_t *"},
{ "fieldname": "unTriangleCount", "fieldtype": "uint32_t"}]}
,{"struct": "vr::ChaperoneSoftBoundsInfo_t","fields": [
{ "fieldname": "quadCorners", "fieldtype": "struct vr::HmdQuad_t"}]}
,{"struct": "vr::ChaperoneSeatedBoundsInfo_t","fields": [
{ "fieldname": "vSeatedHeadPosition", "fieldtype": "struct vr::HmdVector3_t"},
{ "fieldname": "vDeskEdgePositions", "fieldtype": "struct vr::HmdVector3_t [2]"}]}
,{"struct": "vr::Compositor_FrameTiming","fields": [
{ "fieldname": "size", "fieldtype": "uint32_t"},
{ "fieldname": "frameStart", "fieldtype": "double"},
{ "fieldname": "frameVSync", "fieldtype": "float"},
{ "fieldname": "droppedFrames", "fieldtype": "uint32_t"},
{ "fieldname": "frameIndex", "fieldtype": "uint32_t"},
{ "fieldname": "pose", "fieldtype": "vr::TrackedDevicePose_t"}]}
,{"struct": "vr::Compositor_OverlaySettings","fields": [
{ "fieldname": "size", "fieldtype": "uint32_t"},
{ "fieldname": "curved", "fieldtype": "_Bool"},
{ "fieldname": "antialias", "fieldtype": "_Bool"},
{ "fieldname": "scale", "fieldtype": "float"},
{ "fieldname": "distance", "fieldtype": "float"},
{ "fieldname": "alpha", "fieldtype": "float"},
{ "fieldname": "uOffset", "fieldtype": "float"},
{ "fieldname": "vOffset", "fieldtype": "float"},
{ "fieldname": "uScale", "fieldtype": "float"},
{ "fieldname": "vScale", "fieldtype": "float"},
{ "fieldname": "gridDivs", "fieldtype": "float"},
{ "fieldname": "gridWidth", "fieldtype": "float"},
{ "fieldname": "gridScale", "fieldtype": "float"},
{ "fieldname": "transform", "fieldtype": "struct vr::HmdMatrix44_t"}]}
,{"struct": "vr::Compositor_TextureBounds","fields": [
{ "fieldname": "uMin", "fieldtype": "float"},
{ "fieldname": "vMin", "fieldtype": "float"},
{ "fieldname": "uMax", "fieldtype": "float"},
{ "fieldname": "vMax", "fieldtype": "float"}]}
,{"struct": "GSClientApprove_t","fields": [ ,{"struct": "GSClientApprove_t","fields": [
{ "fieldname": "m_SteamID", "fieldtype": "class CSteamID"}, { "fieldname": "m_SteamID", "fieldtype": "class CSteamID"},
{ "fieldname": "m_OwnerSteamID", "fieldtype": "class CSteamID"}]} { "fieldname": "m_OwnerSteamID", "fieldtype": "class CSteamID"}]}
@@ -3139,6 +2959,15 @@
"methodname": "IsSteamRunningInVR", "methodname": "IsSteamRunningInVR",
"returntype": "bool" "returntype": "bool"
} }
,{
"classname": "ISteamUtils",
"methodname": "SetOverlayNotificationInset",
"returntype": "void",
"params": [
{ "paramname": "nHorizontalInset" ,"paramtype": "int"},
{ "paramname": "nVerticalInset" ,"paramtype": "int"}
]
}
,{ ,{
"classname": "ISteamMatchmaking", "classname": "ISteamMatchmaking",
"methodname": "GetFavoriteGameCount", "methodname": "GetFavoriteGameCount",
@@ -5747,6 +5576,29 @@
{ "paramname": "pbIsImage" ,"paramtype": "bool *"} { "paramname": "pbIsImage" ,"paramtype": "bool *"}
] ]
} }
,{
"classname": "ISteamUGC",
"methodname": "GetQueryUGCNumKeyValueTags",
"returntype": "uint32",
"params": [
{ "paramname": "handle" ,"paramtype": "UGCQueryHandle_t"},
{ "paramname": "index" ,"paramtype": "uint32"}
]
}
,{
"classname": "ISteamUGC",
"methodname": "GetQueryUGCKeyValueTag",
"returntype": "bool",
"params": [
{ "paramname": "handle" ,"paramtype": "UGCQueryHandle_t"},
{ "paramname": "index" ,"paramtype": "uint32"},
{ "paramname": "keyValueTagIndex" ,"paramtype": "uint32"},
{ "paramname": "pchKey" ,"paramtype": "char *"},
{ "paramname": "cchKeySize" ,"paramtype": "uint32"},
{ "paramname": "pchValue" ,"paramtype": "char *"},
{ "paramname": "cchValueSize" ,"paramtype": "uint32"}
]
}
,{ ,{
"classname": "ISteamUGC", "classname": "ISteamUGC",
"methodname": "ReleaseQueryUGCRequest", "methodname": "ReleaseQueryUGCRequest",
@@ -5773,6 +5625,15 @@
{ "paramname": "pTagName" ,"paramtype": "const char *"} { "paramname": "pTagName" ,"paramtype": "const char *"}
] ]
} }
,{
"classname": "ISteamUGC",
"methodname": "SetReturnKeyValueTags",
"returntype": "bool",
"params": [
{ "paramname": "handle" ,"paramtype": "UGCQueryHandle_t"},
{ "paramname": "bReturnKeyValueTags" ,"paramtype": "bool"}
]
}
,{ ,{
"classname": "ISteamUGC", "classname": "ISteamUGC",
"methodname": "SetReturnLongDescription", "methodname": "SetReturnLongDescription",
@@ -5818,6 +5679,15 @@
{ "paramname": "bReturnTotalOnly" ,"paramtype": "bool"} { "paramname": "bReturnTotalOnly" ,"paramtype": "bool"}
] ]
} }
,{
"classname": "ISteamUGC",
"methodname": "SetLanguage",
"returntype": "bool",
"params": [
{ "paramname": "handle" ,"paramtype": "UGCQueryHandle_t"},
{ "paramname": "pchLanguage" ,"paramtype": "const char *"}
]
}
,{ ,{
"classname": "ISteamUGC", "classname": "ISteamUGC",
"methodname": "SetAllowCachedResponse", "methodname": "SetAllowCachedResponse",
@@ -5863,6 +5733,16 @@
{ "paramname": "unDays" ,"paramtype": "uint32"} { "paramname": "unDays" ,"paramtype": "uint32"}
] ]
} }
,{
"classname": "ISteamUGC",
"methodname": "AddRequiredKeyValueTag",
"returntype": "bool",
"params": [
{ "paramname": "handle" ,"paramtype": "UGCQueryHandle_t"},
{ "paramname": "pKey" ,"paramtype": "const char *"},
{ "paramname": "pValue" ,"paramtype": "const char *"}
]
}
,{ ,{
"classname": "ISteamUGC", "classname": "ISteamUGC",
"methodname": "RequestUGCDetails", "methodname": "RequestUGCDetails",
@@ -5908,6 +5788,15 @@
{ "paramname": "pchDescription" ,"paramtype": "const char *"} { "paramname": "pchDescription" ,"paramtype": "const char *"}
] ]
} }
,{
"classname": "ISteamUGC",
"methodname": "SetItemUpdateLanguage",
"returntype": "bool",
"params": [
{ "paramname": "handle" ,"paramtype": "UGCUpdateHandle_t"},
{ "paramname": "pchLanguage" ,"paramtype": "const char *"}
]
}
,{ ,{
"classname": "ISteamUGC", "classname": "ISteamUGC",
"methodname": "SetItemMetadata", "methodname": "SetItemMetadata",
@@ -5953,6 +5842,25 @@
{ "paramname": "pszPreviewFile" ,"paramtype": "const char *"} { "paramname": "pszPreviewFile" ,"paramtype": "const char *"}
] ]
} }
,{
"classname": "ISteamUGC",
"methodname": "RemoveItemKeyValueTags",
"returntype": "bool",
"params": [
{ "paramname": "handle" ,"paramtype": "UGCUpdateHandle_t"},
{ "paramname": "pchKey" ,"paramtype": "const char *"}
]
}
,{
"classname": "ISteamUGC",
"methodname": "AddItemKeyValueTag",
"returntype": "bool",
"params": [
{ "paramname": "handle" ,"paramtype": "UGCUpdateHandle_t"},
{ "paramname": "pchKey" ,"paramtype": "const char *"},
{ "paramname": "pchValue" ,"paramtype": "const char *"}
]
}
,{ ,{
"classname": "ISteamUGC", "classname": "ISteamUGC",
"methodname": "SubmitItemUpdate", "methodname": "SubmitItemUpdate",
@@ -5972,6 +5880,23 @@
{ "paramname": "punBytesTotal" ,"paramtype": "uint64 *"} { "paramname": "punBytesTotal" ,"paramtype": "uint64 *"}
] ]
} }
,{
"classname": "ISteamUGC",
"methodname": "SetUserItemVote",
"returntype": "SteamAPICall_t",
"params": [
{ "paramname": "nPublishedFileID" ,"paramtype": "PublishedFileId_t"},
{ "paramname": "bVoteUp" ,"paramtype": "bool"}
]
}
,{
"classname": "ISteamUGC",
"methodname": "GetUserItemVote",
"returntype": "SteamAPICall_t",
"params": [
{ "paramname": "nPublishedFileID" ,"paramtype": "PublishedFileId_t"}
]
}
,{ ,{
"classname": "ISteamUGC", "classname": "ISteamUGC",
"methodname": "AddItemToFavorites", "methodname": "AddItemToFavorites",
@@ -6543,7 +6468,7 @@
} }
,{ ,{
"classname": "ISteamInventory", "classname": "ISteamInventory",
"methodname": "ConsumeItem", "desc": "ConsumeItem() removes items from the inventory permenantly.", "methodname": "ConsumeItem", "desc": "ConsumeItem() removes items from the inventory permanently.",
"returntype": "bool", "returntype": "bool",
"params": [ "params": [
{ "paramname": "pResultHandle" ,"paramtype": "SteamInventoryResult_t *"}, { "paramname": "pResultHandle" ,"paramtype": "SteamInventoryResult_t *"},
@@ -6646,529 +6571,6 @@
{ "paramname": "pnNumViewers" ,"paramtype": "int *"} { "paramname": "pnNumViewers" ,"paramtype": "int *"}
] ]
} }
,{
"classname": "vr::IVRSystem",
"methodname": "GetWindowBounds",
"returntype": "void",
"params": [
{ "paramname": "pnX" ,"paramtype": "int32_t *"},
{ "paramname": "pnY" ,"paramtype": "int32_t *"},
{ "paramname": "pnWidth" ,"paramtype": "uint32_t *"},
{ "paramname": "pnHeight" ,"paramtype": "uint32_t *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetRecommendedRenderTargetSize",
"returntype": "void",
"params": [
{ "paramname": "pnWidth" ,"paramtype": "uint32_t *"},
{ "paramname": "pnHeight" ,"paramtype": "uint32_t *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetEyeOutputViewport",
"returntype": "void",
"params": [
{ "paramname": "eEye" ,"paramtype": "vr::Hmd_Eye"},
{ "paramname": "pnX" ,"paramtype": "uint32_t *"},
{ "paramname": "pnY" ,"paramtype": "uint32_t *"},
{ "paramname": "pnWidth" ,"paramtype": "uint32_t *"},
{ "paramname": "pnHeight" ,"paramtype": "uint32_t *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetProjectionMatrix",
"returntype": "struct vr::HmdMatrix44_t",
"params": [
{ "paramname": "eEye" ,"paramtype": "vr::Hmd_Eye"},
{ "paramname": "fNearZ" ,"paramtype": "float"},
{ "paramname": "fFarZ" ,"paramtype": "float"},
{ "paramname": "eProjType" ,"paramtype": "vr::GraphicsAPIConvention"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetProjectionRaw",
"returntype": "void",
"params": [
{ "paramname": "eEye" ,"paramtype": "vr::Hmd_Eye"},
{ "paramname": "pfLeft" ,"paramtype": "float *"},
{ "paramname": "pfRight" ,"paramtype": "float *"},
{ "paramname": "pfTop" ,"paramtype": "float *"},
{ "paramname": "pfBottom" ,"paramtype": "float *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "ComputeDistortion",
"returntype": "struct vr::DistortionCoordinates_t",
"params": [
{ "paramname": "eEye" ,"paramtype": "vr::Hmd_Eye"},
{ "paramname": "fU" ,"paramtype": "float"},
{ "paramname": "fV" ,"paramtype": "float"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetEyeToHeadTransform",
"returntype": "struct vr::HmdMatrix34_t",
"params": [
{ "paramname": "eEye" ,"paramtype": "vr::Hmd_Eye"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetTimeSinceLastVsync",
"returntype": "bool",
"params": [
{ "paramname": "pfSecondsSinceLastVsync" ,"paramtype": "float *"},
{ "paramname": "pulFrameCounter" ,"paramtype": "uint64_t *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetD3D9AdapterIndex",
"returntype": "int32_t"
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetDXGIOutputInfo",
"returntype": "void",
"params": [
{ "paramname": "pnAdapterIndex" ,"paramtype": "int32_t *"},
{ "paramname": "pnAdapterOutputIndex" ,"paramtype": "int32_t *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "AttachToWindow",
"returntype": "void",
"params": [
{ "paramname": "hWnd" ,"paramtype": "void *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetDeviceToAbsoluteTrackingPose",
"returntype": "void",
"params": [
{ "paramname": "eOrigin" ,"paramtype": "vr::TrackingUniverseOrigin"},
{ "paramname": "fPredictedSecondsToPhotonsFromNow" ,"paramtype": "float"},
{ "paramname": "pTrackedDevicePoseArray" ,"array_count": "unTrackedDevicePoseArrayCount" ,"paramtype": "struct vr::TrackedDevicePose_t *"},
{ "paramname": "unTrackedDevicePoseArrayCount" ,"paramtype": "uint32_t"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "ResetSeatedZeroPose",
"returntype": "void"
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetSeatedZeroPoseToStandingAbsoluteTrackingPose",
"returntype": "struct vr::HmdMatrix34_t"
}
,{
"classname": "vr::IVRSystem",
"methodname": "LoadRenderModel",
"returntype": "bool",
"params": [
{ "paramname": "pchRenderModelName" ,"paramtype": "const char *"},
{ "paramname": "pRenderModel" ,"paramtype": "struct vr::RenderModel_t *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "FreeRenderModel",
"returntype": "void",
"params": [
{ "paramname": "pRenderModel" ,"paramtype": "struct vr::RenderModel_t *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetTrackedDeviceClass",
"returntype": "vr::TrackedDeviceClass",
"params": [
{ "paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "IsTrackedDeviceConnected",
"returntype": "bool",
"params": [
{ "paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetBoolTrackedDeviceProperty",
"returntype": "bool",
"params": [
{ "paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
{ "paramname": "prop" ,"paramtype": "vr::TrackedDeviceProperty"},
{ "paramname": "pError" ,"paramtype": "vr::TrackedPropertyError *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetFloatTrackedDeviceProperty",
"returntype": "float",
"params": [
{ "paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
{ "paramname": "prop" ,"paramtype": "vr::TrackedDeviceProperty"},
{ "paramname": "pError" ,"paramtype": "vr::TrackedPropertyError *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetInt32TrackedDeviceProperty",
"returntype": "int32_t",
"params": [
{ "paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
{ "paramname": "prop" ,"paramtype": "vr::TrackedDeviceProperty"},
{ "paramname": "pError" ,"paramtype": "vr::TrackedPropertyError *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetUint64TrackedDeviceProperty",
"returntype": "uint64_t",
"params": [
{ "paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
{ "paramname": "prop" ,"paramtype": "vr::TrackedDeviceProperty"},
{ "paramname": "pError" ,"paramtype": "vr::TrackedPropertyError *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetMatrix34TrackedDeviceProperty",
"returntype": "struct vr::HmdMatrix34_t",
"params": [
{ "paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
{ "paramname": "prop" ,"paramtype": "vr::TrackedDeviceProperty"},
{ "paramname": "pError" ,"paramtype": "vr::TrackedPropertyError *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetStringTrackedDeviceProperty",
"returntype": "uint32_t",
"params": [
{ "paramname": "unDeviceIndex" ,"paramtype": "vr::TrackedDeviceIndex_t"},
{ "paramname": "prop" ,"paramtype": "vr::TrackedDeviceProperty"},
{ "paramname": "pchValue" ,"out_string": " " ,"paramtype": "char *"},
{ "paramname": "unBufferSize" ,"paramtype": "uint32_t"},
{ "paramname": "pError" ,"paramtype": "vr::TrackedPropertyError *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetPropErrorNameFromEnum",
"returntype": "const char *",
"params": [
{ "paramname": "error" ,"paramtype": "vr::TrackedPropertyError"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "PollNextEvent",
"returntype": "bool",
"params": [
{ "paramname": "pEvent" ,"paramtype": "struct vr::VREvent_t *"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetEventTypeNameFromEnum",
"returntype": "const char *",
"params": [
{ "paramname": "eType" ,"paramtype": "vr::EVREventType"}
]
}
,{
"classname": "vr::IVRSystem",
"methodname": "GetHiddenAreaMesh",
"returntype": "struct vr::HiddenAreaMesh_t",
"params": [
{ "paramname": "eEye" ,"paramtype": "vr::Hmd_Eye"}
]
}
,{
"classname": "vr::IVRChaperone",
"methodname": "GetCalibrationState",
"returntype": "vr::ChaperoneCalibrationState"
}
,{
"classname": "vr::IVRChaperone",
"methodname": "GetSoftBoundsInfo",
"returntype": "bool",
"params": [
{ "paramname": "pInfo" ,"paramtype": "struct vr::ChaperoneSoftBoundsInfo_t *"}
]
}
,{
"classname": "vr::IVRChaperone",
"methodname": "GetHardBoundsInfo",
"returntype": "bool",
"params": [
{ "paramname": "pQuadsBuffer" ,"out_array_count": "punQuadsCount" ,"paramtype": "struct vr::HmdQuad_t *"},
{ "paramname": "punQuadsCount" ,"paramtype": "uint32_t *"}
]
}
,{
"classname": "vr::IVRChaperone",
"methodname": "GetSeatedBoundsInfo",
"returntype": "bool",
"params": [
{ "paramname": "pInfo" ,"paramtype": "struct vr::ChaperoneSeatedBoundsInfo_t *"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "GetLastError",
"returntype": "uint32_t",
"params": [
{ "paramname": "pchBuffer" ,"out_string": " " ,"paramtype": "char *"},
{ "paramname": "unBufferSize" ,"paramtype": "uint32_t"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "SetVSync",
"returntype": "void",
"params": [
{ "paramname": "bVSync" ,"paramtype": "bool"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "GetVSync",
"returntype": "bool"
}
,{
"classname": "vr::IVRCompositor",
"methodname": "SetGamma",
"returntype": "void",
"params": [
{ "paramname": "fGamma" ,"paramtype": "float"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "GetGamma",
"returntype": "float"
}
,{
"classname": "vr::IVRCompositor",
"methodname": "SetGraphicsDevice",
"returntype": "void",
"params": [
{ "paramname": "eType" ,"paramtype": "vr::Compositor_DeviceType"},
{ "paramname": "pDevice" ,"paramtype": "void *"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "WaitGetPoses",
"returntype": "void",
"params": [
{ "paramname": "pPoseArray" ,"array_count": "unPoseArrayCount" ,"paramtype": "struct vr::TrackedDevicePose_t *"},
{ "paramname": "unPoseArrayCount" ,"paramtype": "uint32_t"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "Submit",
"returntype": "void",
"params": [
{ "paramname": "eEye" ,"paramtype": "vr::Hmd_Eye"},
{ "paramname": "pTexture" ,"paramtype": "void *"},
{ "paramname": "pBounds" ,"paramtype": "struct vr::Compositor_TextureBounds *"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "ClearLastSubmittedFrame",
"returntype": "void"
}
,{
"classname": "vr::IVRCompositor",
"methodname": "GetOverlayDefaults",
"returntype": "void",
"params": [
{ "paramname": "pSettings" ,"paramtype": "struct vr::Compositor_OverlaySettings *"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "SetOverlay",
"returntype": "void",
"params": [
{ "paramname": "pTexture" ,"paramtype": "void *"},
{ "paramname": "pSettings" ,"paramtype": "struct vr::Compositor_OverlaySettings *"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "SetOverlayRaw",
"returntype": "void",
"params": [
{ "paramname": "buffer" ,"paramtype": "void *"},
{ "paramname": "width" ,"paramtype": "uint32_t"},
{ "paramname": "height" ,"paramtype": "uint32_t"},
{ "paramname": "depth" ,"paramtype": "uint32_t"},
{ "paramname": "pSettings" ,"paramtype": "struct vr::Compositor_OverlaySettings *"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "SetOverlayFromFile",
"returntype": "void",
"params": [
{ "paramname": "pchFilePath" ,"paramtype": "const char *"},
{ "paramname": "pSettings" ,"paramtype": "struct vr::Compositor_OverlaySettings *"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "ClearOverlay",
"returntype": "void"
}
,{
"classname": "vr::IVRCompositor",
"methodname": "GetFrameTiming",
"returntype": "bool",
"params": [
{ "paramname": "pTiming" ,"paramtype": "struct vr::Compositor_FrameTiming *"},
{ "paramname": "unFramesAgo" ,"paramtype": "uint32_t"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "FadeToColor",
"returntype": "void",
"params": [
{ "paramname": "fSeconds" ,"paramtype": "float"},
{ "paramname": "fRed" ,"paramtype": "float"},
{ "paramname": "fGreen" ,"paramtype": "float"},
{ "paramname": "fBlue" ,"paramtype": "float"},
{ "paramname": "fAlpha" ,"paramtype": "float"},
{ "paramname": "bBackground" ,"paramtype": "bool"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "FadeGrid",
"returntype": "void",
"params": [
{ "paramname": "fSeconds" ,"paramtype": "float"},
{ "paramname": "bFadeIn" ,"paramtype": "bool"}
]
}
,{
"classname": "vr::IVRCompositor",
"methodname": "CompositorBringToFront",
"returntype": "void"
}
,{
"classname": "vr::IVRCompositor",
"methodname": "CompositorGoToBack",
"returntype": "void"
}
,{
"classname": "vr::IVRCompositor",
"methodname": "CompositorQuit",
"returntype": "void"
}
,{
"classname": "vr::IVRCompositor",
"methodname": "IsFullscreen",
"returntype": "bool"
}
,{
"classname": "vr::IVRControlPanel",
"methodname": "GetDriverCount",
"returntype": "uint32_t"
}
,{
"classname": "vr::IVRControlPanel",
"methodname": "GetDriverId",
"returntype": "uint32_t",
"params": [
{ "paramname": "unDriverIndex" ,"paramtype": "uint32_t"},
{ "paramname": "pchBuffer" ,"paramtype": "char *"},
{ "paramname": "unBufferLen" ,"paramtype": "uint32_t"}
]
}
,{
"classname": "vr::IVRControlPanel",
"methodname": "GetDriverDisplayCount",
"returntype": "uint32_t",
"params": [
{ "paramname": "pchDriverId" ,"paramtype": "const char *"}
]
}
,{
"classname": "vr::IVRControlPanel",
"methodname": "GetDriverDisplayId",
"returntype": "uint32_t",
"params": [
{ "paramname": "pchDriverId" ,"paramtype": "const char *"},
{ "paramname": "unDisplayIndex" ,"paramtype": "uint32_t"},
{ "paramname": "pchBuffer" ,"paramtype": "char *"},
{ "paramname": "unBufferLen" ,"paramtype": "uint32_t"}
]
}
,{
"classname": "vr::IVRControlPanel",
"methodname": "GetDriverDisplayModelNumber",
"returntype": "uint32_t",
"params": [
{ "paramname": "pchDriverId" ,"paramtype": "const char *"},
{ "paramname": "pchDisplayId" ,"paramtype": "const char *"},
{ "paramname": "pchBuffer" ,"paramtype": "char *"},
{ "paramname": "unBufferLen" ,"paramtype": "uint32_t"}
]
}
,{
"classname": "vr::IVRControlPanel",
"methodname": "GetDriverDisplaySerialNumber",
"returntype": "uint32_t",
"params": [
{ "paramname": "pchDriverId" ,"paramtype": "const char *"},
{ "paramname": "pchDisplayId" ,"paramtype": "const char *"},
{ "paramname": "pchBuffer" ,"paramtype": "char *"},
{ "paramname": "unBufferLen" ,"paramtype": "uint32_t"}
]
}
,{
"classname": "vr::IVRControlPanel",
"methodname": "LoadSharedResource",
"returntype": "uint32_t",
"params": [
{ "paramname": "pchResourceName" ,"paramtype": "const char *"},
{ "paramname": "pchBuffer" ,"paramtype": "char *"},
{ "paramname": "unBufferLen" ,"paramtype": "uint32_t"}
]
}
,{
"classname": "vr::IVRControlPanel",
"methodname": "GetIPD",
"returntype": "float"
}
,{
"classname": "vr::IVRControlPanel",
"methodname": "SetIPD",
"returntype": "void",
"params": [
{ "paramname": "fIPD" ,"paramtype": "float"}
]
}
,{ ,{
"classname": "ISteamGameServer", "classname": "ISteamGameServer",
"methodname": "InitGameServer", "methodname": "InitGameServer",
+11 -63
View File
@@ -12,7 +12,6 @@
#endif #endif
#include <stdint.h> #include <stdint.h>
#include "steam/steamvr.h"
S_API HSteamPipe SteamAPI_ISteamClient_CreateSteamPipe(intptr_t instancePtr); S_API HSteamPipe SteamAPI_ISteamClient_CreateSteamPipe(intptr_t instancePtr);
@@ -171,6 +170,7 @@ S_API uint32 SteamAPI_ISteamUtils_GetEnteredGamepadTextLength(intptr_t instanceP
S_API bool SteamAPI_ISteamUtils_GetEnteredGamepadTextInput(intptr_t instancePtr, char * pchText, uint32 cchText); S_API bool SteamAPI_ISteamUtils_GetEnteredGamepadTextInput(intptr_t instancePtr, char * pchText, uint32 cchText);
S_API const char * SteamAPI_ISteamUtils_GetSteamUILanguage(intptr_t instancePtr); S_API const char * SteamAPI_ISteamUtils_GetSteamUILanguage(intptr_t instancePtr);
S_API bool SteamAPI_ISteamUtils_IsSteamRunningInVR(intptr_t instancePtr); S_API bool SteamAPI_ISteamUtils_IsSteamRunningInVR(intptr_t instancePtr);
S_API void SteamAPI_ISteamUtils_SetOverlayNotificationInset(intptr_t instancePtr, int nHorizontalInset, int nVerticalInset);
S_API int SteamAPI_ISteamMatchmaking_GetFavoriteGameCount(intptr_t instancePtr); S_API int SteamAPI_ISteamMatchmaking_GetFavoriteGameCount(intptr_t instancePtr);
S_API bool SteamAPI_ISteamMatchmaking_GetFavoriteGame(intptr_t instancePtr, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer); S_API bool SteamAPI_ISteamMatchmaking_GetFavoriteGame(intptr_t instancePtr, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer);
S_API int SteamAPI_ISteamMatchmaking_AddFavoriteGame(intptr_t instancePtr, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer); S_API int SteamAPI_ISteamMatchmaking_AddFavoriteGame(intptr_t instancePtr, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer);
@@ -473,31 +473,41 @@ S_API bool SteamAPI_ISteamUGC_GetQueryUGCChildren(intptr_t instancePtr, UGCQuery
S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 * pStatValue); S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 * pStatValue);
S_API uint32 SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index); S_API uint32 SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index);
S_API bool SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, bool * pbIsImage); S_API bool SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, bool * pbIsImage);
S_API uint32 SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index);
S_API bool SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize);
S_API bool SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(intptr_t instancePtr, UGCQueryHandle_t handle); S_API bool SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(intptr_t instancePtr, UGCQueryHandle_t handle);
S_API bool SteamAPI_ISteamUGC_AddRequiredTag(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pTagName); S_API bool SteamAPI_ISteamUGC_AddRequiredTag(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pTagName);
S_API bool SteamAPI_ISteamUGC_AddExcludedTag(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pTagName); S_API bool SteamAPI_ISteamUGC_AddExcludedTag(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pTagName);
S_API bool SteamAPI_ISteamUGC_SetReturnKeyValueTags(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnKeyValueTags);
S_API bool SteamAPI_ISteamUGC_SetReturnLongDescription(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnLongDescription); S_API bool SteamAPI_ISteamUGC_SetReturnLongDescription(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnLongDescription);
S_API bool SteamAPI_ISteamUGC_SetReturnMetadata(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnMetadata); S_API bool SteamAPI_ISteamUGC_SetReturnMetadata(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnMetadata);
S_API bool SteamAPI_ISteamUGC_SetReturnChildren(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnChildren); S_API bool SteamAPI_ISteamUGC_SetReturnChildren(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnChildren);
S_API bool SteamAPI_ISteamUGC_SetReturnAdditionalPreviews(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews); S_API bool SteamAPI_ISteamUGC_SetReturnAdditionalPreviews(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews);
S_API bool SteamAPI_ISteamUGC_SetReturnTotalOnly(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnTotalOnly); S_API bool SteamAPI_ISteamUGC_SetReturnTotalOnly(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnTotalOnly);
S_API bool SteamAPI_ISteamUGC_SetLanguage(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pchLanguage);
S_API bool SteamAPI_ISteamUGC_SetAllowCachedResponse(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds); S_API bool SteamAPI_ISteamUGC_SetAllowCachedResponse(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds);
S_API bool SteamAPI_ISteamUGC_SetCloudFileNameFilter(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pMatchCloudFileName); S_API bool SteamAPI_ISteamUGC_SetCloudFileNameFilter(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pMatchCloudFileName);
S_API bool SteamAPI_ISteamUGC_SetMatchAnyTag(intptr_t instancePtr, UGCQueryHandle_t handle, bool bMatchAnyTag); S_API bool SteamAPI_ISteamUGC_SetMatchAnyTag(intptr_t instancePtr, UGCQueryHandle_t handle, bool bMatchAnyTag);
S_API bool SteamAPI_ISteamUGC_SetSearchText(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pSearchText); S_API bool SteamAPI_ISteamUGC_SetSearchText(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pSearchText);
S_API bool SteamAPI_ISteamUGC_SetRankedByTrendDays(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 unDays); S_API bool SteamAPI_ISteamUGC_SetRankedByTrendDays(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 unDays);
S_API bool SteamAPI_ISteamUGC_AddRequiredKeyValueTag(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pKey, const char * pValue);
S_API SteamAPICall_t SteamAPI_ISteamUGC_RequestUGCDetails(intptr_t instancePtr, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds); S_API SteamAPICall_t SteamAPI_ISteamUGC_RequestUGCDetails(intptr_t instancePtr, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds);
S_API SteamAPICall_t SteamAPI_ISteamUGC_CreateItem(intptr_t instancePtr, AppId_t nConsumerAppId, EWorkshopFileType eFileType); S_API SteamAPICall_t SteamAPI_ISteamUGC_CreateItem(intptr_t instancePtr, AppId_t nConsumerAppId, EWorkshopFileType eFileType);
S_API UGCUpdateHandle_t SteamAPI_ISteamUGC_StartItemUpdate(intptr_t instancePtr, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID); S_API UGCUpdateHandle_t SteamAPI_ISteamUGC_StartItemUpdate(intptr_t instancePtr, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID);
S_API bool SteamAPI_ISteamUGC_SetItemTitle(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchTitle); S_API bool SteamAPI_ISteamUGC_SetItemTitle(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchTitle);
S_API bool SteamAPI_ISteamUGC_SetItemDescription(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchDescription); S_API bool SteamAPI_ISteamUGC_SetItemDescription(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchDescription);
S_API bool SteamAPI_ISteamUGC_SetItemUpdateLanguage(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchLanguage);
S_API bool SteamAPI_ISteamUGC_SetItemMetadata(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchMetaData); S_API bool SteamAPI_ISteamUGC_SetItemMetadata(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchMetaData);
S_API bool SteamAPI_ISteamUGC_SetItemVisibility(intptr_t instancePtr, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility); S_API bool SteamAPI_ISteamUGC_SetItemVisibility(intptr_t instancePtr, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility);
S_API bool SteamAPI_ISteamUGC_SetItemTags(intptr_t instancePtr, UGCUpdateHandle_t updateHandle, const struct SteamParamStringArray_t * pTags); S_API bool SteamAPI_ISteamUGC_SetItemTags(intptr_t instancePtr, UGCUpdateHandle_t updateHandle, const struct SteamParamStringArray_t * pTags);
S_API bool SteamAPI_ISteamUGC_SetItemContent(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pszContentFolder); S_API bool SteamAPI_ISteamUGC_SetItemContent(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pszContentFolder);
S_API bool SteamAPI_ISteamUGC_SetItemPreview(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pszPreviewFile); S_API bool SteamAPI_ISteamUGC_SetItemPreview(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pszPreviewFile);
S_API bool SteamAPI_ISteamUGC_RemoveItemKeyValueTags(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchKey);
S_API bool SteamAPI_ISteamUGC_AddItemKeyValueTag(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue);
S_API SteamAPICall_t SteamAPI_ISteamUGC_SubmitItemUpdate(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchChangeNote); S_API SteamAPICall_t SteamAPI_ISteamUGC_SubmitItemUpdate(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchChangeNote);
S_API EItemUpdateStatus SteamAPI_ISteamUGC_GetItemUpdateProgress(intptr_t instancePtr, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal); S_API EItemUpdateStatus SteamAPI_ISteamUGC_GetItemUpdateProgress(intptr_t instancePtr, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal);
S_API SteamAPICall_t SteamAPI_ISteamUGC_SetUserItemVote(intptr_t instancePtr, PublishedFileId_t nPublishedFileID, bool bVoteUp);
S_API SteamAPICall_t SteamAPI_ISteamUGC_GetUserItemVote(intptr_t instancePtr, PublishedFileId_t nPublishedFileID);
S_API SteamAPICall_t SteamAPI_ISteamUGC_AddItemToFavorites(intptr_t instancePtr, AppId_t nAppId, PublishedFileId_t nPublishedFileID); S_API SteamAPICall_t SteamAPI_ISteamUGC_AddItemToFavorites(intptr_t instancePtr, AppId_t nAppId, PublishedFileId_t nPublishedFileID);
S_API SteamAPICall_t SteamAPI_ISteamUGC_RemoveItemFromFavorites(intptr_t instancePtr, AppId_t nAppId, PublishedFileId_t nPublishedFileID); S_API SteamAPICall_t SteamAPI_ISteamUGC_RemoveItemFromFavorites(intptr_t instancePtr, AppId_t nAppId, PublishedFileId_t nPublishedFileID);
S_API SteamAPICall_t SteamAPI_ISteamUGC_SubscribeItem(intptr_t instancePtr, PublishedFileId_t nPublishedFileID); S_API SteamAPICall_t SteamAPI_ISteamUGC_SubscribeItem(intptr_t instancePtr, PublishedFileId_t nPublishedFileID);
@@ -573,68 +583,6 @@ S_API bool SteamAPI_ISteamInventory_GetItemDefinitionIDs(intptr_t instancePtr, S
S_API bool SteamAPI_ISteamInventory_GetItemDefinitionProperty(intptr_t instancePtr, SteamItemDef_t iDefinition, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSize); S_API bool SteamAPI_ISteamInventory_GetItemDefinitionProperty(intptr_t instancePtr, SteamItemDef_t iDefinition, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSize);
S_API void SteamAPI_ISteamVideo_GetVideoURL(intptr_t instancePtr, AppId_t unVideoAppID); S_API void SteamAPI_ISteamVideo_GetVideoURL(intptr_t instancePtr, AppId_t unVideoAppID);
S_API bool SteamAPI_ISteamVideo_IsBroadcasting(intptr_t instancePtr, int * pnNumViewers); S_API bool SteamAPI_ISteamVideo_IsBroadcasting(intptr_t instancePtr, int * pnNumViewers);
S_API void SteamAPI_vr_IVRSystem_GetWindowBounds(intptr_t instancePtr, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight);
S_API void SteamAPI_vr_IVRSystem_GetRecommendedRenderTargetSize(intptr_t instancePtr, uint32_t * pnWidth, uint32_t * pnHeight);
S_API void SteamAPI_vr_IVRSystem_GetEyeOutputViewport(intptr_t instancePtr, vr::Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight);
S_API struct vr::HmdMatrix44_t SteamAPI_vr_IVRSystem_GetProjectionMatrix(intptr_t instancePtr, vr::Hmd_Eye eEye, float fNearZ, float fFarZ, vr::GraphicsAPIConvention eProjType);
S_API void SteamAPI_vr_IVRSystem_GetProjectionRaw(intptr_t instancePtr, vr::Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom);
S_API struct vr::DistortionCoordinates_t SteamAPI_vr_IVRSystem_ComputeDistortion(intptr_t instancePtr, vr::Hmd_Eye eEye, float fU, float fV);
S_API struct vr::HmdMatrix34_t SteamAPI_vr_IVRSystem_GetEyeToHeadTransform(intptr_t instancePtr, vr::Hmd_Eye eEye);
S_API bool SteamAPI_vr_IVRSystem_GetTimeSinceLastVsync(intptr_t instancePtr, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter);
S_API int32_t SteamAPI_vr_IVRSystem_GetD3D9AdapterIndex(intptr_t instancePtr);
S_API void SteamAPI_vr_IVRSystem_GetDXGIOutputInfo(intptr_t instancePtr, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex);
S_API void SteamAPI_vr_IVRSystem_AttachToWindow(intptr_t instancePtr, void * hWnd);
S_API void SteamAPI_vr_IVRSystem_GetDeviceToAbsoluteTrackingPose(intptr_t instancePtr, vr::TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, struct vr::TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount);
S_API void SteamAPI_vr_IVRSystem_ResetSeatedZeroPose(intptr_t instancePtr);
S_API struct vr::HmdMatrix34_t SteamAPI_vr_IVRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(intptr_t instancePtr);
S_API bool SteamAPI_vr_IVRSystem_LoadRenderModel(intptr_t instancePtr, const char * pchRenderModelName, struct vr::RenderModel_t * pRenderModel);
S_API void SteamAPI_vr_IVRSystem_FreeRenderModel(intptr_t instancePtr, struct vr::RenderModel_t * pRenderModel);
S_API vr::TrackedDeviceClass SteamAPI_vr_IVRSystem_GetTrackedDeviceClass(intptr_t instancePtr, vr::TrackedDeviceIndex_t unDeviceIndex);
S_API bool SteamAPI_vr_IVRSystem_IsTrackedDeviceConnected(intptr_t instancePtr, vr::TrackedDeviceIndex_t unDeviceIndex);
S_API bool SteamAPI_vr_IVRSystem_GetBoolTrackedDeviceProperty(intptr_t instancePtr, vr::TrackedDeviceIndex_t unDeviceIndex, vr::TrackedDeviceProperty prop, vr::TrackedPropertyError * pError);
S_API float SteamAPI_vr_IVRSystem_GetFloatTrackedDeviceProperty(intptr_t instancePtr, vr::TrackedDeviceIndex_t unDeviceIndex, vr::TrackedDeviceProperty prop, vr::TrackedPropertyError * pError);
S_API int32_t SteamAPI_vr_IVRSystem_GetInt32TrackedDeviceProperty(intptr_t instancePtr, vr::TrackedDeviceIndex_t unDeviceIndex, vr::TrackedDeviceProperty prop, vr::TrackedPropertyError * pError);
S_API uint64_t SteamAPI_vr_IVRSystem_GetUint64TrackedDeviceProperty(intptr_t instancePtr, vr::TrackedDeviceIndex_t unDeviceIndex, vr::TrackedDeviceProperty prop, vr::TrackedPropertyError * pError);
S_API struct vr::HmdMatrix34_t SteamAPI_vr_IVRSystem_GetMatrix34TrackedDeviceProperty(intptr_t instancePtr, vr::TrackedDeviceIndex_t unDeviceIndex, vr::TrackedDeviceProperty prop, vr::TrackedPropertyError * pError);
S_API uint32_t SteamAPI_vr_IVRSystem_GetStringTrackedDeviceProperty(intptr_t instancePtr, vr::TrackedDeviceIndex_t unDeviceIndex, vr::TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, vr::TrackedPropertyError * pError);
S_API const char * SteamAPI_vr_IVRSystem_GetPropErrorNameFromEnum(intptr_t instancePtr, vr::TrackedPropertyError error);
S_API bool SteamAPI_vr_IVRSystem_PollNextEvent(intptr_t instancePtr, struct vr::VREvent_t * pEvent);
S_API const char * SteamAPI_vr_IVRSystem_GetEventTypeNameFromEnum(intptr_t instancePtr, vr::EVREventType eType);
S_API struct vr::HiddenAreaMesh_t SteamAPI_vr_IVRSystem_GetHiddenAreaMesh(intptr_t instancePtr, vr::Hmd_Eye eEye);
S_API vr::ChaperoneCalibrationState SteamAPI_vr_IVRChaperone_GetCalibrationState(intptr_t instancePtr);
S_API bool SteamAPI_vr_IVRChaperone_GetSoftBoundsInfo(intptr_t instancePtr, struct vr::ChaperoneSoftBoundsInfo_t * pInfo);
S_API bool SteamAPI_vr_IVRChaperone_GetHardBoundsInfo(intptr_t instancePtr, struct vr::HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount);
S_API bool SteamAPI_vr_IVRChaperone_GetSeatedBoundsInfo(intptr_t instancePtr, struct vr::ChaperoneSeatedBoundsInfo_t * pInfo);
S_API uint32_t SteamAPI_vr_IVRCompositor_GetLastError(intptr_t instancePtr, char * pchBuffer, uint32_t unBufferSize);
S_API void SteamAPI_vr_IVRCompositor_SetVSync(intptr_t instancePtr, bool bVSync);
S_API bool SteamAPI_vr_IVRCompositor_GetVSync(intptr_t instancePtr);
S_API void SteamAPI_vr_IVRCompositor_SetGamma(intptr_t instancePtr, float fGamma);
S_API float SteamAPI_vr_IVRCompositor_GetGamma(intptr_t instancePtr);
S_API void SteamAPI_vr_IVRCompositor_SetGraphicsDevice(intptr_t instancePtr, vr::Compositor_DeviceType eType, void * pDevice);
S_API void SteamAPI_vr_IVRCompositor_WaitGetPoses(intptr_t instancePtr, struct vr::TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount);
S_API void SteamAPI_vr_IVRCompositor_Submit(intptr_t instancePtr, vr::Hmd_Eye eEye, void * pTexture, struct vr::Compositor_TextureBounds * pBounds);
S_API void SteamAPI_vr_IVRCompositor_ClearLastSubmittedFrame(intptr_t instancePtr);
S_API void SteamAPI_vr_IVRCompositor_GetOverlayDefaults(intptr_t instancePtr, struct vr::Compositor_OverlaySettings * pSettings);
S_API void SteamAPI_vr_IVRCompositor_SetOverlay(intptr_t instancePtr, void * pTexture, struct vr::Compositor_OverlaySettings * pSettings);
S_API void SteamAPI_vr_IVRCompositor_SetOverlayRaw(intptr_t instancePtr, void * buffer, uint32_t width, uint32_t height, uint32_t depth, struct vr::Compositor_OverlaySettings * pSettings);
S_API void SteamAPI_vr_IVRCompositor_SetOverlayFromFile(intptr_t instancePtr, const char * pchFilePath, struct vr::Compositor_OverlaySettings * pSettings);
S_API void SteamAPI_vr_IVRCompositor_ClearOverlay(intptr_t instancePtr);
S_API bool SteamAPI_vr_IVRCompositor_GetFrameTiming(intptr_t instancePtr, struct vr::Compositor_FrameTiming * pTiming, uint32_t unFramesAgo);
S_API void SteamAPI_vr_IVRCompositor_FadeToColor(intptr_t instancePtr, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground);
S_API void SteamAPI_vr_IVRCompositor_FadeGrid(intptr_t instancePtr, float fSeconds, bool bFadeIn);
S_API void SteamAPI_vr_IVRCompositor_CompositorBringToFront(intptr_t instancePtr);
S_API void SteamAPI_vr_IVRCompositor_CompositorGoToBack(intptr_t instancePtr);
S_API void SteamAPI_vr_IVRCompositor_CompositorQuit(intptr_t instancePtr);
S_API bool SteamAPI_vr_IVRCompositor_IsFullscreen(intptr_t instancePtr);
S_API uint32_t SteamAPI_vr_IVRControlPanel_GetDriverCount(intptr_t instancePtr);
S_API uint32_t SteamAPI_vr_IVRControlPanel_GetDriverId(intptr_t instancePtr, uint32_t unDriverIndex, char * pchBuffer, uint32_t unBufferLen);
S_API uint32_t SteamAPI_vr_IVRControlPanel_GetDriverDisplayCount(intptr_t instancePtr, const char * pchDriverId);
S_API uint32_t SteamAPI_vr_IVRControlPanel_GetDriverDisplayId(intptr_t instancePtr, const char * pchDriverId, uint32_t unDisplayIndex, char * pchBuffer, uint32_t unBufferLen);
S_API uint32_t SteamAPI_vr_IVRControlPanel_GetDriverDisplayModelNumber(intptr_t instancePtr, const char * pchDriverId, const char * pchDisplayId, char * pchBuffer, uint32_t unBufferLen);
S_API uint32_t SteamAPI_vr_IVRControlPanel_GetDriverDisplaySerialNumber(intptr_t instancePtr, const char * pchDriverId, const char * pchDisplayId, char * pchBuffer, uint32_t unBufferLen);
S_API uint32_t SteamAPI_vr_IVRControlPanel_LoadSharedResource(intptr_t instancePtr, const char * pchResourceName, char * pchBuffer, uint32_t unBufferLen);
S_API float SteamAPI_vr_IVRControlPanel_GetIPD(intptr_t instancePtr);
S_API void SteamAPI_vr_IVRControlPanel_SetIPD(intptr_t instancePtr, float fIPD);
S_API bool SteamAPI_ISteamGameServer_InitGameServer(intptr_t instancePtr, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString); S_API bool SteamAPI_ISteamGameServer_InitGameServer(intptr_t instancePtr, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString);
S_API void SteamAPI_ISteamGameServer_SetProduct(intptr_t instancePtr, const char * pszProduct); S_API void SteamAPI_ISteamGameServer_SetProduct(intptr_t instancePtr, const char * pszProduct);
S_API void SteamAPI_ISteamGameServer_SetGameDescription(intptr_t instancePtr, const char * pszGameDescription); S_API void SteamAPI_ISteamGameServer_SetGameDescription(intptr_t instancePtr, const char * pszGameDescription);
+122 -133
View File
@@ -330,6 +330,8 @@ internal static extern bool SteamAPI_ISteamUtils_GetEnteredGamepadTextInput(IntP
internal static extern IntPtr SteamAPI_ISteamUtils_GetSteamUILanguage(IntPtr instancePtr); internal static extern IntPtr SteamAPI_ISteamUtils_GetSteamUILanguage(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUtils_IsSteamRunningInVR")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUtils_IsSteamRunningInVR")]
internal static extern bool SteamAPI_ISteamUtils_IsSteamRunningInVR(IntPtr instancePtr); internal static extern bool SteamAPI_ISteamUtils_IsSteamRunningInVR(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationInset")]
internal static extern void SteamAPI_ISteamUtils_SetOverlayNotificationInset(IntPtr instancePtr, int nHorizontalInset, int nVerticalInset);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGameCount")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGameCount")]
internal static extern int SteamAPI_ISteamMatchmaking_GetFavoriteGameCount(IntPtr instancePtr); internal static extern int SteamAPI_ISteamMatchmaking_GetFavoriteGameCount(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGame")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGame")]
@@ -934,12 +936,18 @@ internal static extern bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(IntPtr insta
internal static extern uint SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews(IntPtr instancePtr, ulong handle, uint index); internal static extern uint SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews(IntPtr instancePtr, ulong handle, uint index);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview")]
internal static extern bool SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview(IntPtr instancePtr, ulong handle, uint index, uint previewIndex, string pchURLOrVideoID, uint cchURLSize, ref bool pbIsImage); internal static extern bool SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview(IntPtr instancePtr, ulong handle, uint index, uint previewIndex, string pchURLOrVideoID, uint cchURLSize, ref bool pbIsImage);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags")]
internal static extern uint SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags(IntPtr instancePtr, ulong handle, uint index);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag")]
internal static extern bool SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag(IntPtr instancePtr, ulong handle, uint index, uint keyValueTagIndex, string pchKey, uint cchKeySize, string pchValue, uint cchValueSize);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_ReleaseQueryUGCRequest")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_ReleaseQueryUGCRequest")]
internal static extern bool SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(IntPtr instancePtr, ulong handle); internal static extern bool SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(IntPtr instancePtr, ulong handle);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredTag")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredTag")]
internal static extern bool SteamAPI_ISteamUGC_AddRequiredTag(IntPtr instancePtr, ulong handle, string pTagName); internal static extern bool SteamAPI_ISteamUGC_AddRequiredTag(IntPtr instancePtr, ulong handle, string pTagName);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_AddExcludedTag")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_AddExcludedTag")]
internal static extern bool SteamAPI_ISteamUGC_AddExcludedTag(IntPtr instancePtr, ulong handle, string pTagName); internal static extern bool SteamAPI_ISteamUGC_AddExcludedTag(IntPtr instancePtr, ulong handle, string pTagName);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetReturnKeyValueTags")]
internal static extern bool SteamAPI_ISteamUGC_SetReturnKeyValueTags(IntPtr instancePtr, ulong handle, bool bReturnKeyValueTags);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetReturnLongDescription")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetReturnLongDescription")]
internal static extern bool SteamAPI_ISteamUGC_SetReturnLongDescription(IntPtr instancePtr, ulong handle, bool bReturnLongDescription); internal static extern bool SteamAPI_ISteamUGC_SetReturnLongDescription(IntPtr instancePtr, ulong handle, bool bReturnLongDescription);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetReturnMetadata")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetReturnMetadata")]
@@ -950,6 +958,8 @@ internal static extern bool SteamAPI_ISteamUGC_SetReturnChildren(IntPtr instance
internal static extern bool SteamAPI_ISteamUGC_SetReturnAdditionalPreviews(IntPtr instancePtr, ulong handle, bool bReturnAdditionalPreviews); internal static extern bool SteamAPI_ISteamUGC_SetReturnAdditionalPreviews(IntPtr instancePtr, ulong handle, bool bReturnAdditionalPreviews);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetReturnTotalOnly")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetReturnTotalOnly")]
internal static extern bool SteamAPI_ISteamUGC_SetReturnTotalOnly(IntPtr instancePtr, ulong handle, bool bReturnTotalOnly); internal static extern bool SteamAPI_ISteamUGC_SetReturnTotalOnly(IntPtr instancePtr, ulong handle, bool bReturnTotalOnly);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetLanguage")]
internal static extern bool SteamAPI_ISteamUGC_SetLanguage(IntPtr instancePtr, ulong handle, string pchLanguage);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetAllowCachedResponse")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetAllowCachedResponse")]
internal static extern bool SteamAPI_ISteamUGC_SetAllowCachedResponse(IntPtr instancePtr, ulong handle, uint unMaxAgeSeconds); internal static extern bool SteamAPI_ISteamUGC_SetAllowCachedResponse(IntPtr instancePtr, ulong handle, uint unMaxAgeSeconds);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetCloudFileNameFilter")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetCloudFileNameFilter")]
@@ -960,6 +970,8 @@ internal static extern bool SteamAPI_ISteamUGC_SetMatchAnyTag(IntPtr instancePtr
internal static extern bool SteamAPI_ISteamUGC_SetSearchText(IntPtr instancePtr, ulong handle, string pSearchText); internal static extern bool SteamAPI_ISteamUGC_SetSearchText(IntPtr instancePtr, ulong handle, string pSearchText);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetRankedByTrendDays")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetRankedByTrendDays")]
internal static extern bool SteamAPI_ISteamUGC_SetRankedByTrendDays(IntPtr instancePtr, ulong handle, uint unDays); internal static extern bool SteamAPI_ISteamUGC_SetRankedByTrendDays(IntPtr instancePtr, ulong handle, uint unDays);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredKeyValueTag")]
internal static extern bool SteamAPI_ISteamUGC_AddRequiredKeyValueTag(IntPtr instancePtr, ulong handle, string pKey, string pValue);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_RequestUGCDetails")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_RequestUGCDetails")]
internal static extern ulong SteamAPI_ISteamUGC_RequestUGCDetails(IntPtr instancePtr, ulong nPublishedFileID, uint unMaxAgeSeconds); internal static extern ulong SteamAPI_ISteamUGC_RequestUGCDetails(IntPtr instancePtr, ulong nPublishedFileID, uint unMaxAgeSeconds);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_CreateItem")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_CreateItem")]
@@ -970,6 +982,8 @@ internal static extern ulong SteamAPI_ISteamUGC_StartItemUpdate(IntPtr instanceP
internal static extern bool SteamAPI_ISteamUGC_SetItemTitle(IntPtr instancePtr, ulong handle, string pchTitle); internal static extern bool SteamAPI_ISteamUGC_SetItemTitle(IntPtr instancePtr, ulong handle, string pchTitle);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetItemDescription")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetItemDescription")]
internal static extern bool SteamAPI_ISteamUGC_SetItemDescription(IntPtr instancePtr, ulong handle, string pchDescription); internal static extern bool SteamAPI_ISteamUGC_SetItemDescription(IntPtr instancePtr, ulong handle, string pchDescription);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetItemUpdateLanguage")]
internal static extern bool SteamAPI_ISteamUGC_SetItemUpdateLanguage(IntPtr instancePtr, ulong handle, string pchLanguage);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetItemMetadata")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetItemMetadata")]
internal static extern bool SteamAPI_ISteamUGC_SetItemMetadata(IntPtr instancePtr, ulong handle, string pchMetaData); internal static extern bool SteamAPI_ISteamUGC_SetItemMetadata(IntPtr instancePtr, ulong handle, string pchMetaData);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetItemVisibility")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetItemVisibility")]
@@ -980,10 +994,18 @@ internal static extern bool SteamAPI_ISteamUGC_SetItemTags(IntPtr instancePtr, u
internal static extern bool SteamAPI_ISteamUGC_SetItemContent(IntPtr instancePtr, ulong handle, string pszContentFolder); internal static extern bool SteamAPI_ISteamUGC_SetItemContent(IntPtr instancePtr, ulong handle, string pszContentFolder);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetItemPreview")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetItemPreview")]
internal static extern bool SteamAPI_ISteamUGC_SetItemPreview(IntPtr instancePtr, ulong handle, string pszPreviewFile); internal static extern bool SteamAPI_ISteamUGC_SetItemPreview(IntPtr instancePtr, ulong handle, string pszPreviewFile);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemKeyValueTags")]
internal static extern bool SteamAPI_ISteamUGC_RemoveItemKeyValueTags(IntPtr instancePtr, ulong handle, string pchKey);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_AddItemKeyValueTag")]
internal static extern bool SteamAPI_ISteamUGC_AddItemKeyValueTag(IntPtr instancePtr, ulong handle, string pchKey, string pchValue);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SubmitItemUpdate")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SubmitItemUpdate")]
internal static extern ulong SteamAPI_ISteamUGC_SubmitItemUpdate(IntPtr instancePtr, ulong handle, string pchChangeNote); internal static extern ulong SteamAPI_ISteamUGC_SubmitItemUpdate(IntPtr instancePtr, ulong handle, string pchChangeNote);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_GetItemUpdateProgress")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_GetItemUpdateProgress")]
internal static extern uint SteamAPI_ISteamUGC_GetItemUpdateProgress(IntPtr instancePtr, ulong handle, ref ulong punBytesProcessed, ref ulong punBytesTotal); internal static extern uint SteamAPI_ISteamUGC_GetItemUpdateProgress(IntPtr instancePtr, ulong handle, ref ulong punBytesProcessed, ref ulong punBytesTotal);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_SetUserItemVote")]
internal static extern ulong SteamAPI_ISteamUGC_SetUserItemVote(IntPtr instancePtr, ulong nPublishedFileID, bool bVoteUp);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_GetUserItemVote")]
internal static extern ulong SteamAPI_ISteamUGC_GetUserItemVote(IntPtr instancePtr, ulong nPublishedFileID);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_AddItemToFavorites")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_AddItemToFavorites")]
internal static extern ulong SteamAPI_ISteamUGC_AddItemToFavorites(IntPtr instancePtr, uint nAppId, ulong nPublishedFileID); internal static extern ulong SteamAPI_ISteamUGC_AddItemToFavorites(IntPtr instancePtr, uint nAppId, ulong nPublishedFileID);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemFromFavorites")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemFromFavorites")]
@@ -1134,130 +1156,6 @@ internal static extern bool SteamAPI_ISteamInventory_GetItemDefinitionProperty(I
internal static extern void SteamAPI_ISteamVideo_GetVideoURL(IntPtr instancePtr, uint unVideoAppID); internal static extern void SteamAPI_ISteamVideo_GetVideoURL(IntPtr instancePtr, uint unVideoAppID);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamVideo_IsBroadcasting")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamVideo_IsBroadcasting")]
internal static extern bool SteamAPI_ISteamVideo_IsBroadcasting(IntPtr instancePtr, ref int pnNumViewers); internal static extern bool SteamAPI_ISteamVideo_IsBroadcasting(IntPtr instancePtr, ref int pnNumViewers);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetWindowBounds")]
internal static extern void SteamAPI_vr_IVRSystem_GetWindowBounds(IntPtr instancePtr, ref int pnX, ref int pnY, ref uint pnWidth, ref uint pnHeight);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetRecommendedRenderTargetSize")]
internal static extern void SteamAPI_vr_IVRSystem_GetRecommendedRenderTargetSize(IntPtr instancePtr, ref uint pnWidth, ref uint pnHeight);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetEyeOutputViewport")]
internal static extern void SteamAPI_vr_IVRSystem_GetEyeOutputViewport(IntPtr instancePtr, Hmd_Eye eEye, ref uint pnX, ref uint pnY, ref uint pnWidth, ref uint pnHeight);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetProjectionMatrix")]
internal static extern HmdMatrix44_t SteamAPI_vr_IVRSystem_GetProjectionMatrix(IntPtr instancePtr, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetProjectionRaw")]
internal static extern void SteamAPI_vr_IVRSystem_GetProjectionRaw(IntPtr instancePtr, Hmd_Eye eEye, ref float pfLeft, ref float pfRight, ref float pfTop, ref float pfBottom);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_ComputeDistortion")]
internal static extern DistortionCoordinates_t SteamAPI_vr_IVRSystem_ComputeDistortion(IntPtr instancePtr, Hmd_Eye eEye, float fU, float fV);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetEyeToHeadTransform")]
internal static extern HmdMatrix34_t SteamAPI_vr_IVRSystem_GetEyeToHeadTransform(IntPtr instancePtr, Hmd_Eye eEye);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetTimeSinceLastVsync")]
internal static extern bool SteamAPI_vr_IVRSystem_GetTimeSinceLastVsync(IntPtr instancePtr, ref float pfSecondsSinceLastVsync, ref ulong pulFrameCounter);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetD3D9AdapterIndex")]
internal static extern int SteamAPI_vr_IVRSystem_GetD3D9AdapterIndex(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetDXGIOutputInfo")]
internal static extern void SteamAPI_vr_IVRSystem_GetDXGIOutputInfo(IntPtr instancePtr, ref int pnAdapterIndex, ref int pnAdapterOutputIndex);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_AttachToWindow")]
internal static extern void SteamAPI_vr_IVRSystem_AttachToWindow(IntPtr instancePtr, IntPtr hWnd);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetDeviceToAbsoluteTrackingPose")]
internal static extern void SteamAPI_vr_IVRSystem_GetDeviceToAbsoluteTrackingPose(IntPtr instancePtr, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, [In, Out] TrackedDevicePose_t[] pTrackedDevicePoseArray, uint unTrackedDevicePoseArrayCount);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_ResetSeatedZeroPose")]
internal static extern void SteamAPI_vr_IVRSystem_ResetSeatedZeroPose(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose")]
internal static extern HmdMatrix34_t SteamAPI_vr_IVRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_LoadRenderModel")]
internal static extern bool SteamAPI_vr_IVRSystem_LoadRenderModel(IntPtr instancePtr, string pchRenderModelName, ref RenderModel_t pRenderModel);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_FreeRenderModel")]
internal static extern void SteamAPI_vr_IVRSystem_FreeRenderModel(IntPtr instancePtr, ref RenderModel_t pRenderModel);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetTrackedDeviceClass")]
internal static extern TrackedDeviceClass SteamAPI_vr_IVRSystem_GetTrackedDeviceClass(IntPtr instancePtr, TrackedDeviceIndex_t unDeviceIndex);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_IsTrackedDeviceConnected")]
internal static extern bool SteamAPI_vr_IVRSystem_IsTrackedDeviceConnected(IntPtr instancePtr, TrackedDeviceIndex_t unDeviceIndex);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetBoolTrackedDeviceProperty")]
internal static extern bool SteamAPI_vr_IVRSystem_GetBoolTrackedDeviceProperty(IntPtr instancePtr, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, ref TrackedPropertyError pError);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetFloatTrackedDeviceProperty")]
internal static extern float SteamAPI_vr_IVRSystem_GetFloatTrackedDeviceProperty(IntPtr instancePtr, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, ref TrackedPropertyError pError);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetInt32TrackedDeviceProperty")]
internal static extern int SteamAPI_vr_IVRSystem_GetInt32TrackedDeviceProperty(IntPtr instancePtr, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, ref TrackedPropertyError pError);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetUint64TrackedDeviceProperty")]
internal static extern ulong SteamAPI_vr_IVRSystem_GetUint64TrackedDeviceProperty(IntPtr instancePtr, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, ref TrackedPropertyError pError);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetMatrix34TrackedDeviceProperty")]
internal static extern HmdMatrix34_t SteamAPI_vr_IVRSystem_GetMatrix34TrackedDeviceProperty(IntPtr instancePtr, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, ref TrackedPropertyError pError);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetStringTrackedDeviceProperty")]
internal static extern uint SteamAPI_vr_IVRSystem_GetStringTrackedDeviceProperty(IntPtr instancePtr, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, System.Text.StringBuilder pchValue, uint unBufferSize, ref TrackedPropertyError pError);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetPropErrorNameFromEnum")]
internal static extern IntPtr SteamAPI_vr_IVRSystem_GetPropErrorNameFromEnum(IntPtr instancePtr, TrackedPropertyError error);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_PollNextEvent")]
internal static extern bool SteamAPI_vr_IVRSystem_PollNextEvent(IntPtr instancePtr, ref VREvent_t pEvent);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetEventTypeNameFromEnum")]
internal static extern IntPtr SteamAPI_vr_IVRSystem_GetEventTypeNameFromEnum(IntPtr instancePtr, uint eType);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRSystem_GetHiddenAreaMesh")]
internal static extern uint SteamAPI_vr_IVRSystem_GetHiddenAreaMesh(IntPtr instancePtr, Hmd_Eye eEye);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRChaperone_GetCalibrationState")]
internal static extern ChaperoneCalibrationState SteamAPI_vr_IVRChaperone_GetCalibrationState(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRChaperone_GetSoftBoundsInfo")]
internal static extern bool SteamAPI_vr_IVRChaperone_GetSoftBoundsInfo(IntPtr instancePtr, ref ChaperoneSoftBoundsInfo_t pInfo);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRChaperone_GetHardBoundsInfo")]
internal static extern bool SteamAPI_vr_IVRChaperone_GetHardBoundsInfo(IntPtr instancePtr, [In, Out] HmdQuad_t[] pQuadsBuffer, ref uint punQuadsCount);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRChaperone_GetSeatedBoundsInfo")]
internal static extern bool SteamAPI_vr_IVRChaperone_GetSeatedBoundsInfo(IntPtr instancePtr, ref ChaperoneSeatedBoundsInfo_t pInfo);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_GetLastError")]
internal static extern uint SteamAPI_vr_IVRCompositor_GetLastError(IntPtr instancePtr, System.Text.StringBuilder pchBuffer, uint unBufferSize);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_SetVSync")]
internal static extern void SteamAPI_vr_IVRCompositor_SetVSync(IntPtr instancePtr, bool bVSync);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_GetVSync")]
internal static extern bool SteamAPI_vr_IVRCompositor_GetVSync(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_SetGamma")]
internal static extern void SteamAPI_vr_IVRCompositor_SetGamma(IntPtr instancePtr, float fGamma);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_GetGamma")]
internal static extern float SteamAPI_vr_IVRCompositor_GetGamma(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_SetGraphicsDevice")]
internal static extern void SteamAPI_vr_IVRCompositor_SetGraphicsDevice(IntPtr instancePtr, Compositor_DeviceType eType, IntPtr pDevice);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_WaitGetPoses")]
internal static extern void SteamAPI_vr_IVRCompositor_WaitGetPoses(IntPtr instancePtr, [In, Out] TrackedDevicePose_t[] pPoseArray, uint unPoseArrayCount);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_Submit")]
internal static extern void SteamAPI_vr_IVRCompositor_Submit(IntPtr instancePtr, Hmd_Eye eEye, IntPtr pTexture, ref Compositor_TextureBounds pBounds);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_ClearLastSubmittedFrame")]
internal static extern void SteamAPI_vr_IVRCompositor_ClearLastSubmittedFrame(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_GetOverlayDefaults")]
internal static extern void SteamAPI_vr_IVRCompositor_GetOverlayDefaults(IntPtr instancePtr, ref Compositor_OverlaySettings pSettings);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_SetOverlay")]
internal static extern void SteamAPI_vr_IVRCompositor_SetOverlay(IntPtr instancePtr, IntPtr pTexture, ref Compositor_OverlaySettings pSettings);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_SetOverlayRaw")]
internal static extern void SteamAPI_vr_IVRCompositor_SetOverlayRaw(IntPtr instancePtr, IntPtr buffer, uint width, uint height, uint depth, ref Compositor_OverlaySettings pSettings);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_SetOverlayFromFile")]
internal static extern void SteamAPI_vr_IVRCompositor_SetOverlayFromFile(IntPtr instancePtr, string pchFilePath, ref Compositor_OverlaySettings pSettings);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_ClearOverlay")]
internal static extern void SteamAPI_vr_IVRCompositor_ClearOverlay(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_GetFrameTiming")]
internal static extern bool SteamAPI_vr_IVRCompositor_GetFrameTiming(IntPtr instancePtr, ref Compositor_FrameTiming pTiming, uint unFramesAgo);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_FadeToColor")]
internal static extern void SteamAPI_vr_IVRCompositor_FadeToColor(IntPtr instancePtr, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_FadeGrid")]
internal static extern void SteamAPI_vr_IVRCompositor_FadeGrid(IntPtr instancePtr, float fSeconds, bool bFadeIn);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_CompositorBringToFront")]
internal static extern void SteamAPI_vr_IVRCompositor_CompositorBringToFront(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_CompositorGoToBack")]
internal static extern void SteamAPI_vr_IVRCompositor_CompositorGoToBack(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_CompositorQuit")]
internal static extern void SteamAPI_vr_IVRCompositor_CompositorQuit(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRCompositor_IsFullscreen")]
internal static extern bool SteamAPI_vr_IVRCompositor_IsFullscreen(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRControlPanel_GetDriverCount")]
internal static extern uint SteamAPI_vr_IVRControlPanel_GetDriverCount(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRControlPanel_GetDriverId")]
internal static extern uint SteamAPI_vr_IVRControlPanel_GetDriverId(IntPtr instancePtr, uint unDriverIndex, string pchBuffer, uint unBufferLen);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRControlPanel_GetDriverDisplayCount")]
internal static extern uint SteamAPI_vr_IVRControlPanel_GetDriverDisplayCount(IntPtr instancePtr, string pchDriverId);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRControlPanel_GetDriverDisplayId")]
internal static extern uint SteamAPI_vr_IVRControlPanel_GetDriverDisplayId(IntPtr instancePtr, string pchDriverId, uint unDisplayIndex, string pchBuffer, uint unBufferLen);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRControlPanel_GetDriverDisplayModelNumber")]
internal static extern uint SteamAPI_vr_IVRControlPanel_GetDriverDisplayModelNumber(IntPtr instancePtr, string pchDriverId, string pchDisplayId, string pchBuffer, uint unBufferLen);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRControlPanel_GetDriverDisplaySerialNumber")]
internal static extern uint SteamAPI_vr_IVRControlPanel_GetDriverDisplaySerialNumber(IntPtr instancePtr, string pchDriverId, string pchDisplayId, string pchBuffer, uint unBufferLen);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRControlPanel_LoadSharedResource")]
internal static extern uint SteamAPI_vr_IVRControlPanel_LoadSharedResource(IntPtr instancePtr, string pchResourceName, string pchBuffer, uint unBufferLen);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRControlPanel_GetIPD")]
internal static extern float SteamAPI_vr_IVRControlPanel_GetIPD(IntPtr instancePtr);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_vr_IVRControlPanel_SetIPD")]
internal static extern void SteamAPI_vr_IVRControlPanel_SetIPD(IntPtr instancePtr, float fIPD);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamGameServer_InitGameServer")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamGameServer_InitGameServer")]
internal static extern bool SteamAPI_ISteamGameServer_InitGameServer(IntPtr instancePtr, uint unIP, char usGamePort, char usQueryPort, uint unFlags, uint nGameAppId, string pchVersionString); internal static extern bool SteamAPI_ISteamGameServer_InitGameServer(IntPtr instancePtr, uint unIP, char usGamePort, char usQueryPort, uint unFlags, uint nGameAppId, string pchVersionString);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamGameServer_SetProduct")] [DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamGameServer_SetProduct")]
@@ -1551,6 +1449,7 @@ namespace Valve.Steamworks
public abstract bool GetEnteredGamepadTextInput(string pchText,uint cchText); public abstract bool GetEnteredGamepadTextInput(string pchText,uint cchText);
public abstract string GetSteamUILanguage(); public abstract string GetSteamUILanguage();
public abstract bool IsSteamRunningInVR(); public abstract bool IsSteamRunningInVR();
public abstract void SetOverlayNotificationInset(int nHorizontalInset,int nVerticalInset);
} }
@@ -1955,31 +1854,41 @@ namespace Valve.Steamworks
public abstract bool GetQueryUGCStatistic(ulong handle,uint index,uint eStatType,ref uint pStatValue); public abstract bool GetQueryUGCStatistic(ulong handle,uint index,uint eStatType,ref uint pStatValue);
public abstract uint GetQueryUGCNumAdditionalPreviews(ulong handle,uint index); public abstract uint GetQueryUGCNumAdditionalPreviews(ulong handle,uint index);
public abstract bool GetQueryUGCAdditionalPreview(ulong handle,uint index,uint previewIndex,string pchURLOrVideoID,uint cchURLSize,ref bool pbIsImage); public abstract bool GetQueryUGCAdditionalPreview(ulong handle,uint index,uint previewIndex,string pchURLOrVideoID,uint cchURLSize,ref bool pbIsImage);
public abstract uint GetQueryUGCNumKeyValueTags(ulong handle,uint index);
public abstract bool GetQueryUGCKeyValueTag(ulong handle,uint index,uint keyValueTagIndex,string pchKey,uint cchKeySize,string pchValue,uint cchValueSize);
public abstract bool ReleaseQueryUGCRequest(ulong handle); public abstract bool ReleaseQueryUGCRequest(ulong handle);
public abstract bool AddRequiredTag(ulong handle,string pTagName); public abstract bool AddRequiredTag(ulong handle,string pTagName);
public abstract bool AddExcludedTag(ulong handle,string pTagName); public abstract bool AddExcludedTag(ulong handle,string pTagName);
public abstract bool SetReturnKeyValueTags(ulong handle,bool bReturnKeyValueTags);
public abstract bool SetReturnLongDescription(ulong handle,bool bReturnLongDescription); public abstract bool SetReturnLongDescription(ulong handle,bool bReturnLongDescription);
public abstract bool SetReturnMetadata(ulong handle,bool bReturnMetadata); public abstract bool SetReturnMetadata(ulong handle,bool bReturnMetadata);
public abstract bool SetReturnChildren(ulong handle,bool bReturnChildren); public abstract bool SetReturnChildren(ulong handle,bool bReturnChildren);
public abstract bool SetReturnAdditionalPreviews(ulong handle,bool bReturnAdditionalPreviews); public abstract bool SetReturnAdditionalPreviews(ulong handle,bool bReturnAdditionalPreviews);
public abstract bool SetReturnTotalOnly(ulong handle,bool bReturnTotalOnly); public abstract bool SetReturnTotalOnly(ulong handle,bool bReturnTotalOnly);
public abstract bool SetLanguage(ulong handle,string pchLanguage);
public abstract bool SetAllowCachedResponse(ulong handle,uint unMaxAgeSeconds); public abstract bool SetAllowCachedResponse(ulong handle,uint unMaxAgeSeconds);
public abstract bool SetCloudFileNameFilter(ulong handle,string pMatchCloudFileName); public abstract bool SetCloudFileNameFilter(ulong handle,string pMatchCloudFileName);
public abstract bool SetMatchAnyTag(ulong handle,bool bMatchAnyTag); public abstract bool SetMatchAnyTag(ulong handle,bool bMatchAnyTag);
public abstract bool SetSearchText(ulong handle,string pSearchText); public abstract bool SetSearchText(ulong handle,string pSearchText);
public abstract bool SetRankedByTrendDays(ulong handle,uint unDays); public abstract bool SetRankedByTrendDays(ulong handle,uint unDays);
public abstract bool AddRequiredKeyValueTag(ulong handle,string pKey,string pValue);
public abstract ulong RequestUGCDetails(ulong nPublishedFileID,uint unMaxAgeSeconds); public abstract ulong RequestUGCDetails(ulong nPublishedFileID,uint unMaxAgeSeconds);
public abstract ulong CreateItem(uint nConsumerAppId,uint eFileType); public abstract ulong CreateItem(uint nConsumerAppId,uint eFileType);
public abstract ulong StartItemUpdate(uint nConsumerAppId,ulong nPublishedFileID); public abstract ulong StartItemUpdate(uint nConsumerAppId,ulong nPublishedFileID);
public abstract bool SetItemTitle(ulong handle,string pchTitle); public abstract bool SetItemTitle(ulong handle,string pchTitle);
public abstract bool SetItemDescription(ulong handle,string pchDescription); public abstract bool SetItemDescription(ulong handle,string pchDescription);
public abstract bool SetItemUpdateLanguage(ulong handle,string pchLanguage);
public abstract bool SetItemMetadata(ulong handle,string pchMetaData); public abstract bool SetItemMetadata(ulong handle,string pchMetaData);
public abstract bool SetItemVisibility(ulong handle,uint eVisibility); public abstract bool SetItemVisibility(ulong handle,uint eVisibility);
public abstract bool SetItemTags(ulong updateHandle,ref SteamParamStringArray_t pTags); public abstract bool SetItemTags(ulong updateHandle,ref SteamParamStringArray_t pTags);
public abstract bool SetItemContent(ulong handle,string pszContentFolder); public abstract bool SetItemContent(ulong handle,string pszContentFolder);
public abstract bool SetItemPreview(ulong handle,string pszPreviewFile); public abstract bool SetItemPreview(ulong handle,string pszPreviewFile);
public abstract bool RemoveItemKeyValueTags(ulong handle,string pchKey);
public abstract bool AddItemKeyValueTag(ulong handle,string pchKey,string pchValue);
public abstract ulong SubmitItemUpdate(ulong handle,string pchChangeNote); public abstract ulong SubmitItemUpdate(ulong handle,string pchChangeNote);
public abstract uint GetItemUpdateProgress(ulong handle,ref ulong punBytesProcessed,ref ulong punBytesTotal); public abstract uint GetItemUpdateProgress(ulong handle,ref ulong punBytesProcessed,ref ulong punBytesTotal);
public abstract ulong SetUserItemVote(ulong nPublishedFileID,bool bVoteUp);
public abstract ulong GetUserItemVote(ulong nPublishedFileID);
public abstract ulong AddItemToFavorites(uint nAppId,ulong nPublishedFileID); public abstract ulong AddItemToFavorites(uint nAppId,ulong nPublishedFileID);
public abstract ulong RemoveItemFromFavorites(uint nAppId,ulong nPublishedFileID); public abstract ulong RemoveItemFromFavorites(uint nAppId,ulong nPublishedFileID);
public abstract ulong SubscribeItem(ulong nPublishedFileID); public abstract ulong SubscribeItem(ulong nPublishedFileID);
@@ -3157,6 +3066,11 @@ public override bool IsSteamRunningInVR()
bool result = NativeEntrypoints.SteamAPI_ISteamUtils_IsSteamRunningInVR(m_pSteamUtils); bool result = NativeEntrypoints.SteamAPI_ISteamUtils_IsSteamRunningInVR(m_pSteamUtils);
return result; return result;
} }
public override void SetOverlayNotificationInset(int nHorizontalInset,int nVerticalInset)
{
CheckIfUsable();
NativeEntrypoints.SteamAPI_ISteamUtils_SetOverlayNotificationInset(m_pSteamUtils,nHorizontalInset,nVerticalInset);
}
} }
@@ -5338,6 +5252,18 @@ public override bool GetQueryUGCAdditionalPreview(ulong handle,uint index,uint p
bool result = NativeEntrypoints.SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview(m_pSteamUGC,handle,index,previewIndex,pchURLOrVideoID,cchURLSize,ref pbIsImage); bool result = NativeEntrypoints.SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview(m_pSteamUGC,handle,index,previewIndex,pchURLOrVideoID,cchURLSize,ref pbIsImage);
return result; return result;
} }
public override uint GetQueryUGCNumKeyValueTags(ulong handle,uint index)
{
CheckIfUsable();
uint result = NativeEntrypoints.SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags(m_pSteamUGC,handle,index);
return result;
}
public override bool GetQueryUGCKeyValueTag(ulong handle,uint index,uint keyValueTagIndex,string pchKey,uint cchKeySize,string pchValue,uint cchValueSize)
{
CheckIfUsable();
bool result = NativeEntrypoints.SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag(m_pSteamUGC,handle,index,keyValueTagIndex,pchKey,cchKeySize,pchValue,cchValueSize);
return result;
}
public override bool ReleaseQueryUGCRequest(ulong handle) public override bool ReleaseQueryUGCRequest(ulong handle)
{ {
CheckIfUsable(); CheckIfUsable();
@@ -5356,6 +5282,12 @@ public override bool AddExcludedTag(ulong handle,string pTagName)
bool result = NativeEntrypoints.SteamAPI_ISteamUGC_AddExcludedTag(m_pSteamUGC,handle,pTagName); bool result = NativeEntrypoints.SteamAPI_ISteamUGC_AddExcludedTag(m_pSteamUGC,handle,pTagName);
return result; return result;
} }
public override bool SetReturnKeyValueTags(ulong handle,bool bReturnKeyValueTags)
{
CheckIfUsable();
bool result = NativeEntrypoints.SteamAPI_ISteamUGC_SetReturnKeyValueTags(m_pSteamUGC,handle,bReturnKeyValueTags);
return result;
}
public override bool SetReturnLongDescription(ulong handle,bool bReturnLongDescription) public override bool SetReturnLongDescription(ulong handle,bool bReturnLongDescription)
{ {
CheckIfUsable(); CheckIfUsable();
@@ -5386,6 +5318,12 @@ public override bool SetReturnTotalOnly(ulong handle,bool bReturnTotalOnly)
bool result = NativeEntrypoints.SteamAPI_ISteamUGC_SetReturnTotalOnly(m_pSteamUGC,handle,bReturnTotalOnly); bool result = NativeEntrypoints.SteamAPI_ISteamUGC_SetReturnTotalOnly(m_pSteamUGC,handle,bReturnTotalOnly);
return result; return result;
} }
public override bool SetLanguage(ulong handle,string pchLanguage)
{
CheckIfUsable();
bool result = NativeEntrypoints.SteamAPI_ISteamUGC_SetLanguage(m_pSteamUGC,handle,pchLanguage);
return result;
}
public override bool SetAllowCachedResponse(ulong handle,uint unMaxAgeSeconds) public override bool SetAllowCachedResponse(ulong handle,uint unMaxAgeSeconds)
{ {
CheckIfUsable(); CheckIfUsable();
@@ -5416,6 +5354,12 @@ public override bool SetRankedByTrendDays(ulong handle,uint unDays)
bool result = NativeEntrypoints.SteamAPI_ISteamUGC_SetRankedByTrendDays(m_pSteamUGC,handle,unDays); bool result = NativeEntrypoints.SteamAPI_ISteamUGC_SetRankedByTrendDays(m_pSteamUGC,handle,unDays);
return result; return result;
} }
public override bool AddRequiredKeyValueTag(ulong handle,string pKey,string pValue)
{
CheckIfUsable();
bool result = NativeEntrypoints.SteamAPI_ISteamUGC_AddRequiredKeyValueTag(m_pSteamUGC,handle,pKey,pValue);
return result;
}
public override ulong RequestUGCDetails(ulong nPublishedFileID,uint unMaxAgeSeconds) public override ulong RequestUGCDetails(ulong nPublishedFileID,uint unMaxAgeSeconds)
{ {
CheckIfUsable(); CheckIfUsable();
@@ -5446,6 +5390,12 @@ public override bool SetItemDescription(ulong handle,string pchDescription)
bool result = NativeEntrypoints.SteamAPI_ISteamUGC_SetItemDescription(m_pSteamUGC,handle,pchDescription); bool result = NativeEntrypoints.SteamAPI_ISteamUGC_SetItemDescription(m_pSteamUGC,handle,pchDescription);
return result; return result;
} }
public override bool SetItemUpdateLanguage(ulong handle,string pchLanguage)
{
CheckIfUsable();
bool result = NativeEntrypoints.SteamAPI_ISteamUGC_SetItemUpdateLanguage(m_pSteamUGC,handle,pchLanguage);
return result;
}
public override bool SetItemMetadata(ulong handle,string pchMetaData) public override bool SetItemMetadata(ulong handle,string pchMetaData)
{ {
CheckIfUsable(); CheckIfUsable();
@@ -5476,6 +5426,18 @@ public override bool SetItemPreview(ulong handle,string pszPreviewFile)
bool result = NativeEntrypoints.SteamAPI_ISteamUGC_SetItemPreview(m_pSteamUGC,handle,pszPreviewFile); bool result = NativeEntrypoints.SteamAPI_ISteamUGC_SetItemPreview(m_pSteamUGC,handle,pszPreviewFile);
return result; return result;
} }
public override bool RemoveItemKeyValueTags(ulong handle,string pchKey)
{
CheckIfUsable();
bool result = NativeEntrypoints.SteamAPI_ISteamUGC_RemoveItemKeyValueTags(m_pSteamUGC,handle,pchKey);
return result;
}
public override bool AddItemKeyValueTag(ulong handle,string pchKey,string pchValue)
{
CheckIfUsable();
bool result = NativeEntrypoints.SteamAPI_ISteamUGC_AddItemKeyValueTag(m_pSteamUGC,handle,pchKey,pchValue);
return result;
}
public override ulong SubmitItemUpdate(ulong handle,string pchChangeNote) public override ulong SubmitItemUpdate(ulong handle,string pchChangeNote)
{ {
CheckIfUsable(); CheckIfUsable();
@@ -5490,6 +5452,18 @@ public override uint GetItemUpdateProgress(ulong handle,ref ulong punBytesProces
uint result = NativeEntrypoints.SteamAPI_ISteamUGC_GetItemUpdateProgress(m_pSteamUGC,handle,ref punBytesProcessed,ref punBytesTotal); uint result = NativeEntrypoints.SteamAPI_ISteamUGC_GetItemUpdateProgress(m_pSteamUGC,handle,ref punBytesProcessed,ref punBytesTotal);
return result; return result;
} }
public override ulong SetUserItemVote(ulong nPublishedFileID,bool bVoteUp)
{
CheckIfUsable();
ulong result = NativeEntrypoints.SteamAPI_ISteamUGC_SetUserItemVote(m_pSteamUGC,nPublishedFileID,bVoteUp);
return result;
}
public override ulong GetUserItemVote(ulong nPublishedFileID)
{
CheckIfUsable();
ulong result = NativeEntrypoints.SteamAPI_ISteamUGC_GetUserItemVote(m_pSteamUGC,nPublishedFileID);
return result;
}
public override ulong AddItemToFavorites(uint nAppId,ulong nPublishedFileID) public override ulong AddItemToFavorites(uint nAppId,ulong nPublishedFileID)
{ {
CheckIfUsable(); CheckIfUsable();
@@ -6424,14 +6398,6 @@ internal static extern IntPtr SteamHTMLSurface();
internal static extern IntPtr SteamInventory(); internal static extern IntPtr SteamInventory();
[DllImportAttribute("Steam_api", EntryPoint = "SteamVideo")] [DllImportAttribute("Steam_api", EntryPoint = "SteamVideo")]
internal static extern IntPtr SteamVideo(); internal static extern IntPtr SteamVideo();
[DllImportAttribute("Steam_api", EntryPoint = "CV")]
internal static extern IntPtr CV();
[DllImportAttribute("Steam_api", EntryPoint = "CV")]
internal static extern IntPtr CV();
[DllImportAttribute("Steam_api", EntryPoint = "CV")]
internal static extern IntPtr CV();
[DllImportAttribute("Steam_api", EntryPoint = "CV")]
internal static extern IntPtr CV();
[DllImportAttribute("Steam_api", EntryPoint = "SteamGameServer")] [DllImportAttribute("Steam_api", EntryPoint = "SteamGameServer")]
internal static extern IntPtr SteamGameServer(); internal static extern IntPtr SteamGameServer();
[DllImportAttribute("Steam_api", EntryPoint = "SteamGameServerStats")] [DllImportAttribute("Steam_api", EntryPoint = "SteamGameServerStats")]
@@ -6546,6 +6512,9 @@ public enum EResult
k_EResultAccountLimitExceeded = 95, k_EResultAccountLimitExceeded = 95,
k_EResultAccountActivityLimitExceeded = 96, k_EResultAccountActivityLimitExceeded = 96,
k_EResultPhoneActivityLimitExceeded = 97, k_EResultPhoneActivityLimitExceeded = 97,
k_EResultRefundToWallet = 98,
k_EResultEmailSendFailure = 99,
k_EResultNotSettled = 100,
} }
public enum EVoiceResult public enum EVoiceResult
{ {
@@ -6927,13 +6896,15 @@ public enum EWorkshopFileType
k_EWorkshopFileTypeControllerBinding = 12, k_EWorkshopFileTypeControllerBinding = 12,
k_EWorkshopFileTypeSteamworksAccessInvite = 13, k_EWorkshopFileTypeSteamworksAccessInvite = 13,
k_EWorkshopFileTypeSteamVideo = 14, k_EWorkshopFileTypeSteamVideo = 14,
k_EWorkshopFileTypeMax = 15, k_EWorkshopFileTypeGameManagedItem = 15,
k_EWorkshopFileTypeMax = 16,
} }
public enum EWorkshopVote public enum EWorkshopVote
{ {
k_EWorkshopVoteUnvoted = 0, k_EWorkshopVoteUnvoted = 0,
k_EWorkshopVoteFor = 1, k_EWorkshopVoteFor = 1,
k_EWorkshopVoteAgainst = 2, k_EWorkshopVoteAgainst = 2,
k_EWorkshopVoteLater = 3,
} }
public enum EWorkshopFileAction public enum EWorkshopFileAction
{ {
@@ -7114,6 +7085,7 @@ public enum EUGCMatchingUGCType
k_EUGCMatchingUGCType_IntegratedGuides = 9, k_EUGCMatchingUGCType_IntegratedGuides = 9,
k_EUGCMatchingUGCType_UsableInGame = 10, k_EUGCMatchingUGCType_UsableInGame = 10,
k_EUGCMatchingUGCType_ControllerBindings = 11, k_EUGCMatchingUGCType_ControllerBindings = 11,
k_EUGCMatchingUGCType_GameManagedItems = 12,
} }
public enum EUserUGCList public enum EUserUGCList
{ {
@@ -8054,6 +8026,20 @@ public enum ESteamItemFlags
public EResult m_eResult; public EResult m_eResult;
public bool m_bWasAddRequest; public bool m_bWasAddRequest;
} }
[StructLayout(LayoutKind.Sequential)] public struct SetUserItemVoteResult_t
{
public ulong m_nPublishedFileId;
public EResult m_eResult;
public bool m_bVoteUp;
}
[StructLayout(LayoutKind.Sequential)] public struct GetUserItemVoteResult_t
{
public ulong m_nPublishedFileId;
public EResult m_eResult;
public bool m_bVotedUp;
public bool m_bVotedDown;
public bool m_bVoteSkipped;
}
[StructLayout(LayoutKind.Sequential)] public struct SteamAppInstalled_t [StructLayout(LayoutKind.Sequential)] public struct SteamAppInstalled_t
{ {
public uint m_nAppID; public uint m_nAppID;
@@ -8430,6 +8416,9 @@ public const int k_cchMaxRichPresenceValueLength = 256;
public const int k_cchStatNameMax = 128; public const int k_cchStatNameMax = 128;
public const int k_cchLeaderboardNameMax = 128; public const int k_cchLeaderboardNameMax = 128;
public const int k_cLeaderboardDetailsMax = 64; public const int k_cLeaderboardDetailsMax = 64;
public const const ClientUnifiedMessageHandle k_InvalidUnifiedMessageHandle = 0;
public const const SteamItemInstanceID_t k_SteamItemInstanceIDInvalid = 18446744073709551615;
public const const SteamInventoryResult_t k_SteamInventoryResultInvalid = -1;
public static ISteamClient SteamClient() public static ISteamClient SteamClient()
{ {
return new CSteamClient(SteamAPIInterop.SteamClient()); return new CSteamClient(SteamAPIInterop.SteamClient());
+5 -5
View File
@@ -104,7 +104,7 @@ public:
ISteamGameServerStats *SteamGameServerStats() { return m_pSteamGameServerStats; } ISteamGameServerStats *SteamGameServerStats() { return m_pSteamGameServerStats; }
ISteamHTTP *SteamHTTP() { return m_pSteamHTTP; } ISteamHTTP *SteamHTTP() { return m_pSteamHTTP; }
ISteamInventory *SteamInventory() { return m_pSteamInventory; } ISteamInventory *SteamInventory() { return m_pSteamInventory; }
ISteamUGC *SteamUGC() { return m_SteamUGC; } ISteamUGC *SteamUGC() { return m_pSteamUGC; }
private: private:
ISteamGameServer *m_pSteamGameServer; ISteamGameServer *m_pSteamGameServer;
@@ -113,7 +113,7 @@ private:
ISteamGameServerStats *m_pSteamGameServerStats; ISteamGameServerStats *m_pSteamGameServerStats;
ISteamHTTP *m_pSteamHTTP; ISteamHTTP *m_pSteamHTTP;
ISteamInventory *m_pSteamInventory; ISteamInventory *m_pSteamInventory;
ISteamUGC *m_SteamUGC; ISteamUGC *m_pSteamUGC;
}; };
inline CSteamGameServerAPIContext::CSteamGameServerAPIContext() inline CSteamGameServerAPIContext::CSteamGameServerAPIContext()
@@ -129,7 +129,7 @@ inline void CSteamGameServerAPIContext::Clear()
m_pSteamGameServerStats = NULL; m_pSteamGameServerStats = NULL;
m_pSteamHTTP = NULL; m_pSteamHTTP = NULL;
m_pSteamInventory = NULL; m_pSteamInventory = NULL;
m_SteamUGC = NULL; m_pSteamUGC = NULL;
} }
S_API ISteamClient *g_pSteamClientGameServer; S_API ISteamClient *g_pSteamClientGameServer;
@@ -166,8 +166,8 @@ inline bool CSteamGameServerAPIContext::Init()
if ( !m_pSteamInventory ) if ( !m_pSteamInventory )
return false; return false;
m_SteamUGC = g_pSteamClientGameServer->GetISteamUGC( hSteamUser, hSteamPipe, STEAMUGC_INTERFACE_VERSION ); m_pSteamUGC = g_pSteamClientGameServer->GetISteamUGC( hSteamUser, hSteamPipe, STEAMUGC_INTERFACE_VERSION );
if ( !m_SteamUGC ) if ( !m_pSteamUGC )
return false; return false;
return true; return true;
+3
View File
@@ -122,6 +122,9 @@ enum EResult
k_EResultAccountLimitExceeded = 95, // Too many accounts access this resource k_EResultAccountLimitExceeded = 95, // Too many accounts access this resource
k_EResultAccountActivityLimitExceeded = 96, // Too many changes to this account k_EResultAccountActivityLimitExceeded = 96, // Too many changes to this account
k_EResultPhoneActivityLimitExceeded = 97, // Too many changes to this phone k_EResultPhoneActivityLimitExceeded = 97, // Too many changes to this phone
k_EResultRefundToWallet = 98, // Cannot refund to payment method, must use wallet
k_EResultEmailSendFailure = 99, // Cannot send an email
k_EResultNotSettled = 100, // Can't perform operation till payment has settled
}; };
// Error codes for use with the voice functions // Error codes for use with the voice functions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-1
View File
@@ -11,7 +11,6 @@
typedef unsigned char byte; typedef unsigned char byte;
#include "GameEngine.h" #include "GameEngine.h"
#include "steam/steamvr.h"
#include <AL/al.h> #include <AL/al.h>
#include <AL/alc.h> #include <AL/alc.h>
@@ -1 +0,0 @@
Versions/Current/Headers
@@ -0,0 +1,282 @@
// Copyright (c) 2006, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Framework to provide a simple C API to crash reporting for
// applications. By default, if any machine-level exception (e.g.,
// EXC_BAD_ACCESS) occurs, it will be handled by the BreakpadRef
// object as follows:
//
// 1. Create a minidump file (see Breakpad for details)
// 2. Prompt the user (using CFUserNotification)
// 3. Invoke a command line reporting tool to send the minidump to a
// server
//
// By specifying parameters to the BreakpadCreate function, you can
// modify the default behavior to suit your needs and wants and
// desires.
// A service name associated with the original bootstrap parent port, saved in
// OnDemandServer and restored in Inspector.
#define BREAKPAD_BOOTSTRAP_PARENT_PORT "com.Breakpad.BootstrapParent"
typedef void *BreakpadRef;
#ifdef __cplusplus
extern "C" {
#endif
#include <CoreFoundation/CoreFoundation.h>
#include <Foundation/Foundation.h>
#include "BreakpadDefines.h"
// Optional user-defined function to dec to decide if we should handle
// this crash or forward it along.
// Return true if you want Breakpad to handle it.
// Return false if you want Breakpad to skip it
// The exception handler always returns false, as if SEND_AND_EXIT were false
// (which means the next exception handler will take the exception)
typedef bool (*BreakpadFilterCallback)(int exception_type,
int exception_code,
mach_port_t crashing_thread,
void *context);
// Create a new BreakpadRef object and install it as an exception
// handler. The |parameters| will typically be the contents of your
// bundle's Info.plist.
//
// You can also specify these additional keys for customizable behavior:
// Key: Value:
// BREAKPAD_PRODUCT Product name (e.g., "MyAwesomeProduct")
// This one is used as the key to identify
// the product when uploading. Falls back to
// CFBundleName if not specified.
// REQUIRED
//
// BREAKPAD_PRODUCT_DISPLAY This is the display name, e.g. a pretty
// name for the product when the crash_sender
// pops up UI for the user. Falls back first to
// CFBundleDisplayName and then to
// BREAKPAD_PRODUCT if not specified.
//
// BREAKPAD_VERSION Product version (e.g., 1.2.3), used
// as metadata for crash report. Falls back to
// CFBundleVersion if not specified.
// REQUIRED
//
// BREAKPAD_VENDOR Vendor name, used in UI (e.g. "A report has
// been created that you can send to <vendor>")
//
// BREAKPAD_URL URL destination for reporting
// REQUIRED
//
// BREAKPAD_REPORT_INTERVAL # of seconds between sending
// reports. If an additional report is
// generated within this time, it will
// be ignored. Default: 3600sec.
// Specify 0 to send all reports.
//
// BREAKPAD_SKIP_CONFIRM If true, the reporter will send the report
// without any user intervention.
// Defaults to NO
//
// BREAKPAD_CONFIRM_TIMEOUT Number of seconds before the upload
// confirmation dialog will be automatically
// dismissed (cancelling the upload).
// Default: 300 seconds (min of 60).
// Specify 0 to prevent timeout.
//
// BREAKPAD_SEND_AND_EXIT If true, the handler will exit after sending.
// This will prevent any other handler (e.g.,
// CrashReporter) from getting the crash.
// Defaults TO YES
//
// BREAKPAD_DUMP_DIRECTORY The directory to store crash-dumps
// in. By default, we use
// ~/Library/Breakpad/<BREAKPAD_PRODUCT>
// The path you specify here is tilde-expanded.
//
// BREAKPAD_INSPECTOR_LOCATION The full path to the Inspector executable.
// Defaults to <Framework resources>/Inspector
//
// BREAKPAD_REPORTER_EXE_LOCATION The full path to the Reporter/sender
// executable.
// Default:
// <Framework Resources>/crash_report_sender.app
//
// BREAKPAD_LOGFILES Indicates an array of log file paths that
// should be uploaded at crash time.
//
// BREAKPAD_REQUEST_COMMENTS If true, the message dialog will have a
// text box for the user to enter comments.
// Default: NO
//
// BREAKPAD_REQUEST_EMAIL If true and BREAKPAD_REQUEST_COMMENTS is also
// true, the message dialog will have a text
// box for the user to enter their email address.
// Default: NO
//
// BREAKPAD_SERVER_TYPE A parameter that tells Breakpad how to
// rewrite the upload parameters for a specific
// server type. The currently valid values are
// 'socorro' or 'google'. If you want to add
// other types, see the function in
// crash_report_sender.m that maps parameters to
// URL parameters. Defaults to 'google'.
//
// BREAKPAD_SERVER_PARAMETER_DICT A plist dictionary of static
// parameters that are uploaded to the
// server. The parameters are sent as
// is to the crash server. Their
// content isn't added to the minidump
// but pass as URL parameters when
// uploading theminidump to the crash
// server.
//=============================================================================
// The BREAKPAD_PRODUCT, BREAKPAD_VERSION and BREAKPAD_URL are
// required to have non-NULL values. By default, the BREAKPAD_PRODUCT
// will be the CFBundleName and the BREAKPAD_VERSION will be the
// CFBundleVersion when these keys are present in the bundle's
// Info.plist, which is usually passed in to BreakpadCreate() as an
// NSDictionary (you could also pass in another dictionary that had
// the same keys configured). If the BREAKPAD_PRODUCT or
// BREAKPAD_VERSION are ultimately undefined, BreakpadCreate() will
// fail. You have been warned.
//
// If you are running in a debugger, Breakpad will not install, unless the
// BREAKPAD_IGNORE_DEBUGGER envionment variable is set and/or non-zero.
//
// The BREAKPAD_SKIP_CONFIRM and BREAKPAD_SEND_AND_EXIT default
// values are NO and YES. However, they can be controlled by setting their
// values in a user or global plist.
//
// It's easiest to use Breakpad via the Framework, but if you're compiling the
// code in directly, BREAKPAD_INSPECTOR_LOCATION and
// BREAKPAD_REPORTER_EXE_LOCATION allow you to specify custom paths
// to the helper executables.
//
//=============================================================================
// The following are NOT user-supplied but are documented here for
// completeness. They are calculated by Breakpad during initialization &
// crash-dump generation, or entered in by the user.
//
// BREAKPAD_PROCESS_START_TIME The time, in seconds since the Epoch, the
// process started
//
// BREAKPAD_PROCESS_CRASH_TIME The time, in seconds since the Epoch, the
// process crashed.
//
// BREAKPAD_PROCESS_UP_TIME The total time in milliseconds the process
// has been running. This parameter is not
// set until the crash-dump-generation phase.
//
// BREAKPAD_LOGFILE_KEY_PREFIX Used to find out which parameters in the
// parameter dictionary correspond to log
// file paths.
//
// BREAKPAD_SERVER_PARAMETER_PREFIX This prefix is used by Breakpad
// internally, because Breakpad uses
// the same dictionary internally to
// track both its internal
// configuration parameters and
// parameters meant to be uploaded
// to the server. This string is
// used internally by Breakpad to
// prefix user-supplied parameter
// names so those can be sent to the
// server without leaking Breakpad's
// internal values.
//
// BREAKPAD_ON_DEMAND Used internally to indicate to the
// Reporter that we're sending on-demand,
// not as result of a crash.
//
// BREAKPAD_COMMENTS The text the user provided as comments.
// Only used in crash_report_sender.
// Returns a new BreakpadRef object on success, NULL otherwise.
BreakpadRef BreakpadCreate(NSDictionary *parameters);
// Uninstall and release the data associated with |ref|.
void BreakpadRelease(BreakpadRef ref);
// Clients may set an optional callback which gets called when a crash
// occurs. The callback function should return |true| if we should
// handle the crash, generate a crash report, etc. or |false| if we
// should ignore it and forward the crash (normally to CrashReporter).
// Context is a pointer to arbitrary data to make the callback with.
void BreakpadSetFilterCallback(BreakpadRef ref,
BreakpadFilterCallback callback,
void *context);
// User defined key and value string storage. Generally this is used
// to configure Breakpad's internal operation, such as whether the
// crash_sender should prompt the user, or the filesystem location for
// the minidump file. See Breakpad.h for some parameters that can be
// set. Anything longer than 255 bytes will be truncated. Note that
// the string is converted to UTF8 before truncation, so any multibyte
// character that straddles the 255(256 - 1 for terminator) byte limit
// will be mangled.
//
// A maximum number of 64 key/value pairs are supported. An assert()
// will fire if more than this number are set. Unfortunately, right
// now, the same dictionary is used for both Breakpad's parameters AND
// the Upload parameters.
//
// TODO (nealsid): Investigate how necessary this is if we don't
// automatically upload parameters to the server anymore.
// TODO (nealsid): separate server parameter dictionary from the
// dictionary used to configure Breakpad, and document limits for each
// independently.
void BreakpadSetKeyValue(BreakpadRef ref, NSString *key, NSString *value);
NSString *BreakpadKeyValue(BreakpadRef ref, NSString *key);
void BreakpadRemoveKeyValue(BreakpadRef ref, NSString *key);
// You can use this method to specify parameters that will be uploaded
// to the crash server. They will be automatically encoded as
// necessary. Note that as mentioned above there are limits on both
// the number of keys and their length.
void BreakpadAddUploadParameter(BreakpadRef ref, NSString *key,
NSString *value);
// This method will remove a previously-added parameter from the
// upload parameter set.
void BreakpadRemoveUploadParameter(BreakpadRef ref, NSString *key);
// Add a log file for Breakpad to read and send upon crash dump
void BreakpadAddLogFile(BreakpadRef ref, NSString *logPathname);
// Generate a minidump and send
void BreakpadGenerateAndSendReport(BreakpadRef ref);
void BreakpadSetComment( BreakpadRef ref, char const *pchComment );
#ifdef __cplusplus
}
#endif
@@ -0,0 +1,72 @@
// Copyright (c) 2011, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Keys for configuration file
#define kReporterMinidumpDirectoryKey "MinidumpDir"
#define kReporterMinidumpIDKey "MinidumpID"
// Filename for recording uploaded IDs
#define kReporterLogFilename "uploads.log"
// The default subdirectory of the Library to put crash dumps in
// The subdirectory is
// ~/Library/<kDefaultLibrarySubdirectory>/<GoogleBreakpadProduct>
#define kDefaultLibrarySubdirectory "Breakpad"
// Specify some special keys to be used in the configuration file that is
// generated by Breakpad and consumed by the crash_sender.
#define BREAKPAD_PRODUCT "BreakpadProduct"
#define BREAKPAD_PRODUCT_DISPLAY "BreakpadProductDisplay"
#define BREAKPAD_VERSION "BreakpadVersion"
#define BREAKPAD_VENDOR "BreakpadVendor"
#define BREAKPAD_URL "BreakpadURL"
#define BREAKPAD_REPORT_INTERVAL "BreakpadReportInterval"
#define BREAKPAD_SKIP_CONFIRM "BreakpadSkipConfirm"
#define BREAKPAD_CONFIRM_TIMEOUT "BreakpadConfirmTimeout"
#define BREAKPAD_SEND_AND_EXIT "BreakpadSendAndExit"
#define BREAKPAD_DUMP_DIRECTORY "BreakpadMinidumpLocation"
#define BREAKPAD_INSPECTOR_LOCATION "BreakpadInspectorLocation"
#define BREAKPAD_REPORTER_EXE_LOCATION \
"BreakpadReporterExeLocation"
#define BREAKPAD_LOGFILES "BreakpadLogFiles"
#define BREAKPAD_LOGFILE_UPLOAD_SIZE "BreakpadLogFileTailSize"
#define BREAKPAD_REQUEST_COMMENTS "BreakpadRequestComments"
#define BREAKPAD_COMMENTS "BreakpadComments"
#define BREAKPAD_REQUEST_EMAIL "BreakpadRequestEmail"
#define BREAKPAD_EMAIL "BreakpadEmail"
#define BREAKPAD_SERVER_TYPE "BreakpadServerType"
#define BREAKPAD_SERVER_PARAMETER_DICT "BreakpadServerParameters"
// The keys below are NOT user supplied, and are used internally.
#define BREAKPAD_PROCESS_START_TIME "BreakpadProcStartTime"
#define BREAKPAD_PROCESS_UP_TIME "BreakpadProcessUpTime"
#define BREAKPAD_PROCESS_CRASH_TIME "BreakpadProcessCrashTime"
#define BREAKPAD_LOGFILE_KEY_PREFIX "BreakpadAppLogFile"
#define BREAKPAD_SERVER_PARAMETER_PREFIX "BreakpadServerParameterPrefix_"
#define BREAKPAD_ON_DEMAND "BreakpadOnDemand"
@@ -1 +0,0 @@
Versions/Current/Resources
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>11G63</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>Breakpad</string>
<key>CFBundleIdentifier</key>
<string>com.googlecode.google-breakpad</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Breakpad</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0.compiler</string>
<key>DTPlatformBuild</key>
<string>4E3002</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>10K549</string>
<key>DTSDKName</key>
<string>macosx10.6</string>
<key>DTXcode</key>
<string>0433</string>
<key>DTXcodeBuild</key>
<string>4E3002</string>
</dict>
</plist>
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>11G63</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>crash_report_sender</string>
<key>CFBundleExecutable</key>
<string>crash_report_sender</string>
<key>CFBundleIconFile</key>
<string>crash_report_sender</string>
<key>CFBundleIdentifier</key>
<string>com.Breakpad.crash_report_sender</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>crash_report_sender</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0.compiler</string>
<key>DTPlatformBuild</key>
<string>4E3002</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>10K549</string>
<key>DTSDKName</key>
<string>macosx10.6</string>
<key>DTXcode</key>
<string>0433</string>
<key>DTXcodeBuild</key>
<string>4E3002</string>
<key>LSHasLocalizedDisplayName</key>
<true/>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
@@ -0,0 +1,282 @@
// Copyright (c) 2006, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Framework to provide a simple C API to crash reporting for
// applications. By default, if any machine-level exception (e.g.,
// EXC_BAD_ACCESS) occurs, it will be handled by the BreakpadRef
// object as follows:
//
// 1. Create a minidump file (see Breakpad for details)
// 2. Prompt the user (using CFUserNotification)
// 3. Invoke a command line reporting tool to send the minidump to a
// server
//
// By specifying parameters to the BreakpadCreate function, you can
// modify the default behavior to suit your needs and wants and
// desires.
// A service name associated with the original bootstrap parent port, saved in
// OnDemandServer and restored in Inspector.
#define BREAKPAD_BOOTSTRAP_PARENT_PORT "com.Breakpad.BootstrapParent"
typedef void *BreakpadRef;
#ifdef __cplusplus
extern "C" {
#endif
#include <CoreFoundation/CoreFoundation.h>
#include <Foundation/Foundation.h>
#include "BreakpadDefines.h"
// Optional user-defined function to dec to decide if we should handle
// this crash or forward it along.
// Return true if you want Breakpad to handle it.
// Return false if you want Breakpad to skip it
// The exception handler always returns false, as if SEND_AND_EXIT were false
// (which means the next exception handler will take the exception)
typedef bool (*BreakpadFilterCallback)(int exception_type,
int exception_code,
mach_port_t crashing_thread,
void *context);
// Create a new BreakpadRef object and install it as an exception
// handler. The |parameters| will typically be the contents of your
// bundle's Info.plist.
//
// You can also specify these additional keys for customizable behavior:
// Key: Value:
// BREAKPAD_PRODUCT Product name (e.g., "MyAwesomeProduct")
// This one is used as the key to identify
// the product when uploading. Falls back to
// CFBundleName if not specified.
// REQUIRED
//
// BREAKPAD_PRODUCT_DISPLAY This is the display name, e.g. a pretty
// name for the product when the crash_sender
// pops up UI for the user. Falls back first to
// CFBundleDisplayName and then to
// BREAKPAD_PRODUCT if not specified.
//
// BREAKPAD_VERSION Product version (e.g., 1.2.3), used
// as metadata for crash report. Falls back to
// CFBundleVersion if not specified.
// REQUIRED
//
// BREAKPAD_VENDOR Vendor name, used in UI (e.g. "A report has
// been created that you can send to <vendor>")
//
// BREAKPAD_URL URL destination for reporting
// REQUIRED
//
// BREAKPAD_REPORT_INTERVAL # of seconds between sending
// reports. If an additional report is
// generated within this time, it will
// be ignored. Default: 3600sec.
// Specify 0 to send all reports.
//
// BREAKPAD_SKIP_CONFIRM If true, the reporter will send the report
// without any user intervention.
// Defaults to NO
//
// BREAKPAD_CONFIRM_TIMEOUT Number of seconds before the upload
// confirmation dialog will be automatically
// dismissed (cancelling the upload).
// Default: 300 seconds (min of 60).
// Specify 0 to prevent timeout.
//
// BREAKPAD_SEND_AND_EXIT If true, the handler will exit after sending.
// This will prevent any other handler (e.g.,
// CrashReporter) from getting the crash.
// Defaults TO YES
//
// BREAKPAD_DUMP_DIRECTORY The directory to store crash-dumps
// in. By default, we use
// ~/Library/Breakpad/<BREAKPAD_PRODUCT>
// The path you specify here is tilde-expanded.
//
// BREAKPAD_INSPECTOR_LOCATION The full path to the Inspector executable.
// Defaults to <Framework resources>/Inspector
//
// BREAKPAD_REPORTER_EXE_LOCATION The full path to the Reporter/sender
// executable.
// Default:
// <Framework Resources>/crash_report_sender.app
//
// BREAKPAD_LOGFILES Indicates an array of log file paths that
// should be uploaded at crash time.
//
// BREAKPAD_REQUEST_COMMENTS If true, the message dialog will have a
// text box for the user to enter comments.
// Default: NO
//
// BREAKPAD_REQUEST_EMAIL If true and BREAKPAD_REQUEST_COMMENTS is also
// true, the message dialog will have a text
// box for the user to enter their email address.
// Default: NO
//
// BREAKPAD_SERVER_TYPE A parameter that tells Breakpad how to
// rewrite the upload parameters for a specific
// server type. The currently valid values are
// 'socorro' or 'google'. If you want to add
// other types, see the function in
// crash_report_sender.m that maps parameters to
// URL parameters. Defaults to 'google'.
//
// BREAKPAD_SERVER_PARAMETER_DICT A plist dictionary of static
// parameters that are uploaded to the
// server. The parameters are sent as
// is to the crash server. Their
// content isn't added to the minidump
// but pass as URL parameters when
// uploading theminidump to the crash
// server.
//=============================================================================
// The BREAKPAD_PRODUCT, BREAKPAD_VERSION and BREAKPAD_URL are
// required to have non-NULL values. By default, the BREAKPAD_PRODUCT
// will be the CFBundleName and the BREAKPAD_VERSION will be the
// CFBundleVersion when these keys are present in the bundle's
// Info.plist, which is usually passed in to BreakpadCreate() as an
// NSDictionary (you could also pass in another dictionary that had
// the same keys configured). If the BREAKPAD_PRODUCT or
// BREAKPAD_VERSION are ultimately undefined, BreakpadCreate() will
// fail. You have been warned.
//
// If you are running in a debugger, Breakpad will not install, unless the
// BREAKPAD_IGNORE_DEBUGGER envionment variable is set and/or non-zero.
//
// The BREAKPAD_SKIP_CONFIRM and BREAKPAD_SEND_AND_EXIT default
// values are NO and YES. However, they can be controlled by setting their
// values in a user or global plist.
//
// It's easiest to use Breakpad via the Framework, but if you're compiling the
// code in directly, BREAKPAD_INSPECTOR_LOCATION and
// BREAKPAD_REPORTER_EXE_LOCATION allow you to specify custom paths
// to the helper executables.
//
//=============================================================================
// The following are NOT user-supplied but are documented here for
// completeness. They are calculated by Breakpad during initialization &
// crash-dump generation, or entered in by the user.
//
// BREAKPAD_PROCESS_START_TIME The time, in seconds since the Epoch, the
// process started
//
// BREAKPAD_PROCESS_CRASH_TIME The time, in seconds since the Epoch, the
// process crashed.
//
// BREAKPAD_PROCESS_UP_TIME The total time in milliseconds the process
// has been running. This parameter is not
// set until the crash-dump-generation phase.
//
// BREAKPAD_LOGFILE_KEY_PREFIX Used to find out which parameters in the
// parameter dictionary correspond to log
// file paths.
//
// BREAKPAD_SERVER_PARAMETER_PREFIX This prefix is used by Breakpad
// internally, because Breakpad uses
// the same dictionary internally to
// track both its internal
// configuration parameters and
// parameters meant to be uploaded
// to the server. This string is
// used internally by Breakpad to
// prefix user-supplied parameter
// names so those can be sent to the
// server without leaking Breakpad's
// internal values.
//
// BREAKPAD_ON_DEMAND Used internally to indicate to the
// Reporter that we're sending on-demand,
// not as result of a crash.
//
// BREAKPAD_COMMENTS The text the user provided as comments.
// Only used in crash_report_sender.
// Returns a new BreakpadRef object on success, NULL otherwise.
BreakpadRef BreakpadCreate(NSDictionary *parameters);
// Uninstall and release the data associated with |ref|.
void BreakpadRelease(BreakpadRef ref);
// Clients may set an optional callback which gets called when a crash
// occurs. The callback function should return |true| if we should
// handle the crash, generate a crash report, etc. or |false| if we
// should ignore it and forward the crash (normally to CrashReporter).
// Context is a pointer to arbitrary data to make the callback with.
void BreakpadSetFilterCallback(BreakpadRef ref,
BreakpadFilterCallback callback,
void *context);
// User defined key and value string storage. Generally this is used
// to configure Breakpad's internal operation, such as whether the
// crash_sender should prompt the user, or the filesystem location for
// the minidump file. See Breakpad.h for some parameters that can be
// set. Anything longer than 255 bytes will be truncated. Note that
// the string is converted to UTF8 before truncation, so any multibyte
// character that straddles the 255(256 - 1 for terminator) byte limit
// will be mangled.
//
// A maximum number of 64 key/value pairs are supported. An assert()
// will fire if more than this number are set. Unfortunately, right
// now, the same dictionary is used for both Breakpad's parameters AND
// the Upload parameters.
//
// TODO (nealsid): Investigate how necessary this is if we don't
// automatically upload parameters to the server anymore.
// TODO (nealsid): separate server parameter dictionary from the
// dictionary used to configure Breakpad, and document limits for each
// independently.
void BreakpadSetKeyValue(BreakpadRef ref, NSString *key, NSString *value);
NSString *BreakpadKeyValue(BreakpadRef ref, NSString *key);
void BreakpadRemoveKeyValue(BreakpadRef ref, NSString *key);
// You can use this method to specify parameters that will be uploaded
// to the crash server. They will be automatically encoded as
// necessary. Note that as mentioned above there are limits on both
// the number of keys and their length.
void BreakpadAddUploadParameter(BreakpadRef ref, NSString *key,
NSString *value);
// This method will remove a previously-added parameter from the
// upload parameter set.
void BreakpadRemoveUploadParameter(BreakpadRef ref, NSString *key);
// Add a log file for Breakpad to read and send upon crash dump
void BreakpadAddLogFile(BreakpadRef ref, NSString *logPathname);
// Generate a minidump and send
void BreakpadGenerateAndSendReport(BreakpadRef ref);
void BreakpadSetComment( BreakpadRef ref, char const *pchComment );
#ifdef __cplusplus
}
#endif
@@ -0,0 +1,72 @@
// Copyright (c) 2011, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Keys for configuration file
#define kReporterMinidumpDirectoryKey "MinidumpDir"
#define kReporterMinidumpIDKey "MinidumpID"
// Filename for recording uploaded IDs
#define kReporterLogFilename "uploads.log"
// The default subdirectory of the Library to put crash dumps in
// The subdirectory is
// ~/Library/<kDefaultLibrarySubdirectory>/<GoogleBreakpadProduct>
#define kDefaultLibrarySubdirectory "Breakpad"
// Specify some special keys to be used in the configuration file that is
// generated by Breakpad and consumed by the crash_sender.
#define BREAKPAD_PRODUCT "BreakpadProduct"
#define BREAKPAD_PRODUCT_DISPLAY "BreakpadProductDisplay"
#define BREAKPAD_VERSION "BreakpadVersion"
#define BREAKPAD_VENDOR "BreakpadVendor"
#define BREAKPAD_URL "BreakpadURL"
#define BREAKPAD_REPORT_INTERVAL "BreakpadReportInterval"
#define BREAKPAD_SKIP_CONFIRM "BreakpadSkipConfirm"
#define BREAKPAD_CONFIRM_TIMEOUT "BreakpadConfirmTimeout"
#define BREAKPAD_SEND_AND_EXIT "BreakpadSendAndExit"
#define BREAKPAD_DUMP_DIRECTORY "BreakpadMinidumpLocation"
#define BREAKPAD_INSPECTOR_LOCATION "BreakpadInspectorLocation"
#define BREAKPAD_REPORTER_EXE_LOCATION \
"BreakpadReporterExeLocation"
#define BREAKPAD_LOGFILES "BreakpadLogFiles"
#define BREAKPAD_LOGFILE_UPLOAD_SIZE "BreakpadLogFileTailSize"
#define BREAKPAD_REQUEST_COMMENTS "BreakpadRequestComments"
#define BREAKPAD_COMMENTS "BreakpadComments"
#define BREAKPAD_REQUEST_EMAIL "BreakpadRequestEmail"
#define BREAKPAD_EMAIL "BreakpadEmail"
#define BREAKPAD_SERVER_TYPE "BreakpadServerType"
#define BREAKPAD_SERVER_PARAMETER_DICT "BreakpadServerParameters"
// The keys below are NOT user supplied, and are used internally.
#define BREAKPAD_PROCESS_START_TIME "BreakpadProcStartTime"
#define BREAKPAD_PROCESS_UP_TIME "BreakpadProcessUpTime"
#define BREAKPAD_PROCESS_CRASH_TIME "BreakpadProcessCrashTime"
#define BREAKPAD_LOGFILE_KEY_PREFIX "BreakpadAppLogFile"
#define BREAKPAD_SERVER_PARAMETER_PREFIX "BreakpadServerParameterPrefix_"
#define BREAKPAD_ON_DEMAND "BreakpadOnDemand"
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>11G63</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>Breakpad</string>
<key>CFBundleIdentifier</key>
<string>com.googlecode.google-breakpad</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Breakpad</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0.compiler</string>
<key>DTPlatformBuild</key>
<string>4E3002</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>10K549</string>
<key>DTSDKName</key>
<string>macosx10.6</string>
<key>DTXcode</key>
<string>0433</string>
<key>DTXcodeBuild</key>
<string>4E3002</string>
</dict>
</plist>
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>11G63</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>crash_report_sender</string>
<key>CFBundleExecutable</key>
<string>crash_report_sender</string>
<key>CFBundleIconFile</key>
<string>crash_report_sender</string>
<key>CFBundleIdentifier</key>
<string>com.Breakpad.crash_report_sender</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>crash_report_sender</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0.compiler</string>
<key>DTPlatformBuild</key>
<string>4E3002</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>10K549</string>
<key>DTSDKName</key>
<string>macosx10.6</string>
<key>DTXcode</key>
<string>0433</string>
<key>DTXcodeBuild</key>
<string>4E3002</string>
<key>LSHasLocalizedDisplayName</key>
<true/>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>

Some files were not shown because too many files have changed in this diff Show More