{"id":18849827,"url":"https://github.com/mika314/qofl","last_synced_at":"2025-07-15T12:09:27.582Z","repository":{"id":148598789,"uuid":"487662268","full_name":"mika314/QofL","owner":"mika314","description":"Quality of life code snippets for Unreal Engine","archived":false,"fork":false,"pushed_at":"2025-04-01T05:54:59.000Z","size":52,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T06:30:59.714Z","etag":null,"topics":["cplusplus","cpp","unreal-engine","unreal-engine-plugin","unrealengine"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mika314.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-05-01T23:09:14.000Z","updated_at":"2025-04-01T05:55:03.000Z","dependencies_parsed_at":"2024-01-01T05:20:15.743Z","dependency_job_id":"975e4bef-8e34-4355-94d6-f488928e932c","html_url":"https://github.com/mika314/QofL","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mika314/QofL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mika314%2FQofL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mika314%2FQofL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mika314%2FQofL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mika314%2FQofL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mika314","download_url":"https://codeload.github.com/mika314/QofL/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mika314%2FQofL/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265434954,"owners_count":23764625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cplusplus","cpp","unreal-engine","unreal-engine-plugin","unrealengine"],"created_at":"2024-11-08T03:24:25.462Z","updated_at":"2025-07-15T12:09:27.556Z","avatar_url":"https://github.com/mika314.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QofL\nThe purpose of the life of this plugin is to reduce the amount of typing while writing C++ scripts for Unreal Engine projects.\n\n## Instalation\n- Drop the source directory inside `your_unreal_project/Plugins/QofL/`\n- Add a `QofL` dependency in `your_unreal_project/Source/your_unreal_project/your_unreal_project.Build.cs` file, e.g.:\n```C#\nPrivateDependencyModuleNames.AddRange(new string[] { \"HTTP\", \"Json\", \"JsonUtilities\", \"AIModule\", \"Niagara\", \"QofL\" });\n```\n\n## Logging\n\n```C++\n#include \u003cQofL/log.h\u003e\n/*...*/\nLOG(getNpcName(), \"Invalid response\");\n```\n\n## Check, Log and Return\n\n```C++\n#include \u003cQofL/check_ret.h\u003e\n/*...*/\nauto npc = gpt3.getNpc();\nCHECK_RET(npc);\n```\n\nIf function returns non-void, you can put return value after check\n\n```C++\n#include \u003cQofL/check_ret.h\u003e\n/*...*/\nauto npc = gpt3.getNpc();\nCHECK_RET(npc, false);\n```\n\n## Objects Finder\n\n```C++\n#include \u003cQofL/obj_finder.h\u003e\n/* ... */\nGetStaticMeshComponent()-\u003eSetStaticMesh(OBJ_FINDER(StaticMesh, \"BathroomAndShowersPack/Mesh_01\", \"SM_Shower_Bathtub\"));\n```\n\n## Class Finder\n\n```C++\n#include \u003cQofL/class_finder.h\u003e\n/* ... */\n  mesh-\u003eSetAnimInstanceClass(CLASS_FINDER(AnimInstance, \"Animation\", \"BP_DefaultMaleCharacterAnim\"));\n```\n\n## Get List of Overlaping Objects\n\n```C++\n#include \u003cQofL/get_overlapping.h\u003e\n/* ... */\nauto overlappingRooms = getOverlapping\u003cARoom\u003e(*pawn);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmika314%2Fqofl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmika314%2Fqofl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmika314%2Fqofl/lists"}