mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
18 lines
841 B
C#
18 lines
841 B
C#
#nullable disable
|
|
using NadekoBot.Modules.Gambling;
|
|
using NadekoBot.Modules.Gambling.Betdraw;
|
|
using NadekoBot.Modules.Gambling.Rps;
|
|
using OneOf;
|
|
|
|
namespace NadekoBot.Modules.Gambling;
|
|
|
|
public interface IGamblingService
|
|
{
|
|
Task<OneOf<LuLaResult, GamblingError>> LulaAsync(ulong userId, long amount);
|
|
Task<OneOf<BetrollResult, GamblingError>> BetRollAsync(ulong userId, long amount);
|
|
Task<OneOf<BetflipResult, GamblingError>> BetFlipAsync(ulong userId, long amount, byte guess);
|
|
Task<OneOf<SlotResult, GamblingError>> SlotAsync(ulong userId, long amount);
|
|
Task<FlipResult[]> FlipAsync(int count);
|
|
Task<OneOf<RpsResult, GamblingError>> RpsAsync(ulong userId, long amount, byte pick);
|
|
Task<OneOf<BetdrawResult, GamblingError>> BetDrawAsync(ulong userId, long amount, byte? maybeGuessValue, byte? maybeGuessColor);
|
|
} |