This commit is contained in:
yaohunya 2024-08-02 19:27:16 +08:00
parent cf6647661b
commit 2a715306d3

View File

@ -0,0 +1,41 @@
package com.io.yutian.mclive.event;
import com.io.yutian.livemutually.liveroom.User;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
public class LiveConnectEvents extends Event {
private static final HandlerList handlers = new HandlerList();
private Player player;
private String roomID;
private String pluginName;
public LiveConnectEvents(Player player, String roomId,String pluginName) {
this.player = player;
this.roomID = roomId;
this.pluginName = pluginName;
}
public Player getPlayer() {
return player;
}
public String getRoomID() {
return roomID;
}
public String getPluginName() {
return pluginName;
}
@Override
public HandlerList getHandlers() {
return handlers;
}
public final static HandlerList getHandlerList() {
return handlers;
}
}