Batch #1692 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_23805 CSession::GetPetTalkActionName: logic confirmed by peer review - fn_23834 CSession::GetMonsterTalkEventName: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/Contents/PetTalk.cpp, Source/Contents/EnemyMonsterTalk.cpp
32 lines
539 B
C++
32 lines
539 B
C++
#include "Client/Session.h"
|
|
|
|
// OFFSET: 0x00E0AD10
|
|
// FUNCTION: fn_23805
|
|
const char* CSession::GetPetTalkActionName(int action) {
|
|
switch (action) {
|
|
case 0:
|
|
return "feeding";
|
|
case 1:
|
|
return "hunting";
|
|
case 2:
|
|
return "danger";
|
|
case 3:
|
|
return "dead";
|
|
case 4:
|
|
return "stand";
|
|
case 10:
|
|
return "connect";
|
|
case 6:
|
|
return "levelup";
|
|
case 7:
|
|
return "perfor_1";
|
|
case 8:
|
|
return "perfor_2";
|
|
case 9:
|
|
return "perfor_3";
|
|
case 5:
|
|
return "perfor_s";
|
|
default:
|
|
return "normal";
|
|
}
|
|
}
|