Skip to content

Commit

Permalink
Renamed Snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
ManasMakde committed Dec 20, 2024
1 parent 2d4772f commit 8e97e5b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { HTMLSkeleton, H1 } from "./global.jsx"

export const snippet_title = "Exposing Static Constant to Blueprint from C++ in Unreal Engine"
export const snippet_title = "Exposing C++ Static Constant to Blueprint in Unreal Engine"
export const snippet_category = "Unreal Engine"

<HTMLSkeleton RegisterToSiteGuide={{ category : snippet_category, title : snippet_title }} UseLocalGuide={true}>
Expand Down
2 changes: 1 addition & 1 deletion _static/siteguide.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"/snippets/unreal-engine/ue-uinterfaces/":{"category":"Unreal Engine","title":"UInterfaces in Unreal Engine C++"},"/snippets/unreal-engine/ue-udelegates/":{"category":"Unreal Engine","title":"UDelegates in Unreal Engine C++"},"/snippets/unreal-engine/ue-custom-component/":{"category":"Unreal Engine","title":"Custom components in Unreal Engine C++"},"/snippets/unreal-engine/ue-expose-static-constant-to-bp/":{"category":"Unreal Engine","title":"Exposing Static Constant to Blueprint from C++ in Unreal Engine"},"/snippets/unreal-engine/ue-uenums/":{"category":"Unreal Engine","title":"UEnums in Unreal Engine C++"},"/snippets/unreal-engine/ue-ustructs/":{"category":"Unreal Engine","title":"UStructs in Unreal Engine C++"},"/snippets/cpp/virtual-functions-in-cpp/":{"category":"C++","title":"Virtual Functions in C++"},"/snippets/cpp/cpp-hello-world/":{"category":"C++","title":"Hello World in C++"}}
{"/snippets/unreal-engine/ue-uinterfaces/":{"category":"Unreal Engine","title":"UInterfaces in Unreal Engine C++"},"/snippets/unreal-engine/ue-udelegates/":{"category":"Unreal Engine","title":"UDelegates in Unreal Engine C++"},"/snippets/unreal-engine/ue-custom-component/":{"category":"Unreal Engine","title":"Custom components in Unreal Engine C++"},"/snippets/unreal-engine/ue-expose-static-constant-to-bp/":{"category":"Unreal Engine","title":"Exposing C++ Static Constant to Blueprint in Unreal Engine"},"/snippets/unreal-engine/ue-uenums/":{"category":"Unreal Engine","title":"UEnums in Unreal Engine C++"},"/snippets/unreal-engine/ue-ustructs/":{"category":"Unreal Engine","title":"UStructs in Unreal Engine C++"},"/snippets/cpp/virtual-functions-in-cpp/":{"category":"C++","title":"Virtual Functions in C++"},"/snippets/cpp/cpp-hello-world/":{"category":"C++","title":"Hello World in C++"}}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>SourceSnippet</title></head><body><h1>Welcome to <a href="https://github.com/sourcesnippet/sourcesnippet.github.io" style="color:CanvasText;text-decoration:underline">SourceSnippet</a></h1><div style="opacity:.75"> - Years of experience, Stored in snippets </div><hr><br><h1>Unreal Engine</h1><ol><li style="margin-top:1rem"><a target="_blank" href="/snippets/unreal-engine/ue-custom-component/">Custom components in Unreal Engine C++</a></li><li style="margin-top:1rem"><a target="_blank" href="/snippets/unreal-engine/ue-expose-static-constant-to-bp/">Exposing Static Constant to Blueprint from C++ in Unreal Engine</a></li><li style="margin-top:1rem"><a target="_blank" href="/snippets/unreal-engine/ue-udelegates/">UDelegates in Unreal Engine C++</a></li><li style="margin-top:1rem"><a target="_blank" href="/snippets/unreal-engine/ue-uenums/">UEnums in Unreal Engine C++</a></li><li style="margin-top:1rem"><a target="_blank" href="/snippets/unreal-engine/ue-uinterfaces/">UInterfaces in Unreal Engine C++</a></li><li style="margin-top:1rem"><a target="_blank" href="/snippets/unreal-engine/ue-ustructs/">UStructs in Unreal Engine C++</a></li></ol><br><h1>C++</h1><ol><li style="margin-top:1rem"><a target="_blank" href="/snippets/cpp/cpp-hello-world/">Hello World in C++</a></li><li style="margin-top:1rem"><a target="_blank" href="/snippets/cpp/virtual-functions-in-cpp/">Virtual Functions in C++</a></li></ol><style>body{background-color:Canvas;color:CanvasText;color-scheme:light dark;font-size:18px;margin:0 auto;max-width:700px;line-height:1.3;padding:40px 1rem}a{text-decoration:none}a:hover{text-decoration:underline}</style></body></html>
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>SourceSnippet</title></head><body><h1>Welcome to <a href="https://github.com/sourcesnippet/sourcesnippet.github.io" style="color:CanvasText;text-decoration:underline">SourceSnippet</a></h1><div style="opacity:.75"> - Years of experience, Stored in snippets </div><hr><br><h1>Unreal Engine</h1><ol><li style="margin-top:1rem"><a target="_blank" href="/snippets/unreal-engine/ue-custom-component/">Custom components in Unreal Engine C++</a></li><li style="margin-top:1rem"><a target="_blank" href="/snippets/unreal-engine/ue-expose-static-constant-to-bp/">Exposing C++ Static Constant to Blueprint in Unreal Engine</a></li><li style="margin-top:1rem"><a target="_blank" href="/snippets/unreal-engine/ue-udelegates/">UDelegates in Unreal Engine C++</a></li><li style="margin-top:1rem"><a target="_blank" href="/snippets/unreal-engine/ue-uenums/">UEnums in Unreal Engine C++</a></li><li style="margin-top:1rem"><a target="_blank" href="/snippets/unreal-engine/ue-uinterfaces/">UInterfaces in Unreal Engine C++</a></li><li style="margin-top:1rem"><a target="_blank" href="/snippets/unreal-engine/ue-ustructs/">UStructs in Unreal Engine C++</a></li></ol><br><h1>C++</h1><ol><li style="margin-top:1rem"><a target="_blank" href="/snippets/cpp/cpp-hello-world/">Hello World in C++</a></li><li style="margin-top:1rem"><a target="_blank" href="/snippets/cpp/virtual-functions-in-cpp/">Virtual Functions in C++</a></li></ol><style>body{background-color:Canvas;color:CanvasText;color-scheme:light dark;font-size:18px;margin:0 auto;max-width:700px;line-height:1.3;padding:40px 1rem}a{text-decoration:none}a:hover{text-decoration:underline}</style></body></html>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Exposing Static Constant to Blueprint from C++ in Unreal Engine - SourceSnippet</title><link rel="stylesheet" href="/_static/codestyle.css"><style>body{background-color:Canvas;color:CanvasText;color-scheme:light dark;font-size:18px;margin:0 auto;max-width:700px;line-height:1.3;padding:40px 1rem}</style></head><body><h1>Exposing Static Constant to Blueprint from C++ in Unreal Engine</h1><hr><br><p><strong>Note:</strong> this is more of a workaround</p><pre><code class="hljs language-cpp"><span class="hljs-comment">// ExampleObject.h file</span>
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Exposing C++ Static Constant to Blueprint in Unreal Engine - SourceSnippet</title><link rel="stylesheet" href="/_static/codestyle.css"><style>body{background-color:Canvas;color:CanvasText;color-scheme:light dark;font-size:18px;margin:0 auto;max-width:700px;line-height:1.3;padding:40px 1rem}</style></head><body><h1>Exposing C++ Static Constant to Blueprint in Unreal Engine</h1><hr><br><p><strong>Note:</strong> this is more of a workaround</p><pre><code class="hljs language-cpp"><span class="hljs-comment">// ExampleObject.h file</span>

<span class="hljs-built_in">UCLASS</span>()
<span class="hljs-keyword">class</span> <span class="hljs-title class_">MYPROJECT_API</span> UExampleStatic : <span class="hljs-keyword">public</span> UBlueprintFunctionLibrary
Expand Down

0 comments on commit 8e97e5b

Please sign in to comment.