Title: Add hook and extension variables features · Issue #571 · wurstscript/WurstScript · GitHub
Open Graph Title: Add hook and extension variables features · Issue #571 · wurstscript/WurstScript
X Title: Add hook and extension variables features · Issue #571 · wurstscript/WurstScript
Description: I'd wanted to see any of these new possibilities in Wurst. I believe they're very helpful in some rare occasions to keep code clean and well-organized, at least for me. For extension variables I mean something like UnitWrapper ... int Un...
Open Graph Description: I'd wanted to see any of these new possibilities in Wurst. I believe they're very helpful in some rare occasions to keep code clean and well-organized, at least for me. For extension variables I me...
X Description: I'd wanted to see any of these new possibilities in Wurst. I believe they're very helpful in some rare occasions to keep code clean and well-organized, at least for me. For extension variab...
Opengraph URL: https://github.com/wurstscript/WurstScript/issues/571
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add hook and extension variables features","articleBody":"I'd wanted to see any of these new possibilities in Wurst. I believe they're very helpful in some rare occasions to keep code clean and well-organized, at least for me.\r\nFor extension variables I mean something like `UnitWrapper ... int UnitWrapper.killCount ... u.killCount += 1` as an example. I think that their initialization can be hooked to construct and onDestroy (like `hook UnitWrapper.construct /n/t killCount = 0` for my example). And I mean they're restricted to class types only.\r\nProbably they could be allowed only with special flags like `hookable` and `extensible`.","author":{"url":"https://github.com/Trokkin","@type":"Person","name":"Trokkin"},"datePublished":"2017-11-11T15:47:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/571/WurstScript/issues/571"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1b04a939-581c-360a-1946-4091675d145d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5E0:F4108:248163F:31313E9:698DA525 |
| html-safe-nonce | ad1fa42c7a8d87184a236ba357fc1243a29108698d29ab7a07825bdf2edef859 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUUwOkY0MTA4OjI0ODE2M0Y6MzEzMTNFOTo2OThEQTUyNSIsInZpc2l0b3JfaWQiOiIzMjEwOTc0NDg2MzQ2OTY2MzA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9e0e2995543ed2bdaa1b3ff54d9ad99e7a8b8bd94cfeeac42db7fab7acc6bc00 |
| hovercard-subject-tag | issue:273154326 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/wurstscript/WurstScript/571/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6a6803963190c7d4c4be613d51d46722b33dbf89a57249adcd2534acc3af17d8/wurstscript/WurstScript/issues/571 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a6803963190c7d4c4be613d51d46722b33dbf89a57249adcd2534acc3af17d8/wurstscript/WurstScript/issues/571 |
| og:image:alt | I'd wanted to see any of these new possibilities in Wurst. I believe they're very helpful in some rare occasions to keep code clean and well-organized, at least for me. For extension variables I me... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Trokkin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c7947c0c592efeab6162b9909ad11fa43bff8b0cb5ff43273dc25e41979d43e |
| turbo-cache-control | no-preview |
| go-import | github.com/wurstscript/WurstScript git https://github.com/wurstscript/WurstScript.git |
| octolytics-dimension-user_id | 30814797 |
| octolytics-dimension-user_login | wurstscript |
| octolytics-dimension-repository_id | 3584229 |
| octolytics-dimension-repository_nwo | wurstscript/WurstScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3584229 |
| octolytics-dimension-repository_network_root_nwo | wurstscript/WurstScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0562b88b05bab6c9b1cf780b4a66b9334b3a602a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width