68 lines
2.0 KiB
Plaintext
68 lines
2.0 KiB
Plaintext
<?xml version="1.0" encoding="utf-8"?>
|
|
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
|
|
<CodeSnippet Format="1.0.0">
|
|
<Header>
|
|
<SnippetTypes>
|
|
<SnippetType>Expansion</SnippetType>
|
|
</SnippetTypes>
|
|
<Title>unreal-bpprop</Title>
|
|
<Author>Epic Games</Author>
|
|
<Description>Unreal Engine blueprint property snippet</Description>
|
|
<HelpUrl>
|
|
</HelpUrl>
|
|
<Shortcut>unreal-bpprop</Shortcut>
|
|
</Header>
|
|
<Snippet>
|
|
<Declarations>
|
|
<Literal Editable="true">
|
|
<ID>comment</ID>
|
|
<ToolTip>Property comment</ToolTip>
|
|
<Default>Comment</Default>
|
|
<Function>
|
|
</Function>
|
|
</Literal>
|
|
<Literal Editable="true">
|
|
<ID>category</ID>
|
|
<ToolTip>UI category name</ToolTip>
|
|
<Default>MyProject</Default>
|
|
<Function>
|
|
</Function>
|
|
</Literal>
|
|
<Literal Editable="true">
|
|
<ID>defaultsAttribute</ID>
|
|
<ToolTip>Defaults attribute</ToolTip>
|
|
<Default>EditAnywhere</Default>
|
|
<Function>
|
|
</Function>
|
|
</Literal>
|
|
<Literal Editable="true">
|
|
<ID>instanceAttribute</ID>
|
|
<ToolTip>Instance attribute</ToolTip>
|
|
<Default>BlueprintReadWrite</Default>
|
|
<Function>
|
|
</Function>
|
|
</Literal>
|
|
<Literal Editable="true">
|
|
<ID>type</ID>
|
|
<ToolTip>Property type</ToolTip>
|
|
<Default>Type</Default>
|
|
<Function>
|
|
</Function>
|
|
</Literal>
|
|
<Literal Editable="true">
|
|
<ID>name</ID>
|
|
<ToolTip>Property name</ToolTip>
|
|
<Default>Name</Default>
|
|
<Function>
|
|
</Function>
|
|
</Literal>
|
|
</Declarations>
|
|
<Code Language="cpp"><![CDATA[/**
|
|
* $comment$
|
|
*/
|
|
UPROPERTY($defaultsAttribute$, $instanceAttribute$, Category="$category$")
|
|
$type$ $name$;
|
|
$selected$ $end$]]></Code>
|
|
</Snippet>
|
|
</CodeSnippet>
|
|
</CodeSnippets> |