Decompile fn_21109 (CRenderObject::SendValueMessage)
Batch #1666 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_21109 CRenderObject::SendValueMessage: logic confirmed by peer review Peer-reviewed-by: eAthena Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
68e3b0fcbb
commit
20fdbc549c
2 changed files with 10 additions and 0 deletions
|
|
@ -91,6 +91,15 @@ void CRenderObject::SetActionSpeed(float speed) {
|
|||
}
|
||||
|
||||
// OFFSET: 0x00CB3FF0
|
||||
// FUNCTION: fn_21109
|
||||
void CRenderObject::SendValueMessage(int value, CGameObject* target) {
|
||||
if (target) {
|
||||
const std::int64_t wide = value;
|
||||
target->SendObjectMessage(
|
||||
nullptr, 29, 0, static_cast<int>(wide), static_cast<int>(wide >> 32), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00CB4070
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ public:
|
|||
void SetActionSpeed(float speed);
|
||||
void DrawSprite(int argument, bool seasonal, float offset);
|
||||
void DrawShadow(int argument, float scale);
|
||||
void SendValueMessage(int value, CGameObject* target);
|
||||
void SetActionName(ResourceMgr& resources, const char* name);
|
||||
void SetSpriteName(ResourceMgr& resources, const char* name);
|
||||
void SetColor(int alpha, int red, int green, int blue);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue