assetFieldTypes.h
Engine/source/assets/assetFieldTypes.h
Public Defines
define
ASSET_ASSIGNMENT_TOKEN() "="
Asset assignment.
define
ASSET_ID_FIELD_PREFIX() "@asset="
define
ASSET_ID_SIGNATURE() "@asset"
Asset Id.
define
ASSET_LOOSE_FILE_FIELD_PREFIX() "@assetFile="
define
ASSET_LOOSEFILE_SIGNATURE() "@assetFile"
Asset loose file.
define
ASSET_SCOPE_TOKEN() ":"
Asset scope.
Public Variables
Public Functions
DefineConsoleType(TypeAssetLooseFilePath , String )
Detailed Description
Public Defines
ASSET_ASSIGNMENT_TOKEN() "="
Asset assignment.
ASSET_ID_FIELD_PREFIX() "@asset="
ASSET_ID_SIGNATURE() "@asset"
Asset Id.
ASSET_LOOSE_FILE_FIELD_PREFIX() "@assetFile="
ASSET_LOOSEFILE_SIGNATURE() "@assetFile"
Asset loose file.
ASSET_SCOPE_TOKEN() ":"
Asset scope.
Public Variables
StringTableEntry assetLooseFileSignature
StringTableEntry assetLooseIdSignature
Public Functions
DefineConsoleType(TypeAssetId , S32 )
DefineConsoleType(TypeAssetLooseFilePath , String )
1 2//----------------------------------------------------------------------------- 3// Copyright (c) 2013 GarageGames, LLC 4// 5// Permission is hereby granted, free of charge, to any person obtaining a copy 6// of this software and associated documentation files (the "Software"), to 7// deal in the Software without restriction, including without limitation the 8// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 9// sell copies of the Software, and to permit persons to whom the Software is 10// furnished to do so, subject to the following conditions: 11// 12// The above copyright notice and this permission notice shall be included in 13// all copies or substantial portions of the Software. 14// 15// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 21// IN THE SOFTWARE. 22//----------------------------------------------------------------------------- 23 24#ifndef _ASSET_FIELD_TYPES_H_ 25#define _ASSET_FIELD_TYPES_H_ 26 27#ifndef _CONSOLE_BASE_TYPE_H_ 28#include "console/consoleTypes.h" 29#endif 30 31//----------------------------------------------------------------------------- 32 33DefineConsoleType( TypeAssetId, S32 ) 34DefineConsoleType( TypeAssetLooseFilePath, String ) 35 36//----------------------------------------------------------------------------- 37 38/// Asset scope. 39#define ASSET_SCOPE_TOKEN ":" 40 41/// Asset assignment. 42#define ASSET_ASSIGNMENT_TOKEN "=" 43 44/// Asset Id. 45#define ASSET_ID_SIGNATURE "@asset" 46#define ASSET_ID_FIELD_PREFIX "@asset=" 47 48/// Asset loose file. 49#define ASSET_LOOSEFILE_SIGNATURE "@assetFile" 50#define ASSET_LOOSE_FILE_FIELD_PREFIX "@assetFile=" 51 52//----------------------------------------------------------------------------- 53 54extern StringTableEntry assetLooseIdSignature; 55extern StringTableEntry assetLooseFileSignature; 56 57#endif // _ASSET_FIELD_TYPES_H_ 58