-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathebus_component_header.snippet
47 lines (43 loc) · 1.13 KB
/
ebus_component_header.snippet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>EBus Component</Title>
<Author />
<Description>A EBus Component Header</Description>
<HelpUrl />
<SnippetTypes />
<Keywords />
<Shortcut>ebuscomp</Shortcut>
</Header>
<Snippet>
<References />
<Imports />
<Declarations>
<Literal Editable="true">
<ID>Namespace</ID>
<Type />
<ToolTip />
<Default>Namespace</Default>
<Function />
</Literal>
<Literal Editable="true">
<ID>ClassName</ID>
<Type />
<ToolTip />
<Default>ClassName</Default>
<Function />
</Literal>
</Declarations>
<Code Language="CPP"><![CDATA[#pragma once
#include <AzCore\Component\Component.h>
namespace $Namespace$ {
class $ClassName$
: public AZ::ComponentBus {
public:
};
using $ClassName$Bus = AZ::EBus<$ClassName$>;
}]]></Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>