Files

17 lines
549 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# bariskeser_skills.js — bkSend() (satır 2201)
[← bariskeser_skills.js](index.md) · [← Master](../../wiki.md)
```javascript
function bkSend(mcPlayer, buffer) {
var s = bkSky();
if (!s) return false;
var chan = s.reg.INSTANCE.getChannel("skychanger_net", s.side.SERVER);
if (chan == null) return false;
chan.attr(s.out.FML_MESSAGETARGET).set(s.tgt.PLAYER);
chan.attr(s.out.FML_MESSAGETARGETARGS).set(mcPlayer);
chan.writeAndFlush(new s.proxy(buffer, "skychanger_net"));
return true;
}
```