Skip to content

Commit

Permalink
Update EndTextCommandThefeedPostMessagetextTu.md (#825)
Browse files Browse the repository at this point in the history
* Update EndTextCommandThefeedPostMessagetextTu.md

* Update EndTextCommandThefeedPostMessagetextTu.md

Make some improvements to the native's documentation.

---------

Co-authored-by: ammonia-cfx <[email protected]>
  • Loading branch information
LouSihfur and 4mmonium authored Dec 11, 2023
1 parent 23487ba commit c1f4f2b
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions HUD/EndTextCommandThefeedPostMessagetextTu.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,26 @@ aliases: ["0x1E6611149DB3DB6B","_SET_NOTIFICATION_MESSAGE_4"]

```c
// 0x1E6611149DB3DB6B 0x0EB382B7
int END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_TU(char* picTxd, char* picTxn, BOOL flash, int iconType, char* nameStr, char* subtitleStr, float duration);
int END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_TU(char* picTxd, char* picTxn, BOOL flash, int iconType, char* nameStr, char* subtitleStr, float durationMultiplier);
```
NOTE: 'duration' is a multiplier, so 1.0 is normal, 2.0 is twice as long (very slow), and 0.5 is half as long.
Example, only occurrence in the scripts:
```
v_8 = UI::END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_TU("CHAR_SOCIAL_CLUB", "CHAR_SOCIAL_CLUB", 0, 0, &v_9, "", a_5);
```
Example result:
![](https://i.imgur.com/YrN4Bcm.png)
## Parameters
* **picTxd**:
* **picTxn**:
* **flash**:
* **iconType**:
* **iconType**: The icon type, you can find those here: [`END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT`](#_0x1CCD9A37359072CF)
* **nameStr**:
* **subtitleStr**:
* **duration**:
* **durationMultiplier**: 1.0 is normal, 2.0 is twice as long, and 0.5 is half its normal display time.
## Return value

0 comments on commit c1f4f2b

Please sign in to comment.