[raknet] Change RakClient::vftable_8 to RakClient::Disconnect

This commit is contained in:
RD42 2024-01-29 19:30:46 +08:00
parent ed1175eee1
commit f5ff8ae676
3 changed files with 15 additions and 3 deletions

View File

@ -18,7 +18,7 @@ void RakClient::vftable_4()
// TODO: RakClient::vftable_4() (saco 10034130) (server L: 8069200) (bot W: 402970 L: 806CC00)
}
void RakClient::vftable_8()
void RakClient::Disconnect( unsigned int blockDuration, unsigned char orderingChannel )
{
// TODO: RakClient::vftable_8() (saco 10034A40) (server L: 8069210) (bot W: 403280 L: 806CC0E)
}

View File

@ -15,7 +15,13 @@ public:
void vftable_0();
void vftable_4();
void vftable_8();
/// Stops the client, stops synchronized data, and resets all internal data.
/// Does nothing if the client is not connected to begin wit
/// \param[in] blockDuration how long you should wait for all remaining packets to go outIf you set it to 0 then the disconnection notification probably won't arrive
/// \param[in] orderingChannel If blockDuration > 0, the disconnect packet will be sent on this channel
void Disconnect( unsigned int blockDuration, unsigned char orderingChannel=0 );
void vftable_C();
void vftable_10();
void vftable_14();

View File

@ -10,7 +10,13 @@ public:
virtual void vftable_0()=0;
virtual void vftable_4()=0;
virtual void vftable_8()=0;
/// Stops the client, stops synchronized data, and resets all internal data.
/// Does nothing if the client is not connected to begin wit
/// \param[in] blockDuration how long you should wait for all remaining packets to go outIf you set it to 0 then the disconnection notification probably won't arrive
/// \param[in] orderingChannel If blockDuration > 0, the disconnect packet will be sent on this channel
virtual void Disconnect( unsigned int blockDuration, unsigned char orderingChannel=0 )=0;
virtual void vftable_C()=0;
virtual void vftable_10()=0;
virtual void vftable_14()=0;