Decompile 3 functions in Source/Contents/EntryQueueMgr.cpp
Batch #13421 by SapitoSucio: 3 byte-identical, 0 confirmed by peer review. - fn_19661 CEntryQueueMgr::SendApply: byte-identical - fn_19662 CEntryQueueMgr::SendCancel: byte-identical - fn_19663 CEntryQueueMgr::SendRankingRequest: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
2392a5fe66
commit
fa39d47e9c
1 changed files with 5 additions and 5 deletions
|
|
@ -19,13 +19,13 @@ struct EntryQueueAdmissionPacket {
|
|||
};
|
||||
|
||||
struct EntryQueueApplyPacket {
|
||||
/* 0000 */ std::uint16_t id;
|
||||
/* 0000 */ std::int16_t id;
|
||||
/* 0002 */ std::uint16_t type;
|
||||
/* 0004 */ char queueName[24];
|
||||
};
|
||||
|
||||
struct EntryQueueNamePacket {
|
||||
/* 0000 */ std::uint16_t id;
|
||||
/* 0000 */ std::int16_t id;
|
||||
/* 0002 */ char queueName[24];
|
||||
};
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ void CEntryQueueMgr::SendApply(std::uint16_t type, const char* name) {
|
|||
packet.id = 0x8D7;
|
||||
packet.type = type;
|
||||
strncpy_s(packet.queueName, sizeof(packet.queueName), name, 23);
|
||||
GetRagConnection().Send(g_packetLengths.FixedLength(packet.id), &packet);
|
||||
GetRagConnection().Send(reinterpret_cast<PacketLengths&>(GetRagConnection()).FixedLength(packet.id), &packet);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00BA20A0
|
||||
|
|
@ -78,7 +78,7 @@ void CEntryQueueMgr::SendCancel() {
|
|||
EntryQueueNamePacket packet;
|
||||
packet.id = 0x8DA;
|
||||
strcpy_s(packet.queueName, sizeof(packet.queueName), this->current->name);
|
||||
GetRagConnection().Send(g_packetLengths.FixedLength(packet.id), &packet);
|
||||
GetRagConnection().Send(reinterpret_cast<PacketLengths&>(GetRagConnection()).FixedLength(packet.id), &packet);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -89,7 +89,7 @@ void CEntryQueueMgr::SendRankingRequest() {
|
|||
EntryQueueNamePacket packet;
|
||||
packet.id = 0x90A;
|
||||
strcpy_s(packet.queueName, sizeof(packet.queueName), this->current->name);
|
||||
GetRagConnection().Send(g_packetLengths.FixedLength(packet.id), &packet);
|
||||
GetRagConnection().Send(reinterpret_cast<PacketLengths&>(GetRagConnection()).FixedLength(packet.id), &packet);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue