|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include <link.h>
Public Member Functions | |
| virtual | ~Link ()=default |
| virtual void | Poll ()=0 |
| Takes in what's arrived, without waiting. | |
| virtual void | Send (const protocol::Input &input)=0 |
| virtual bool | connected () const =0 |
| virtual const protocol::World & | world () const =0 |
| virtual const std::deque< protocol::Chat > & | chat () const =0 |
| The newest lines said in the world, oldest first. | |
| virtual int64_t | whole () const =0 |
| virtual const std::optional< protocol::Move > & | move () const =0 |
| Where the world's instance told us to go, once it hands its players over. | |
| virtual const protocol::Inventory & | inventory () const =0 |
| What we carry and wear, as the world last sent it. | |
| virtual const protocol::Quests & | quests () const =0 |
| virtual const protocol::Guild & | guild () const =0 |
| Our guild, with no name for none. | |
| virtual const protocol::Trade & | trade () const =0 |
| Our trade, with nobody in it for none. | |
| virtual const protocol::Duel & | duel () const =0 |
| Our duel, the same. | |
| virtual std::vector< protocol::Event > | TakeEvents ()=0 |
| virtual std::optional< protocol::GuildInvite > | TakeInvite ()=0 |
| The guild that asked us to join since the last time, once. | |
Where the client's world comes from, and where what the player does goes: a world server, over the network, in Connection.
|
virtualdefault |
|
pure virtual |
The newest lines said in the world, oldest first.
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.
|
pure virtual |
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.
|
pure virtual |
Our duel, the same.
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.
|
pure virtual |
Our guild, with no name for none.
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.
|
pure virtual |
What we carry and wear, as the world last sent it.
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.
|
pure virtual |
Where the world's instance told us to go, once it hands its players over.
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.
|
pure virtual |
Takes in what's arrived, without waiting.
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.
|
pure virtual |
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.
|
pure virtual |
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.
|
pure virtual |
What happened near us since the last time, oldest first, which it hands over, as each event comes once.
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.
|
pure virtual |
The guild that asked us to join since the last time, once.
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.
|
pure virtual |
Our trade, with nobody in it for none.
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.
|
pure virtual |
The newest world that's come whole, by when it was sent, for the server to leave out what hasn't changed since.
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.
|
pure virtual |
Implemented in nanommo::Connection, nanommo::LocalConnection, and nanommo::WebSocketLink.