当前位置: 首页>>代码示例>>C++>>正文


C++ CKObjectDeclaration::SetVersion方法代码示例

本文整理汇总了C++中CKObjectDeclaration::SetVersion方法的典型用法代码示例。如果您正苦于以下问题:C++ CKObjectDeclaration::SetVersion方法的具体用法?C++ CKObjectDeclaration::SetVersion怎么用?C++ CKObjectDeclaration::SetVersion使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CKObjectDeclaration的用法示例。


在下文中一共展示了CKObjectDeclaration::SetVersion方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: CreateCKObjectDeclaration

CKObjectDeclaration	*FillBehaviorPlayFFEffectDecl()
{                          
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PlayFFEffect");	
	od->SetDescription("");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x54397475,0x4ca43e26));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePlayFFEffectProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	od->SetCategory("Controllers/Joystick");
	return od;
}
开发者ID:gbaumgart,项目名称:vt,代码行数:14,代码来源:PlayEffect.cpp

示例2: CreateCKObjectDeclaration

CKObjectDeclaration	*FillBehaviorSetCIConnectionDetailsDecl(){
	CKObjectDeclaration *od = CreateCKObjectDeclaration("SetMOConnectionDetails");
	
	//od->SetDescription("Forwards");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x11fe6abc,0x7e514726));
	od->SetCategory(GBL_MEASUREDOBJECTIVE_BB_CAT);
	od->SetAuthorGuid(GBL_AUTHOR_GUID );
	od->SetAuthorName( GBL_AUTHOR );
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateSetCIConnectionDetailsProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}
开发者ID:gbaumgart,项目名称:GBL_Backup,代码行数:14,代码来源:HIDDEN_SetConnectionDetails.cpp

示例3: CreateCKObjectDeclaration

CKObjectDeclaration	*FillBehaviorKeyboardCameraOrbitDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("Keyboard Camera Orbit");
	od->SetDescription("Makes a Camera orbit round a 3D Entity using keyboard with limited angles.");
	/* rem:
	<SPAN CLASS=in>On: </SPAN>Starts the behavior.<BR>
	<SPAN CLASS=in>Off: </SPAN>Stops the behavior.<BR>
	<SPAN CLASS=out>Exit On: </SPAN>is activated when the behavior has been started.<BR>
	<SPAN CLASS=out>Exit Off: </SPAN>is activated when the behavior has been stop. If in "return" mode, is activated only once the camera is back in place.<BR>
	<BR>
	<SPAN CLASS=pin>Target Position: </SPAN>Position we are turning around.<BR>
	<SPAN CLASS=pin>Target Referential: </SPAN>Referential where the position is defined.<BR>
	<SPAN CLASS=pin>Move Speed: </SPAN>Speed in angle per second used when the user moves the camera.<BR>
	<SPAN CLASS=pin>Return Speed: </SPAN>Speed in angle per second used when the camera returns.<BR>
	<SPAN CLASS=pin>Min Horizontal: </SPAN>Minimal angle allowed on the horizontal rotation. Must have a negative value.<BR>
	<SPAN CLASS=pin>Max Horizontal:</SPAN>Maximal angle allowed on the horizontal rotation. Must have a positive value.<BR>
	<SPAN CLASS=pin>Min Vertical: </SPAN>Minimal angle allowed on the vertical rotation. Must have a negative value.<BR>
	<SPAN CLASS=pin>Max Vertical: </SPAN>Maximal angle allowed on the vertical rotation. Must have a positive value.<BR>
	<SPAN CLASS=pin>Zoom Speed: </SPAN>Speed of the zoom in distance per second.<BR>
	<SPAN CLASS=pin>Zoom Min: </SPAN>Minimum zoom value allowed. Must have a negative value.<BR>
	<SPAN CLASS=pin>Zoom Max: </SPAN>Maximum zoom value allowed. Must have a positive value.<BR>
	<BR>
	The following keys are used by default to move the Camera around its target:<BR>
	<BR>
	<FONT COLOR=#FFFFFF>Page Up: </FONT>Zoom in.<BR>
	<FONT COLOR=#FFFFFF>Page Down: </FONT>Zoom out.<BR>
	<FONT COLOR=#FFFFFF>Up and Down Arrows: </FONT>Rotate vertically.<BR>
	<FONT COLOR=#FFFFFF>Left and Right Arrows: </FONT>Rotate horizontally.<BR>
	The arrow keys are the inverted T arrow keys and not the ones of the numeric keypad.<BR>
  <BR>
	<SPAN CLASS=setting>Returns: </SPAN>Does the camera systematically returns to its original position.<BR> 
	<SPAN CLASS=setting>Key Rotate Left: </SPAN>Key used to rotate left.<BR> 
	<SPAN CLASS=setting>Key Rotate Right: </SPAN>Key used to rotate right.<BR> 
	<SPAN CLASS=setting>Key Rotate Up: </SPAN>Key used to rotate up.<BR> 
	<SPAN CLASS=setting>Key Rotate Down: </SPAN>Key used to rotate down.<BR> 
	<SPAN CLASS=setting>Key Zoom in: </SPAN>Key used to zoom in.<BR> 
	<SPAN CLASS=setting>Key Zoom out: </SPAN>Key used to zoom in.<BR> 
  <BR>
	*/
	od->SetCategory("Cameras/Movement");
	od->SetType(CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x7610f4d,0x69747b9d));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateKeyboardCameraOrbitProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(INPUT_MANAGER_GUID);
	return od;
}
开发者ID:gbaumgart,项目名称:vt,代码行数:50,代码来源:LimitedCameraOrbit.cpp

示例4: CreateCKObjectDeclaration

CKObjectDeclaration	*FillBehaviorMidiEventDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("Midi Event");
	od->SetDescription("Gets a Midi event ON/OFF.");
	od->SetCategory("Controllers/Midi");
	od->SetType(CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x7c652f90,0x64404377));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateMidiEventBehaviorProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}
开发者ID:gbaumgart,项目名称:vt,代码行数:14,代码来源:MidiEvent.cpp

示例5: CreateCKObjectDeclaration

CKObjectDeclaration	*FillBehaviorHasFFEffectsDecl()
{                          
	CKObjectDeclaration *od = CreateCKObjectDeclaration("JHasForceFeedback");	
	od->SetDescription("");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x12641a78,0x7ca70c45));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateHasFFEffectsProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	od->SetCategory("Controllers/Joystick");
	return od;
}
开发者ID:gbaumgart,项目名称:vt,代码行数:14,代码来源:hasFFe.cpp

示例6: CreateCKObjectDeclaration

CKObjectDeclaration	*FillBehaviorGetNextBBIdDecl()
{                          
	CKObjectDeclaration *od = CreateCKObjectDeclaration("GetNextBBId");	
	od->SetDescription("Returns behavior id of first found and connected building block or behavior graph");

	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x572066cc,0x58402b59));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Günter Baumgart");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateGetNextBBIdProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	od->SetCategory("Narratives");
	return od;
}
开发者ID:gbaumgart,项目名称:vt,代码行数:15,代码来源:GetSubBBId.cpp

示例7: CreateCKObjectDeclaration

CKObjectDeclaration	*FillBehaviorGBLCIGetCIS_IDListDecl(){
	CKObjectDeclaration *od = CreateCKObjectDeclaration(GBL_CI_API_ENTRY("GetCIS_IDList"));
	//od->SetDescription("Saves a Configurable Information Set");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x74ba42ff,0x67817c3f));
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetCategory(GBL_CUSTOMISATION_BB_CAT);
	od->SetAuthorGuid(GBL_AUTHOR_GUID );
	od->SetAuthorName( GBL_AUTHOR );
	od->SetVersion(0x00010000);

	od->SetCreationFunction(CreateGBLCIGetCIS_IDListProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}
开发者ID:gbaumgart,项目名称:GBL_Backup,代码行数:15,代码来源:GBLCIGetCIS_IDList.cpp

示例8: CreateCKObjectDeclaration

/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviorCISIteratorBBDecl( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************/
CKObjectDeclaration	*FillBehaviorCISIteratorBBDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration(GBL_CI_API_ENTRY("CISIterator"));
	od->SetDescription("Iterator for CIS");
	od->SetCategory(GBL_CUSTOMISATION_BB_CAT);
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x62570c75,0x23836ccf));
	od->SetAuthorGuid(GBL_AUTHOR_GUID );
	od->SetAuthorName( GBL_AUTHOR );
	od->SetVersion(0x00010000);

	od->SetCreationFunction(CreateCISIteratorBBProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}
开发者ID:gbaumgart,项目名称:GBL_Backup,代码行数:37,代码来源:GBLCICISIterator.cpp

示例9: CreateCKObjectDeclaration

CKObjectDeclaration	*FillBehaviorLogEntryDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("pLogEvent");	
	od->SetDescription("Displays Internal Log Entries");
	
	od->SetCategory("Physics/Manager");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x512542dc,0x1b836fd9));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateLogEntryProto);
	od->SetCompatibleClassId(CKCID_OBJECT);
	return od;
}
开发者ID:gbaumgart,项目名称:vt,代码行数:15,代码来源:LogOut.cpp

示例10: CreateCKObjectDeclaration

//************************************
// Method:    FillBehaviorPBSetTriggerMaskDecl
// FullName:  FillBehaviorPBSetTriggerMaskDecl
// Access:    public 
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPBSetTriggerMaskDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PCSetTriggerMask");	
	od->SetCategory("Physic/Collision");
	od->SetDescription("Modifies trigger mask");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x27ae51d4,0x45bf2c6c));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePBSetTriggerMaskProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
开发者ID:gbaumgart,项目名称:vt,代码行数:23,代码来源:PBSetTriggerMask.cpp

示例11: CreateCKObjectDeclaration

/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLStorageManagerStateTestBB::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLStorageManagerStateTestBB" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLStorageManagerStateTestBB::CreatePrototype );
    objectDeclaration->SetDescription( "Unit test BB for the state access interface on storage manager" );
    objectDeclaration->SetCategory( "GBL" );
    objectDeclaration->SetGuid( CKGUID( 0xc6e54ad0, 0x248caa39 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
开发者ID:gbaumgart,项目名称:GBL_Backup,代码行数:39,代码来源:GBLStorageManagerStateTestBB.cpp

示例12: CreateCKObjectDeclaration

/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFCreate::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFCreate" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFCreate::CreatePrototype );
    objectDeclaration->SetDescription( "Create a new user or team" );
    objectDeclaration->SetCategory( "GBL/Profile Controller" );
    objectDeclaration->SetGuid( CKGUID( 0xaf6b6e2e, 0x5ecaf451 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
开发者ID:gbaumgart,项目名称:GBL_Backup,代码行数:39,代码来源:GBLPFCreate.cpp

示例13: CreateCKObjectDeclaration

/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFDelete::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFDelete" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFDelete::CreatePrototype );
    objectDeclaration->SetDescription( "Delete a player" );
    objectDeclaration->SetCategory( "GBL/Profile Controller" );
    objectDeclaration->SetGuid( CKGUID( 0xa823eea6, 0xc5ab9b76 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
开发者ID:gbaumgart,项目名称:GBL_Backup,代码行数:39,代码来源:GBLPFDelete.cpp

示例14: CreateCKObjectDeclaration

/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFRemovePlayer::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFRemovePlayer" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFRemovePlayer::CreatePrototype );
    objectDeclaration->SetDescription( "Remove player from a team" );
    objectDeclaration->SetCategory( "GBL/Profile Controller" );
    objectDeclaration->SetGuid( CKGUID( 0x63e258c8, 0x366289c5 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
开发者ID:gbaumgart,项目名称:GBL_Backup,代码行数:39,代码来源:GBLPFRemovePlayer.cpp

示例15: FillBehaviour

/*
 *******************************************************************
 * Function: FillBehaviour()
 *
 * Description : A standard Virtools function to define the type and locaation of the BB
 *
 *
 * Returns :  Pointer to the filled object declaration
 *
 *******************************************************************
*/
CKObjectDeclaration* CGBLListBox::FillBehaviour()
{
	CKObjectDeclaration *objectDecl = CreateCKObjectDeclaration("GBLListBox");	
	
	objectDecl->SetDescription("Displays a scrolling list of selectable text strings");
	objectDecl->SetType(CKDLL_BEHAVIORPROTOTYPE);
	objectDecl->SetVersion(0x00010000);
	objectDecl->SetCreationFunction(CreateBehaviourPrototype);
	objectDecl->SetCategory("GBL/Interface");
	objectDecl->SetGuid(CKGUID(0xae5c24a0, 0xd69428a0));
	objectDecl->SetAuthorGuid(CKGUID(0x56495254,0x4f4f4c53));
	objectDecl->SetAuthorName("Teleca");
	objectDecl->SetCompatibleClassId(CKCID_2DENTITY);

	return objectDecl;
}
开发者ID:gbaumgart,项目名称:GBL_Backup,代码行数:27,代码来源:GBLListBox.cpp


注:本文中的CKObjectDeclaration::SetVersion方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。