mirror of
https://github.com/YimMenu/RDR-Classes.git
synced 2024-12-22 14:37:30 +08:00
Server Messages (#14)
This commit is contained in:
parent
79b0389bcf
commit
70091e27d2
45
classes.cpp
45
classes.cpp
@ -3,6 +3,23 @@
|
|||||||
#include "base/fwRefAwareBase.hpp"
|
#include "base/fwRefAwareBase.hpp"
|
||||||
#include "base/fwRefAwareBaseImpl.hpp"
|
#include "base/fwRefAwareBaseImpl.hpp"
|
||||||
#include "entity/fwEntity.hpp"
|
#include "entity/fwEntity.hpp"
|
||||||
|
#include "network/CNetGamePlayer.hpp"
|
||||||
|
#include "network/CNetworkPlayerMgr.hpp"
|
||||||
|
#include "network/CScriptedGameEvent.hpp"
|
||||||
|
#include "network/netGameEvent.hpp"
|
||||||
|
#include "network/netObject.hpp"
|
||||||
|
#include "network/netPeerAddress.hpp"
|
||||||
|
#include "network/netPlayer.hpp"
|
||||||
|
#include "network/netPlayerMgrBase.hpp"
|
||||||
|
#include "network/netServerMessages.hpp"
|
||||||
|
#include "network/rlGamerHandle.hpp"
|
||||||
|
#include "network/rlGamerInfo.hpp"
|
||||||
|
#include "network/rlGamerInfoBase.hpp"
|
||||||
|
#include "network/sync/CProjectBaseSyncDataNode.hpp"
|
||||||
|
#include "network/sync/NodeCommonDataOperations.hpp"
|
||||||
|
#include "network/sync/netSyncDataNode.hpp"
|
||||||
|
#include "network/sync/netSyncNodeBase.hpp"
|
||||||
|
#include "network/sync/netSyncTree.hpp"
|
||||||
#include "network/sync/object/CObjectCreationData.hpp"
|
#include "network/sync/object/CObjectCreationData.hpp"
|
||||||
#include "network/sync/ped/CPedAttachData.hpp"
|
#include "network/sync/ped/CPedAttachData.hpp"
|
||||||
#include "network/sync/ped/CPedCreationData.hpp"
|
#include "network/sync/ped/CPedCreationData.hpp"
|
||||||
@ -12,26 +29,11 @@
|
|||||||
#include "network/sync/player/CPlayerAppearanceData.hpp"
|
#include "network/sync/player/CPlayerAppearanceData.hpp"
|
||||||
#include "network/sync/player/CPlayerHealthData.hpp"
|
#include "network/sync/player/CPlayerHealthData.hpp"
|
||||||
#include "network/sync/vehicle/CVehicleCreationData.hpp"
|
#include "network/sync/vehicle/CVehicleCreationData.hpp"
|
||||||
#include "network/sync/vehicle/CVehicleProximityMigrationData.hpp"
|
|
||||||
#include "network/sync/vehicle/CVehicleGadgetData.hpp"
|
#include "network/sync/vehicle/CVehicleGadgetData.hpp"
|
||||||
#include "network/sync/CProjectBaseSyncDataNode.hpp"
|
#include "network/sync/vehicle/CVehicleProximityMigrationData.hpp"
|
||||||
#include "network/sync/netSyncDataNode.hpp"
|
|
||||||
#include "network/sync/netSyncNodeBase.hpp"
|
|
||||||
#include "network/sync/netSyncTree.hpp"
|
|
||||||
#include "network/sync/NodeCommonDataOperations.hpp"
|
|
||||||
#include "network/CNetGamePlayer.hpp"
|
|
||||||
#include "network/CNetworkPlayerMgr.hpp"
|
|
||||||
#include "network/CScriptedGameEvent.hpp"
|
|
||||||
#include "network/netGameEvent.hpp"
|
|
||||||
#include "network/netObject.hpp"
|
|
||||||
#include "network/netPeerAddress.hpp"
|
|
||||||
#include "network/netPlayer.hpp"
|
|
||||||
#include "network/netPlayerMgrBase.hpp"
|
|
||||||
#include "network/rlGamerHandle.hpp"
|
|
||||||
#include "network/rlGamerInfoBase.hpp"
|
|
||||||
#include "network/rlGamerInfo.hpp"
|
|
||||||
#include "player/CPlayerInfo.hpp"
|
|
||||||
#include "ped/CPed.hpp"
|
#include "ped/CPed.hpp"
|
||||||
|
#include "player/CPlayerInfo.hpp"
|
||||||
|
#include "rage/Guid.hpp"
|
||||||
#include "rage/atArray.hpp"
|
#include "rage/atArray.hpp"
|
||||||
#include "rage/atPlayerBits.hpp"
|
#include "rage/atPlayerBits.hpp"
|
||||||
#include "rage/datBitBuffer.hpp"
|
#include "rage/datBitBuffer.hpp"
|
||||||
@ -42,12 +44,11 @@
|
|||||||
#include "rage/rlMetric.hpp"
|
#include "rage/rlMetric.hpp"
|
||||||
#include "rage/tlsContext.hpp"
|
#include "rage/tlsContext.hpp"
|
||||||
#include "rage/vector.hpp"
|
#include "rage/vector.hpp"
|
||||||
#include "script/scriptHandlerNetComponent.hpp"
|
|
||||||
#include "script/scriptId.hpp"
|
|
||||||
#include "script/scriptIdBase.hpp"
|
|
||||||
#include "script/scrNativeHandler.hpp"
|
#include "script/scrNativeHandler.hpp"
|
||||||
#include "script/scrThread.hpp"
|
#include "script/scrThread.hpp"
|
||||||
#include "script/scrThreadContext.hpp"
|
#include "script/scrThreadContext.hpp"
|
||||||
#include "script/scrVector.hpp"
|
#include "script/scrVector.hpp"
|
||||||
|
#include "script/scriptHandlerNetComponent.hpp"
|
||||||
|
#include "script/scriptId.hpp"
|
||||||
|
#include "script/scriptIdBase.hpp"
|
||||||
#include "script/types.hpp"
|
#include "script/types.hpp"
|
||||||
#include "rage/Guid.hpp"
|
|
||||||
|
39
network/netServerMessages.hpp
Normal file
39
network/netServerMessages.hpp
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
#pragma once
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
|
namespace rage {
|
||||||
|
class ServerRPCSerializer {
|
||||||
|
public:
|
||||||
|
virtual int dtor() = 0;
|
||||||
|
virtual int Unk() = 0;
|
||||||
|
virtual void *GetData() = 0;
|
||||||
|
virtual int GetSize() = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
class ServerMsgData {
|
||||||
|
public:
|
||||||
|
unsigned char *data;
|
||||||
|
int size;
|
||||||
|
bool is_json;
|
||||||
|
};
|
||||||
|
|
||||||
|
class ServerMsg {
|
||||||
|
public:
|
||||||
|
virtual ~ServerMsg() = default;
|
||||||
|
virtual void _0x08() = 0;
|
||||||
|
virtual void _0x10() = 0;
|
||||||
|
virtual void _0x18() = 0;
|
||||||
|
virtual void _0x20() = 0;
|
||||||
|
virtual void _0x28() = 0;
|
||||||
|
virtual void _0x30() = 0;
|
||||||
|
virtual const char *GetName() = 0;
|
||||||
|
virtual void _0x40() = 0;
|
||||||
|
virtual void _0x48() = 0;
|
||||||
|
virtual void _0x50() = 0;
|
||||||
|
virtual void _0x58() = 0;
|
||||||
|
virtual void _0x60() = 0;
|
||||||
|
virtual void _0x68() = 0;
|
||||||
|
virtual void _0x70() = 0;
|
||||||
|
virtual ServerMsgData *GetMsgData() = 0;
|
||||||
|
};
|
||||||
|
} // namespace rage
|
Loading…
Reference in New Issue
Block a user