Example #1
0
 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;
     }
 }