eyza-cod2 / vscode-cod-gsc

GNU General Public License v3.0
8 stars 0 forks source link

Auto complete engine script ent fields #8

Open ineedbots opened 6 hours ago

ineedbots commented 6 hours ago

Each game is different; however the engine will provide fields for script to use.

https://github.com/voron00/CoD2rev_Server/blob/master/src/game/g_client_fields.cpp#L17

eyza-cod2 commented 6 hours ago

Thats something i have in mind.

The problem is that I need to know the type of the variable, each entity / player / hudelement has different set of fields. Most of these fields might also be accessed via self keyword, so I would have to somehow trace function calls and decide the type.

Right now it's not within my ability to implement this in a reasonable amount of time.