aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/polyfrost/chatting/hook
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/polyfrost/chatting/hook')
-rw-r--r--src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java b/src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java
index 50b9ce3..22f180c 100644
--- a/src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java
+++ b/src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java
@@ -8,8 +8,14 @@ import java.util.HashSet;
public interface ChatLineHook {
HashSet<WeakReference<ChatLine>> chatLines = new HashSet<>();
- boolean hasDetected();
+ boolean isDetected();
+ void setDetected(boolean detected);
NetworkPlayerInfo getPlayerInfo();
+ void setPlayerInfo(NetworkPlayerInfo playerInfo);
+ NetworkPlayerInfo getDetectedPlayerInfo();
+ void setDetectedPlayerInfo(NetworkPlayerInfo detectedPlayerInfo);
+ boolean isFirstDetection();
+ void setFirstDetection(boolean firstDetection);
void updatePlayerInfo();