![]() |
Iter over object members
I currently cant find a resolution to be able to loop over members of an object. Is there a solution for this? I am using a TStaticVar object.
|
post your code?
|
I was just trying for ( item : object ), I mean i have no code per-say, i was just trying to iterate through members of the object. I basically want to check to see which type they are and do something based on the outcome.
|
For all of you that dont know, here is the code. I guess i had to just step away from it, and also read through the scriptfunctions_client.txt which is terrible to look at.
Well.... ugly but thats gs2 NPC Code: |
This does not however show member functions that are type object.
|
PHP Code:
PHP Code:
|
I guess I was mistaken it seems to show objects for you. And I'm not concerned about how pretty the output is just the functionality . Thanks for your help!
|
All times are GMT +2. The time now is 06:26 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.