friends_func
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | friends_func [2022/09/24 20:52] (current) – [RemoveFriend] credzba | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Scripting - Friend control function====== | ||
+ | Here can find some information about Enhanced Scripting function to control friend list by script! | ||
+ | |||
+ | =====AddFriend==== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |void | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |Friend | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |FriendListName, | ||
+ | |||
+ | |} | ||
+ | |||
+ | =====RemoveFriend==== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |bool - True success, False fail to remove | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |Friend | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |FriendListName, | ||
+ | |||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | =====Check Friend==== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |bool | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |Friend | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |SerialToSearch | ||
+ | |||
+ | |} | ||
+ | |||
+ | =====Change List===== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |void | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |Friend | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |ListName | ||
+ | |||
+ | |} | ||
+ | |||
+ | =====Read Data===== | ||
+ | |||
+ | {|style=" | ||
+ | |style=" | ||
+ | |- style=" | ||
+ | |**Syntax** | ||
+ | |style=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- | ||
+ | |colspan=" | ||
+ | |- style=" | ||
+ | |**Returns** | ||
+ | |list (int) | ||
+ | |- | ||
+ | |**In Object:** | ||
+ | |Friend | ||
+ | |- style=" | ||
+ | |**Parameters: | ||
+ | |FriendListName | ||
+ | |||
+ | |} | ||