friendicons: add note icon in friends/ignore list

Co-authored-by: Adam <Adam@sigterm.info>
This commit is contained in:
ThatGamerBlue
2020-03-13 17:50:54 +00:00
committed by Adam
parent 51f562b547
commit 7b4e8c2848
8 changed files with 304 additions and 1 deletions

View File

@@ -3,6 +3,12 @@
.string_stack_count 0
.int_var_count 16
.string_var_count 2
; callback "friend_cc_settext"
; Fired just before the client pops the name off the stack
; Modified by the friendnotes plugin to show the icon
; callback "friend_cc_setposition"
; Fired just before the client sets the position of "friend changed their name" icon
; Modified by the friendnotes plugin to offset the name changed icon
iload 1
iconst 2
iconst 3
@@ -276,6 +282,8 @@ LABEL218:
add
istore 10
sload 0
sconst "friend_cc_settext"
runelite_callback
cc_settext
iconst 0
iload 13
@@ -356,6 +364,8 @@ LABEL277:
add
iconst 0
iconst 0
sconst "friend_cc_setposition"
runelite_callback
cc_setposition 1
iconst 1093
cc_setgraphic 1

View File

@@ -3,6 +3,12 @@
.string_stack_count 0
.int_var_count 13
.string_var_count 2
; callback "ignore_cc_settext"
; Fired just before the client pops the name off the stack
; Modified by the friendnotes plugin to show the icon
; callback "ignore_cc_setposition"
; Fired just before the client sets the position of "ignored person changed their name" icon
; Modified by the friendnotes plugin to offset the name changed icon
iload 1
iconst 2
iconst 3
@@ -133,6 +139,8 @@ LABEL101:
add
istore 8
sload 0
sconst "ignore_cc_settext"
runelite_callback
cc_settext
iconst 0
iload 10
@@ -190,6 +198,8 @@ LABEL101:
add
iconst 0
iconst 0
sconst "ignore_cc_setposition"
runelite_callback
cc_setposition 1
iconst 1093
cc_setgraphic 1