MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Write_Packet

Method Write_Packet

ogsr_engine/xrGame/Hit.cpp:111–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110}
111void SHit::Write_Packet(NET_Packet& Packet)
112{
113 Packet.w_begin(M_EVENT);
114 Packet.w_u32(Time);
115 Packet.w_u16(u16(PACKET_TYPE & 0xffff));
116 Packet.w_u16(u16(DestID & 0xffff));
117
118 Write_Packet_Cont(Packet);
119};
120
121#ifdef DEBUG
122void SHit::_dump()

Callers 15

executeMethod · 0.80
HitMethod · 0.80
GraviStrikeMethod · 0.80
g_PhysicsMethod · 0.80
HitMethod · 0.80
DynamicObjectHitMethod · 0.80
ProcessDamageMethod · 0.80
CreateHitMethod · 0.80
update_scheduleMethod · 0.80
HitEntityMethod · 0.80

Calls 3

w_beginMethod · 0.80
w_u32Method · 0.45
w_u16Method · 0.45

Tested by

no test coverage detected