Files
BuYuHouDuan/FishGameSrc/FishGameService/GameSend/IFishingSendService.cs
T
2026-10-12 16:22:04 +08:00

66 lines
2.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FishGameService.Services;
using RedisService.Param;
namespace FishGameService.GameSend
{
public interface IFishingSendService
{
void BindSuccess(string cid);
void ErrorMessage(string cid, int code, string msg);
void SyncGameData(string roomId, object data);
void RoomKillNotice(string roomId, string fishNumber, string userId, long gold, string fishId, long timespan, double beishu = 1,long skillsGold = 0,int fishScore = 1, object param = null, object drop = null);
void RoomJoinNotice(string roomId, RedisGamePlayer player);
Task SendRoomInfo(string cid, RedisGameRoom roomInfo, List<ActiveFish> activeFishes = null);
void RoomLeaveNotice(string roomId, string userId);
void BotLeaveRoomNotice(string roomId, string userId);
void RoomDisconnectNotice(string roomId, string userId);
void ChangeControllerUser(string roomId, string userId);
void HostDisconnectNotice(string roomId);
void UsePropNotice(string roomId, string userId, string propNumber);
void TorpedoResultNotice(string roomId, string userId, string propNumber, long gold, string color);
void ChangeGunMultipleNotice(string roomId, string userId, int multiple);
void RoomFireNotice(string roomId, string userId, List<string> bulletIds, long gold, int count, object extra = null, bool isBot = false);
Task RoomFireNoticeAsync(string roomId, string callerCid, string userId, List<string> bulletIds, long gold, int count, object extra = null, bool isBot = false);
void SyncPlayerGold(string cid, long gold);
void SendPlayerInfo(string cid, RedisGamePlayer player);
void PlayerAfkNotice(string roomId, string userId);
void PlayerCancelAfkNotice(string roomId, string userId);
void KillNotice(string fishNumber, string userName, long gold);
void KillNotice(string fishNumber, string userName, long gold, string fishName, long multiplier,
string gameTypeName, string roomName, long timestamp);
}
}