-
Notifications
You must be signed in to change notification settings - Fork 0
Native way to get struct keys #59
Copy link
Copy link
Closed
Labels
component: clientIssue related to the game clientIssue related to the game clientfeatureRequest for new featureRequest for new featuregame: T6Issue related to T6Issue related to T6mode: MPIssue only affecting MultiplayerIssue only affecting Multiplayer
Milestone
Metadata
Metadata
Assignees
Labels
component: clientIssue related to the game clientIssue related to the game clientfeatureRequest for new featureRequest for new featuregame: T6Issue related to T6Issue related to T6mode: MPIssue only affecting MultiplayerIssue only affecting Multiplayer
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
Summary
A method that returns the keys of a struct.
Simular to the now defunct
getStructKeys(struct)from t6-gsc-utilsWhy?
Extremely useful for debugging/researching non-map entities like killstreaks and equipment. Right now there is no way to easily know what the properties of these entities are. You have to rely on existing dumps, read sourcecode or read the memory using an external tool.
When it was still functional with t6-utils, I used the feature constantly and its been very time consuming to develop without it. With other functionality from t6-utils having already been integrated into the engine, this would be a perfect next choice.
Proposed solution
A new method that takes in a struct and returns an array of struct key names.
Affected game(s)
BO2 Multiplayer (T6MP)
Affected component(s)
Client (game)
Additional information
No response