ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   ESO Api - How to access to player crafting knowledge (https://www.esoui.com/forums/showthread.php?t=10453)

quentinlamamy 02/12/23 02:46 AM

ESO Api - How to access to player crafting knowledge
 
Hi ,

I'm trying to understand how to get the actual known crafting style of a player,.i look to LibCharacterKnowledge and i'm a bit confuse (maybe the lack of sleep, code comment or both). Someone has a light to light the fog around my brain.

Ps : Yes i can just use this lib and forgot all the alert of my crazy dev brain yelling : "Never use a code you don't understand", but it will be difficult to sleep if i do that. And i this information may help me to retrieve information about others knowledges

EDIT :

It seems that the IsSmithingStyleKnown method can be the way, But why use such an unexpected semantics for a method name why not just isStyleKnown

Well, i will test that and let you know about this method

Baertram 02/12/23 07:33 AM

Quote:

Originally Posted by quentinlamamy (Post 47189)
Hi ,

...
It seems that the IsSmithingStyleKnown method can be the way, But why use such an unexpected semantics for a method name why not just isStyleKnown...

It's not unexpected for ZOs because SMITHING (class ZO_Smithing) is the ESO lua name of the crafting tables that got to do with traits and styles ;)
I'd always search the API doc for parts of what you search for, like "known" or "Is*Known" regex. That will provide the best results.


All times are GMT -6. The time now is 09:01 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI