aboutsummaryrefslogtreecommitdiff
path: root/src/stubs.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-06-21 03:35:13 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-06-21 03:35:13 -0300
commitefeb10adcc606ad261782a260c8ef86e77ea0608 (patch)
treeda4da91139624a5b3b9952a1d931282a2bc50163 /src/stubs.hh
parent7dff6dfd600e346c7bbd9fbcf6064caae156c984 (diff)
downloadgame-efeb10adcc606ad261782a260c8ef86e77ea0608.tar.gz
game-efeb10adcc606ad261782a260c8ef86e77ea0608.zip
`connections.cc`
Diffstat (limited to 'src/stubs.hh')
-rw-r--r--src/stubs.hh6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/stubs.hh b/src/stubs.hh
index a749c8c..61114c4 100644
--- a/src/stubs.hh
+++ b/src/stubs.hh
@@ -17,7 +17,6 @@ typedef void TSendMailsFunction(TPlayerData *PlayerData);
extern void AbortWriter(void);
extern void AddBuddyOrder(TCreature *Creature, uint32 CharacterID);
-extern TConnection *AssignFreeConnection(void);
extern void RemoveBuddyOrder(TCreature *Creature, uint32 BuddyID);
extern void BroadcastMessage(int Mode, const char *Text, ...) ATTR_PRINTF(2, 3);
extern void ChangeNPCState(TCreature *Npc, int NewState, bool Stimulus);
@@ -27,10 +26,9 @@ extern void CleanHouseField(int x, int y, int z);
extern void ConvinceMonster(TCreature *Master, TCreature *Slave);
extern void ChallengeMonster(TCreature *Challenger, TCreature *Monster);
extern TCreature *CreateMonster(int Race, int x, int y, int z, int Home, uint32 Master, bool ShowEffect);
+extern void DecrementIsOnlineOrder(uint32 CharacterID);
extern void DeleteGamemasterRequest(const char *Name);
extern void GetExitPosition(uint16 HouseID, int *x, int *y, int *z);
-extern TConnection *GetFirstConnection(void);
-extern TConnection *GetNextConnection(void);
extern int GetOrderBufferSpace(void);
extern const char *GetHouseName(uint16 HouseID);
extern const char *GetHouseOwner(uint16 HouseID);
@@ -44,7 +42,6 @@ extern void LogoutOrder(TPlayer *Player);
extern void PrepareHouseCleanup(void);
extern void FinishHouseCleanup(void);
extern void PlayerlistOrder(int NumberOfPlayers, char *PlayerNames, int *PlayerLevels, int *PlayerProfessions);
-extern void ProcessConnections(void);
extern void ProcessMonsterhomes(void);
extern void ProcessReaderThreadReplies(TRefreshSectorFunction *RefreshSector, TSendMailsFunction *SendMails);
extern void ProcessWriterThreadReplies(void);
@@ -98,6 +95,7 @@ extern void SendMarkCreature(TConnection *Connection, uint32 CreatureID, int Col
extern void SendMessage(TConnection *Connection, int Mode, const char *Text, ...) ATTR_PRINTF(3, 4);
extern void SendMoveCreature(TConnection *Connection, uint32 CreatureID, int x, int y, int z);
extern void SendOpenOwnChannel(TConnection *Connection, int Channel);
+extern void SendPing(TConnection *Connection);
extern void SendPlayerData(TConnection *Connection);
extern void SendPlayerSkills(TConnection *Connection);
extern void SendPlayerState(TConnection *Connection, uint8 State);