Limitation to variable name length
#1

Here's the thing. I use y_hooks as a hooking method and obviously I do have a naming convention. But the real problem hit me when I tried to give in a prefix to public callback so that I could hook it.

To be precise it was this one,

Код:
Hook:DUFFSYS_OnPlayerEditDynamicObject()
Now the problem is that the identifier name exceeds the limit which is 31 characters. Now the only way around this with my level of knowledge is to give in only 1 char as a prefix like.

Код:
Hook:D_OnPlayerEditDynamicObject()
Which I do not want to do, since it'll ruin the naming convention that I'm using.

Is there possibly any solution to this?
Reply
#2

Quote:
Originally Posted by DBZdabIt3Bro7
Посмотреть сообщение
Wow. Never realized these existed. Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)