Raised This Month: $119 Target: $400
 29% 

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Muhlex
Forum: Scripting 10-16-2020, 13:40
Replies: 9
Views: 702
Posted By Muhlex
Re: Return arrays in ArrayLists by reference

Alright, thank you again for the elaborate answer. That about covers all my questions towards the enum struct syntax. It's pretty helpful but doesn't result in great code if overused, as it's just...
Forum: Scripting 10-13-2020, 08:06
Replies: 9
Views: 702
Posted By Muhlex
Re: Return arrays in ArrayLists by reference

Another thing... Is it possible to retrieve a method from an enum struct which is stored in an ArrayList and then execute it, without getting a full copy of the enum struct? Similar to how...
Forum: Scripting 10-12-2020, 09:14
Replies: 9
Views: 702
Posted By Muhlex
Re: Return arrays in ArrayLists by reference

First of, thanks a lot for taking time out of your day to explain this in detail @Peace-Maker. Awesome write-up and great example!



Wow, I simply didn't know the :: operator existed. Got how...
Forum: Scripting 10-12-2020, 04:32
Replies: 9
Views: 702
Posted By Muhlex
Re: Return arrays in ArrayLists by reference

Thanks a lot to you two, that makes total sense.

I'm currently discovering the new enum structs (which is why I'm pushing regular arrays in the ArrayList instead of another ArrayList) and am...
Forum: Scripting 10-11-2020, 21:02
Replies: 9
Views: 702
Posted By Muhlex
Return arrays in ArrayLists by reference

Is it possible to retrieve an array pushed into an ArrayList by reference?

As hinted at in the documentation, ArrayList.GetArray() (https://sm.alliedmods.net/new-api/adt_array/ArrayList/GetArray)...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -4. The time now is 06:06.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode