{"id":24615415,"url":"https://github.com/RemRemRemRe/RemCommon","last_synced_at":"2025-10-06T07:31:27.712Z","repository":{"id":176117197,"uuid":"462376801","full_name":"RemRemRemRe/RemCommon","owner":"RemRemRemRe","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-15T17:33:51.000Z","size":286,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T19:56:30.450Z","etag":null,"topics":["cpp20","gameplay","gameplaytags","template","unreal-engine"],"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/RemRemRemRe.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,"publiccode":null,"codemeta":null}},"created_at":"2022-02-22T16:15:48.000Z","updated_at":"2025-01-15T17:33:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"94c01cf0-1309-40e6-b6fd-cf7d5f2b5dc0","html_url":"https://github.com/RemRemRemRe/RemCommon","commit_stats":null,"previous_names":["remremremre/remcommon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RemRemRemRe%2FRemCommon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RemRemRemRe%2FRemCommon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RemRemRemRe%2FRemCommon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RemRemRemRe%2FRemCommon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RemRemRemRe","download_url":"https://codeload.github.com/RemRemRemRe/RemCommon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235510119,"owners_count":19001653,"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":["cpp20","gameplay","gameplaytags","template","unreal-engine"],"created_at":"2025-01-24T22:02:01.847Z","updated_at":"2025-10-06T07:31:27.707Z","avatar_url":"https://github.com/RemRemRemRe.png","language":"C++","funding_links":[],"categories":["Utilities","Game Development"],"sub_categories":["Unreal Engine: Resources"],"readme":"[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/RemRemRemRe/RemCommon)\n\n# Features\n\n## Latent timer\n\nAn alternative timer implementation for `FTimerManager`, a [seperate page](https://remremremre.github.io/posts/Latent-Timer/) is created for it\n\n## RemEnsureCondition and RemEnsureVariable\n\nUse `RemEnsureCondition` to validate a `Condition`, if the condition is `false`, it could **optionally** execute **any number of** `InvalidHandlingStatement` you specified, trigger a breakpoint with `AssertionMacro` (ensure, ensureAlways, etc.) or `log` some message\n\n`RemEnsureVariable` is a \"pointer checker version\" of `RemEnsureCondition`\n\n### The world between `Let it crash` and `Check everything and do nothing if invalid`\n\nI divide the stages that I can code on into:\n\n1. pre-preprocessor (eg: UBT, UHT)\n\n2. compiler-time\n\n3. editor-time (working with unreal editor)\n\n4. runtime (game is running without unreal editor)\n\nI want to \"check everything\" in `editor time` to make it crash less or no crash which will bring a `better editor experience` and check unexpected things on site which is `better for debugging`\n\nI want to \"let it crash\" (zero unnecessary check) in `runtime` to gain bit more performance by disable the checking macro\n\n### RemCheckCondition and RemCheckVariable\n\nThese two are just `conditional` alias of `RemEnsureCondition` and `RemEnsureVariable` ATM, but could be implemented in other way if needed\n\nIdeally, I could accomplish things mentioned above by check everything (any `Condition`) that is only needed at editor-time with `RemCheckCondition`, and disable it at runtime, leaving `RemEnsureCondition` unchanged. like:\n\n- null asset reference\n\n- error configurations\n\n- things not matching\n\nI could replace `RemEnsureCondition` with `RemCheckCondition` (replace ensure with check) if I'm sure it's editor-only, or vice verse if problems found in play-test\n\n## Rem::Enum\n\n### Rem::Enum::BitOperation\n\nGive the ability of bitmask to enum class\n@see FDetailCustomizationUtilities::EContainerCombination\n\n### Rem::Enum::ERemCardinalDirection\n\n### Rem::Enum::EContainerCombination\n\n\n## Rem::Property\n\nSome helper functions dealing with `FProperty` series\n\n### Rem::Property::IteratePropertiesOfType\n\n## Rem::LoadAssets, Rem::IsLoaded\n\nStart loading asset(s) of `any soft reference` type\n\n## Rem::Object\n\nSome helper functions dealing with `UObject` or other things\n\n### Rem::Object::ForeachObjectInArray\n\n### Rem::IsValidPtr\n\nValidate object in a smarter way: `IsValid()` for `concept` type, `::IsValid(Object)` for `UObject`\n\n### Rem::GetNetMode\n\n### Rem::IsNetMode\n\n### Rem::is_instance\n\ncheck if a template is a instance of another template\n\n### FRemNetFilterBits\n\n### GetFirstLocalPlayer, GetFirstLocalPlayerPawn ...\n\n### FRemGameplayTagWithCategory\n\na gameplay tag wrapper that let you select tag category at editor-time / editing-time, at `per data level`, eg: in data table\n\n## FRemByteWrapper, FRemIntegerWrapper...\n\n### Rem::ArrayToWrapper\n\n## FRemTimelinePositionBase\n\n## Rem::DrawDebug\n\n### Rem::DrawDebug::DrawDebugCrossHair\n\n## Rem::GameplayTag\n\n### Rem::GameplayTag::GetFirstParent, Rem::GameplayTag::TryGetTagFromString\n\n## Rem::ScopeExit\n\n### Rem::ScopeExit::TWeakScopeExit\n\n## Macros\n\n### REM_WITH_DEVELOPMENT_ONLY_CODE\n\n### REM_DEFINE_GETTERS_RETURN_REFERENCE_SIMPLE\n\n### REM_VIRTUAL_WARN\n\nAn alternative for PURE_VIRTUAL which will cause unwanted process terminated\n\n### REM_LOG_ROLE, REM_LOG_FUNCTION, REM_LOG_ROLE_FUNCTION\n\n### Macro As Function Overloads\n\nREM_MULTI_MACRO\n\n@see `RemEnsureCondition`\n\n## Star History\n\n\u003ca href=\"https://star-history.com/#RemCommon/RemCommon\u0026Date\"\u003e\n \u003cpicture\u003e\n   \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=RemCommon/RemCommon\u0026type=Date\u0026theme=dark\" /\u003e\n   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=RemCommon/RemCommon\u0026type=Date\" /\u003e\n   \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=RemCommon/RemCommon\u0026type=Date\" /\u003e\n \u003c/picture\u003e\n\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRemRemRemRe%2FRemCommon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRemRemRemRe%2FRemCommon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRemRemRemRe%2FRemCommon/lists"}