ScriptUO
Scripting Resources & Utilities => Stealth Client => Stealth archive => Topic started by: slyone on November 05, 2013, 06:48:10 PM
-
What does wtCharProfile refer to? I've provided some context below.
I see that there is an enum for TUIWindowType. An example of where TUIWindowType is used is in the Container class in ScriptAPI.cs:
#region Container
public class Container : Item
{
...
public void Close()
{
Stealth.Script_CloseClientUIWindow(TUIWindowType.wtContainer, _id);
}
}
#endregion
The TUIWindowType includes
wtCharProfile, wtContainer, wtPaperdoll, wtStatus
wtContainer is used in the example above.
wtPaperdoll and wtStatus are pretty self explanatory. I could close my paperdoll and my status bar by doing the following:
Stealth.Script_CloseClientUIWindow(TUIWindowType.wtPaperdoll, Stealth.Script_GetSelfID());
Stealth.Script_CloseClientUIWindow(TUIWindowType.wtStatus, Stealth.Script_GetSelfID());
So what does wtCharProfile refer to?
Thanks,
S
-
Tidus, I wanted to say thanks for working the ginks out, it has made me 5k recalls in a very short order and i greatly appreciate it. The time involved by hand was annoying and this makes it so flawless. I appreciate it. Now if we can get wood pulp to blank scrolls implemented it would be a dream :)
-
Once iam home, i could check in the Stealth Source Code what this refers to.
-
What does wtCharProfile refer to? I've provided some context below.
Haven't used stealth, however going to guess that it's the same as the profile_gump in easyuo. If you open a character's paperdoll and double click the scroll next to the party scroll, it'll pop up.
-
http://docs.polserver.com/packets/index.php?Packet=0xBF
Subcommand 0x16: Close User Interface Windows
BYTE[4] Window ID
Window ID:s
0x01: Paperdoll
0x02: Status
0x08: Character Profile
0x0C: Container
So seems Ximan was right ;)
-
I know I'm late to the party, but if you haven't realized yet, Script_CloseClientUIWindow() are for Client-side only gumps (ie. Not sent by the server)
Indeed, that window is extended Character Status gump.
-
Excellent, thank you all for the feedback!