VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Typedefs | Functions | Variables
scriptedTaskMetaData.h File Reference

Go to the source code of this file.

Classes

class  DtScriptedTaskMetaData
 

Namespaces

 DtBufferSerialize
 

Typedefs

typedef bool(* DtEncryptDecryptFcn )(const std::string &scriptId, char *input, int inputLen, char **output, int &outputLen, bool encrypt, void *usr)
 

Functions

DT_DLL_vrfutil int DtBufferSerialize::getSize (const DtScriptedTaskMetaData &v)
 
DT_DLL_vrfutil charDtBufferSerialize::encode (const DtScriptedTaskMetaData &val, char *buffer)
 
DT_DLL_vrfutil const charDtBufferSerialize::decode (DtScriptedTaskMetaData &val, const char *buffer)
 

Variables

const int DtScriptedTaskScriptedTask = 1
 
const int DtScriptedTaskReactiveTask = 2
 
const int DtScriptedTaskBackgroundProcess = 3
 
const int DtScriptedTaskScriptedSet = 4
 
const int DtScriptedTaskScriptedBehavior = 5
 
const int DtScriptedTask_AvailableToAllDoctrines = 0x00000001
 
const int DtScriptedTask_ShowOnTopLevelRightClickMenu = 0x00000002
 
const int DtScriptedTask_UseUiFile = 0x00000004
 
const int DtScriptedTask_MagicCommand = 0x00000010
 

Typedef Documentation

typedef bool(* DtEncryptDecryptFcn)(const std::string &scriptId, char *input, int inputLen, char **output, int &outputLen, bool encrypt, void *usr)

Typedef for encrypt/decrypt function. The buffer returned either from encryption or decryption MUST be a plain string so it can be written to a file. The function will return true if the buffer is encrypted or decrypted successfully. Scripts that are encrypted and not decrypted successfully will be left blank. The output buffer must be deallocated by the caller. It is assumed allocated via a new char[length] call. If no output buffer is supplied, the output len will simply be what the buffer would be if encrypted or decrypted.

Variable Documentation

const int DtScriptedTaskScriptedTask = 1

A class for keeping track of meta data for scripted tasks. The information is currently stored in an XML format.

Referenced by DtScriptedTaskMetaData::serialize().

const int DtScriptedTaskReactiveTask = 2
const int DtScriptedTaskBackgroundProcess = 3
const int DtScriptedTaskScriptedSet = 4
const int DtScriptedTaskScriptedBehavior = 5
const int DtScriptedTask_AvailableToAllDoctrines = 0x00000001

Like a task, but different default template.

Referenced by DtScriptedTaskMetaData::serialize().

const int DtScriptedTask_ShowOnTopLevelRightClickMenu = 0x00000002
const int DtScriptedTask_UseUiFile = 0x00000004
const int DtScriptedTask_MagicCommand = 0x00000010

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)