public class ProxyPlayer extends Object implements InvocationHandler
限定符和类型 | 字段和说明 |
---|---|
org.bukkit.entity.Player |
cs
被代理的玩家
|
构造器和说明 |
---|
ProxyPlayer(org.bukkit.entity.Player p) |
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
在接口中 InvocationHandler
proxy
- 代理对象method
- 原方法args
- 方法参数Throwable
- 异常public static org.bukkit.entity.Player getProxyPlayer(org.bukkit.entity.Player p)
p
- PlayerCopyright © 2024. All rights reserved.