mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-02 22:03:52 +00:00
Add "texture" to Zone.SetEntityAttribute
This commit is contained in:
parent
c5498c66fa
commit
f662141f86
@ -310,7 +310,7 @@ void handle_rc_get_entity_attributes(const std::string &method, const std::strin
|
||||
}
|
||||
}
|
||||
|
||||
/* Client -> Server */
|
||||
/* Client -> Server :: Zone.SetEntityAttribute */
|
||||
void handle_rc_set_entity_attribute(const std::string &method, const std::string &connection_id, const std::string &request_id, const std::vector<std::string> ¶ms) {
|
||||
std::string error;
|
||||
std::map<std::string, std::string> res;
|
||||
@ -327,5 +327,6 @@ void handle_rc_set_entity_attribute(const std::string &method, const std::string
|
||||
if (params[1] == "race"){ ent->SendIllusionPacket(atoi(params[2].c_str())); }
|
||||
if (params[1] == "appearance_effect"){ ent->SendAppearanceEffect(atoi(params[2].c_str()), 0, 0, 0, 0); }
|
||||
if (params[1] == "size"){ ent->ChangeSize(atoi(params[2].c_str())); }
|
||||
if (params[1] == "texture"){ ent->SendIllusionPacket(0, 0xFF, atoi(params[2].c_str()), 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0); }
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user