mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* updating fellowship level proportional xp sharing * fixing EvenShare/Proportional/None * sending ShareLoot in fellow update packet * updating comments * adding /fellow-info developer command for fellowship debugging * adding CurrentMotionState null check * -1
17 lines
320 B
C#
17 lines
320 B
C#
using System.Collections.Generic;
|
|
|
|
namespace ACE.Entity
|
|
{
|
|
public static class LINQExtensions
|
|
{
|
|
public static ulong Sum(this IEnumerable<ulong> values)
|
|
{
|
|
ulong sum = 0;
|
|
|
|
foreach (var value in values)
|
|
sum += value;
|
|
|
|
return sum;
|
|
}
|
|
}
|
|
}
|