Elin Decompiled Documentation EA 23.286 Nightly Patch 1
Loading...
Searching...
No Matches
MathEx Class Reference

Static Public Member Functions

static int Min (long a, int b=int.MaxValue)
 
static long Max (long a, long b)
 

Detailed Description

Definition at line 1 of file MathEx.cs.

Member Function Documentation

◆ Max()

static long MathEx.Max ( long  a,
long  b 
)
inlinestatic

Definition at line 12 of file MathEx.cs.

13 {
14 if (a >= b)
15 {
16 return a;
17 }
18 return b;
19 }

Referenced by Ability.GetPower().

◆ Min()

static int MathEx.Min ( long  a,
int  b = int::MaxValue 
)
inlinestatic

Definition at line 3 of file MathEx.cs.

4 {
5 if (a > b)
6 {
7 return b;
8 }
9 return (int)a;
10 }

Referenced by ActZap.Perform().


The documentation for this class was generated from the following file: