- ๐ญ Iโm currently working on Proton
- ๐ฑ Iโm currently learning Machine Learning
protonexamples's Introduction
protonexamples's People
protonexamples's Issues
A few questions
So I have been looking into testing this but i need some info;
What is the purpose of using (this, this)
and could it just be done as (this)
?
What do the namespace & subject mean and what is the intended usecase for both?
Could I use this to have bungee and spigot communicate via this scenario:
- spigot players message gets sent to bungee (to check for cancelling)
- bungee extracts info and parses data
^ if so, how would i setup something like this? would it be like:
- manager on spigot and bungee
- getSyncManager.broadcast() ? <- no sure if there is another one
then this in the bungee plugin (if so, would i need a PlayerMessage object in the bungee plugin aswell and would it need the same args or can it be different?):
@MessageHandler(namespace = "networkchat", subject="chatMessage")
public void onChatReceived(PlayerMessage message){
getServer().broadcastMessage(String.format("<%s> %s", message.getPlayer(), message.getMessage()));
}
By different PlayerMessage args I mean could I use this:
public PlayerMessage (Player player, String message) {
this.player = player.getDisplayName();
this.uuid = player.getUniqueId().toString();
this.message = message;
}
Thanks in advance :)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.