internal void HUD_VoiceStatus(int entindex, QBoolean bTalking) { try { } catch (Exception e) { Log.Exception(e); throw; } }
internal void UpdateClientData(Edict.Native *ent, QBoolean sendweapons, ClientData.Native *cd) { try { Networking.UpdateClientData(EntityDictionary.EdictFromNative(ent), sendweapons != QBoolean.False, new ClientData(cd)); } catch (Exception e) { Log.Exception(e); throw; } }
#pragma warning disable RCS1163 // Unused parameter. internal void HUD_ClientMove(PlayerMove.Native *ppmove, QBoolean server) #pragma warning restore RCS1163 // Unused parameter. { try { if (PlayerMoveFunctions == null) { //Get the functions separately so we can wrap them PlayerMoveFunctions = Marshal.PtrToStructure <PlayerMoveFunctions>(new IntPtr(&ppmove->firstFunctionOffset)); EnginePhysics = new EnginePhysics(PlayerMoveFunctions); } PlayerPhysics.Move(PlayerMove, EnginePhysics); } catch (Exception e) { Log.Exception(e); throw; } }
internal QBoolean AddToFullPack(EntityState.Native *state, int e, Edict.Native *ent, Edict.Native *host, HostFlags hostflags, QBoolean player, IntPtr pSet) { try { return(Networking.AddToFullPack( new EntityState(state), e, EntityDictionary.EdictFromNative(ent), EntityDictionary.EdictFromNative(host), hostflags, player != QBoolean.False, pSet ) ? QBoolean.True : QBoolean.False); } catch (Exception ex) { Log.Exception(ex); throw; } }