7 int net_name = (
REGISTRY_COUNT(Effects) >= 255) ? ReadShort() : ReadByte();
13 bool eff_trail = eff.eent_eff_trail;
16 bool use_vel = ReadByte();
32 bool Net_Write_Effect(
entity this,
entity client,
int sf)
36 WriteHeader(channel, net_effect);
57 if(!eff.eent_eff_trail && !eff_cnt) {
return; }
61 net_eff.m_id = eff.m_id;
62 net_eff.eent_net_velocity = eff_vel;
63 net_eff.eent_net_location = eff_loc;
64 net_eff.eent_net_count = eff_cnt;
65 net_eff.eent_eff_trail = eff.eent_eff_trail;
73 Send_Effect_Except(eff, eff_loc, eff_vel, eff_cnt,
NULL);
76 void Send_Effect_(
string eff_name,
vector eff_loc,
vector eff_vel,
int eff_cnt)
79 FOREACH(Effects, it.eent_eff_name == eff_name, {
80 Send_Effect(it, eff_loc, eff_vel, eff_cnt);
84 __pointparticles(_particleeffectnum(eff_name), eff_loc, eff_vel, eff_cnt);
#define REGISTRY_GET(id, i)
#define FOREACH_CLIENT(cond, body)
#define NET_HANDLE(id, param)
#define IS_REAL_CLIENT(v)
#define REGISTRY_COUNT(id)
vector(float skel, float bonenum) _skel_get_boneabs_hidden
void WarpZone_TrailParticles(entity own, float eff, vector org, vector end)
#define new_pure(class)
purely logical entities (.origin doesn't work)
#define REGISTER_NET_TEMP(id)
#define FOREACH(list, cond, body)
#define particleeffectnum(e)