Guad / GTACoop

An online co-op modification for GTA5
GNU General Public License v3.0
81 stars 71 forks source link

Enum for picture notification #19

Closed MaZyGer closed 8 years ago

MaZyGer commented 8 years ago

Let us make easier for developer if they us picture notification. Enums are safer than strings that can be incorrectly written. Everything is tested and they are working.

Guad commented 8 years ago

There are much more NotificationPicType than you wrote. There needs to be an option for a custom one, via string.

MaZyGer commented 8 years ago

Oh I just looked here: http://www.dev-c.com/nativedb/func/info/1ccd9a37359072cf . There are only three. How many are there really? I or we can add them too.

Edit: Ok I found another website with a list

Guad commented 8 years ago

Every texture dict in x64b.rpf/data/cdimages/scaleformgeneric.rpf that starts with char. There are 168

MaZyGer commented 8 years ago

Uff there are way to many hehe.

Well we can pick some important pics there and make overload function to allow custom string too if you allow. I took this list now http://gtaforums.com/topic/821783-v-pc-notification-pictures/

If not I will reset to default. How is about NotificationIconType?

Guad commented 8 years ago

All is fine now, thank you!