Loading...   


char* GetMethodErrorResponse(Method)
{
	if(Method == "Zone.GetInitialEntityPositions"){ return "[zone_id, instance_id, ent_id, x, y, z, h]"; }
}

int GetMethodParamCount(Method)
{
	if(Method == "Zone.GetInitialEntityPositions"){ return 6; }
}

void handle_method_zone(per_session_data_eqemu *session, rapidjson::Document &document, std::string &method) {
	CheckParams(GetMethodParamCount(Method), GetMethodErrorResponse(method));
 	VerifyID();
 	CalculateSize();
 	WriteWebProtocolPacket();
 }

Raw Paste Data