-
Notifications
You must be signed in to change notification settings - Fork 6
/
Enums.cs
79 lines (73 loc) · 1.17 KB
/
Enums.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// **********
// RunUO Shard - Enums.cs
// **********
namespace Server.Engines.TexasHoldem
{
public enum PlayerAction
{
Fold,
Check,
Call,
Bet,
Raise,
AllIn,
None
}
public enum PokerGameState
{
Inactive,
DealHoleCards,
PreFlop,
Flop,
PreTurn,
Turn,
PreRiver,
River,
PreShowdown,
Showdown,
DetermineWinners,
Intermission
}
public enum Suit
{
Diamonds = 1,
Hearts = 2,
Clubs = 3,
Spades = 4
}
public enum Rank
{
Two = 2,
Three = 3,
Four = 4,
Five = 5,
Six = 6,
Seven = 7,
Eight = 8,
Nine = 9,
Ten = 10,
Jack = 11,
Queen = 12,
King = 13,
Ace = 14
}
public enum HandRank
{
None,
OnePair,
TwoPairs,
ThreeOfAKind,
Straight,
Flush,
FullHouse,
FourOfAKind,
StraightFlush,
RoyalFlush
}
public enum RankResult
{
Better,
Worse,
Same
}
}