Etterna 0.75.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ETTProtocol Class Reference
Inheritance diagram for ETTProtocol:
Inheritance graph
[legend]
Collaboration diagram for ETTProtocol:
Collaboration graph
[legend]

Public Member Functions

auto Connect (NetworkSyncManager *n, unsigned short port, std::string address) -> bool override
 
void close () override
 
void Update (NetworkSyncManager *n, float fDeltaTime) override
 
void Login (std::string user, std::string pass) override
 
void Logout () override
 
void SendChat (const std::string &message, std::string tab, int type) override
 
void CreateNewRoom (std::string name, std::string desc, std::string password) override
 
void EnterRoom (std::string name, std::string password) override
 
void LeaveRoom (NetworkSyncManager *n) override
 
bool InRoom () const
 
std::string GetRoomName ()
 
bool CreatingRoom () const
 
void ReportSongOver (NetworkSyncManager *n) override
 
void SelectUserSong (NetworkSyncManager *n, Song *song) override
 
void OnMusicSelect () override
 
void OnOptions () override
 
void OffOptions () override
 
void OnEval () override
 
void OffEval () override
 
void SendMPLeaderboardUpdate (float wife, std::string &jdgstr) override
 
void ReportHighScore (HighScore *hs, PlayerStageStats &pss) override
 
void ReportReplayInput (NetworkSyncManager *n, bool isPress, int col, int row, float fMusicSeconds, float fNoteOffset, int tapNoteType, int tapNoteSubType) override
 
void ReportReplayMiss (NetworkSyncManager *n, int col, int row, int tapNoteType, int tapNoteSubType) override
 
void ReportReplayHold (NetworkSyncManager *n, int col, int row, int subType) override
 
void ReportV2Data (int col, int row, float offset, int tapNoteType) override
 
void ReportReplayMine (NetworkSyncManager *n, int row, int col) override
 
void Send (const std::string &str)
 
- Public Member Functions inherited from NetProtocol
virtual void StartRequest (NetworkSyncManager *n, short position)
 
virtual void OffMusicSelect ()
 

Additional Inherited Members

- Public Attributes inherited from NetProtocol
std::string serverName
 
int serverVersion { 0 }
 

Member Function Documentation

◆ close()

void ETTProtocol::close ( )
overridevirtual

Reimplemented from NetProtocol.

◆ Connect()

bool ETTProtocol::Connect ( NetworkSyncManager *  n,
unsigned short  port,
std::string  address 
) -> bool
overridevirtual

Reimplemented from NetProtocol.

◆ CreateNewRoom()

void ETTProtocol::CreateNewRoom ( std::string  name,
std::string  desc,
std::string  password 
)
overridevirtual

Reimplemented from NetProtocol.

◆ EnterRoom()

void ETTProtocol::EnterRoom ( std::string  name,
std::string  password 
)
overridevirtual

Reimplemented from NetProtocol.

◆ LeaveRoom()

void ETTProtocol::LeaveRoom ( NetworkSyncManager *  n)
overridevirtual

Reimplemented from NetProtocol.

◆ Login()

void ETTProtocol::Login ( std::string  user,
std::string  pass 
)
overridevirtual

Reimplemented from NetProtocol.

◆ Logout()

void ETTProtocol::Logout ( )
overridevirtual

Reimplemented from NetProtocol.

◆ OffEval()

void ETTProtocol::OffEval ( )
overridevirtual

Reimplemented from NetProtocol.

◆ OffOptions()

void ETTProtocol::OffOptions ( )
overridevirtual

Reimplemented from NetProtocol.

◆ OnEval()

void ETTProtocol::OnEval ( )
overridevirtual

Reimplemented from NetProtocol.

◆ OnMusicSelect()

void ETTProtocol::OnMusicSelect ( )
overridevirtual

Reimplemented from NetProtocol.

◆ OnOptions()

void ETTProtocol::OnOptions ( )
overridevirtual

Reimplemented from NetProtocol.

◆ ReportHighScore()

void ETTProtocol::ReportHighScore ( HighScore *  hs,
PlayerStageStats &  pss 
)
overridevirtual

Reimplemented from NetProtocol.

◆ ReportReplayHold()

void ETTProtocol::ReportReplayHold ( NetworkSyncManager *  n,
int  col,
int  row,
int  subType 
)
overridevirtual

Reimplemented from NetProtocol.

◆ ReportReplayInput()

void ETTProtocol::ReportReplayInput ( NetworkSyncManager *  n,
bool  isPress,
int  col,
int  row,
float  fMusicSeconds,
float  fNoteOffset,
int  tapNoteType,
int  tapNoteSubType 
)
overridevirtual

Reimplemented from NetProtocol.

◆ ReportReplayMine()

void ETTProtocol::ReportReplayMine ( NetworkSyncManager *  n,
int  row,
int  col 
)
overridevirtual

Reimplemented from NetProtocol.

◆ ReportReplayMiss()

void ETTProtocol::ReportReplayMiss ( NetworkSyncManager *  n,
int  col,
int  row,
int  tapNoteType,
int  tapNoteSubType 
)
overridevirtual

Reimplemented from NetProtocol.

◆ ReportSongOver()

void ETTProtocol::ReportSongOver ( NetworkSyncManager *  n)
overridevirtual

Reimplemented from NetProtocol.

◆ ReportV2Data()

void ETTProtocol::ReportV2Data ( int  col,
int  row,
float  offset,
int  tapNoteType 
)
overridevirtual

Reimplemented from NetProtocol.

◆ SelectUserSong()

void ETTProtocol::SelectUserSong ( NetworkSyncManager *  n,
Song *  song 
)
overridevirtual

Reimplemented from NetProtocol.

◆ SendChat()

void ETTProtocol::SendChat ( const std::string &  message,
std::string  tab,
int  type 
)
overridevirtual

Reimplemented from NetProtocol.

◆ SendMPLeaderboardUpdate()

void ETTProtocol::SendMPLeaderboardUpdate ( float  wife,
std::string &  jdgstr 
)
overridevirtual

Reimplemented from NetProtocol.

◆ Update()

void ETTProtocol::Update ( NetworkSyncManager *  n,
float  fDeltaTime 
)
overridevirtual

Reimplemented from NetProtocol.


The documentation for this class was generated from the following files: