Etterna 0.74.4
|
Uses ezsockets for primitive song syncing and score reporting. More...
#include <NetworkSyncManager.h>
Public Member Functions | |
NetworkSyncManager (LoadingWindow *ld=nullptr) | |
void | ReportScore (int playerID, int step, int score, int combo, float offset) |
void | ReportScore (int playerID, int step, int score, int combo, float offset, int numNotes) |
void | ReportHighScore (HighScore *hs, PlayerStageStats &pss) |
void | ReportSongOver () |
void | ReportStyle () |
void | ReportNSSOnOff (int i) |
void | OnMusicSelect () |
void | OffMusicSelect () |
void | OnRoomSelect () |
void | OffRoomSelect () |
void | OnOptions () |
void | OffOptions () |
void | OnEval () |
void | OffEval () |
void | StartRequest (short position) |
auto | GetServerName () -> std::string |
void | CreateNewRoom (std::string name, std::string desc="", std::string password="") |
void | EnterRoom (std::string name, std::string password="") |
void | LeaveRoom () |
void | RequestRoomInfo (std::string name) |
void | PostStartUp (const std::string &ServerIP) |
auto | IsETTP () -> bool |
void | CloseConnection () |
void | DisplayStartupStatus () |
void | Update (float fDeltaTime) |
auto | ChangedScoreboard (int Column) -> bool |
void | SendMPLeaderboardUpdate (float wife, std::string &jdgstr) |
void | SendChat (const std::string &message, std::string tab="", int type=0) |
void | PushMPLeaderboard (lua_State *L) |
void | SelectUserSong () |
auto | GetServerVersion () -> int |
void | GetListOfLANServers (std::vector< NetServerInfo > &AllServers) |
void | Login (std::string user, std::string pass) |
void | Logout () |
auto | TranslateStepType (int score) -> SMOStepType |
void | PushSelf (lua_State *L) |
Static Public Member Functions | |
static auto | GetCurrentSMBuild (LoadingWindow *ld) -> unsigned long |
Public Attributes | |
ETTProtocol | ETTP |
NetProtocol * | curProtocol { nullptr } |
int | m_playerLife |
bool | useSMserver |
bool | isSMOnline |
bool | loggedIn |
std::string | loggedInUsername |
std::string | loginResponse |
Chat | chat |
std::vector< int > | m_PlayerStatus |
int | m_ActivePlayers |
std::vector< int > | m_ActivePlayer |
std::vector< std::string > | m_PlayerNames |
std::vector< bool > | m_PlayerReady |
std::vector< std::string > | commonpacks |
std::vector< std::string > | fl_PlayerNames |
std::vector< int > | fl_PlayerStates |
std::vector< EndOfGame_PlayerData > | m_EvalPlayerData |
std::string | m_Scoreboard [NUM_NSScoreBoardColumn] |
std::set< std::string > | lobbyuserlist |
std::string | m_WaitingChat |
std::string | m_sMainTitle |
std::string | m_sArtist |
std::string | m_sSubTitle |
std::string | m_sFileHash |
std::string | chartkey |
Song * | song { nullptr } |
Steps * | steps { nullptr } |
std::map< std::string, GameplayScore > | mpleaderboard |
Difficulty | difficulty |
int | meter |
int | rate |
int | m_iSelectMode |
std::string | m_sChatText |
StepManiaLanServer * | LANserver |
int | m_startupStatus |
std::vector< RoomData > | m_Rooms |
std::vector< ChartRequest * > | requests |
std::vector< ChartRequest * > | staleRequests |
std::vector< NetServerInfo > | m_vAllLANServers |
bool | m_scoreboardchange [NUM_NSScoreBoardColumn] |
Uses ezsockets for primitive song syncing and score reporting.