mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
update some anticheat code
This commit is contained in:
@ -10,19 +10,12 @@
|
||||
var snapProperties = Model.First().GetType().GetProperties();
|
||||
foreach (var prop in snapProperties)
|
||||
{
|
||||
<!-- this is another ugly hack-->
|
||||
@if (prop.GetValue(snapshot) is System.Collections.Generic.HashSet<SharedLibraryCore.Helpers.Vector3>)
|
||||
@if (prop.Name.EndsWith("Id") || new[] { "Active", "Client", "PredictedViewAngles" }.Contains(prop.Name))
|
||||
{
|
||||
@*<span class="text-white">@prop.Name </span>
|
||||
foreach (var v in (System.Collections.Generic.HashSet<SharedLibraryCore.Helpers.Vector3>)prop.GetValue(snapshot))
|
||||
{
|
||||
<span>@v.ToString(),</span><br />
|
||||
}*@
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="text-white">@prop.Name </span> <span>— @prop.GetValue(snapshot)</span><br />
|
||||
continue;
|
||||
}
|
||||
|
||||
<span class="text-white">@prop.Name </span> <span>— @prop.GetValue(snapshot)</span><br />
|
||||
}
|
||||
<div class="w-100 mt-1 mb-1 border-bottom"></div>
|
||||
}
|
||||
|
Reference in New Issue
Block a user