runelite-client: recolor chat command messages when chatbox transparency changes
Support different colors for transparent chat boxes
This commit is contained in:
@@ -32,10 +32,27 @@ import net.runelite.rs.api.RSMessageNode;
|
||||
@Mixin(RSMessageNode.class)
|
||||
public abstract class RSMessageNodeMixin implements RSMessageNode
|
||||
{
|
||||
@Inject
|
||||
private String runeLiteFormatMessage;
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public ChatMessageType getType()
|
||||
{
|
||||
return ChatMessageType.of(getRSType());
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public String getRuneLiteFormatMessage()
|
||||
{
|
||||
return runeLiteFormatMessage;
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public void setRuneLiteFormatMessage(String runeLiteFormatMessage)
|
||||
{
|
||||
this.runeLiteFormatMessage = runeLiteFormatMessage;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user