More controller prototypes
This commit is contained in:
@@ -2,5 +2,93 @@ namespace Core.Controllers;
|
|||||||
|
|
||||||
public class MatchController
|
public class MatchController
|
||||||
{
|
{
|
||||||
// TODO
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public bool GetEnabled()
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Handle client/match/group/delete
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="info"></param>
|
||||||
|
public void DeleteGroup(object info) // TODO: info is `any` in the node server
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Handle match/group/start_game
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="info"></param>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public ProfileStatusResponse JoinMatch(
|
||||||
|
MatchGroupStartGameRequest info,
|
||||||
|
string sessionId)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Handle client/match/group/status
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="info"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public MatchGroupStatusReponse GetGroupStatus(
|
||||||
|
MatchGroupStatusRequest info)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Handle /client/raid/configuration
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
public void ConfigureOfflineRaid(
|
||||||
|
GetRaidConfigurationRequestData request,
|
||||||
|
string sessionId)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Convert a difficulty value from pre-raid screen to a bot difficulty
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="botDifficulty">dropdown difficulty value</param>
|
||||||
|
/// <returns>bot difficulty</returns>
|
||||||
|
private string ConvertDifficultyDropdownIntoBotDifficulty(
|
||||||
|
string botDifficulty)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Handle client/match/local/start
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public StartLocalRaidResponseData StartLocalRaid(
|
||||||
|
string sessionId,
|
||||||
|
StartLocalRaidRequestData request)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Handle client/match/local/end
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
public void EndLocalRaid(
|
||||||
|
string sessionId,
|
||||||
|
EndLocalRaidRequestData request)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,51 @@
|
|||||||
|
using Core.Models.Eft.Common;
|
||||||
|
|
||||||
namespace Core.Controllers;
|
namespace Core.Controllers;
|
||||||
|
|
||||||
public class NoteController
|
public class NoteController
|
||||||
{
|
{
|
||||||
// TODO
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="pmcData"></param>
|
||||||
|
/// <param name="body"></param>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public ItemEventRouterResponse AddNote(
|
||||||
|
PmcData pmcData,
|
||||||
|
NoteActionBody body,
|
||||||
|
string sessionId)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="pmcData"></param>
|
||||||
|
/// <param name="body"></param>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public ItemEventRouterResponse EditNote(
|
||||||
|
PmcData pmcData,
|
||||||
|
NoteActionBody body,
|
||||||
|
string sessionId)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="pmcData"></param>
|
||||||
|
/// <param name="body"></param>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public ItemEventRouterResponse DeleteNote(
|
||||||
|
PmcData pmcData,
|
||||||
|
NoteActionBody body,
|
||||||
|
string sessionId)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -2,5 +2,36 @@ namespace Core.Controllers;
|
|||||||
|
|
||||||
public class NotifierController
|
public class NotifierController
|
||||||
{
|
{
|
||||||
// TODO
|
/// <summary>
|
||||||
|
/// Resolve an array of session notifications.
|
||||||
|
///
|
||||||
|
/// If no notifications are currently queued then intermittently check for new notifications until either
|
||||||
|
/// one or more appear or when a timeout expires.
|
||||||
|
/// If no notifications are available after the timeout, use a default message.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
public async Task NotifyAsync(string sessionId)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public string GetServer(string sessionId)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Handle client/notifier/channel/create
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public NotifierChannel GetChannel(string sessionId)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -2,5 +2,11 @@ namespace Core.Controllers;
|
|||||||
|
|
||||||
public class PresetController
|
public class PresetController
|
||||||
{
|
{
|
||||||
// TODO
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public void Initialize()
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,32 @@
|
|||||||
|
using Core.Models.Eft.Common.Tables;
|
||||||
|
|
||||||
namespace Core.Controllers;
|
namespace Core.Controllers;
|
||||||
|
|
||||||
public class PrestigeController
|
public class PrestigeController
|
||||||
{
|
{
|
||||||
// TODO
|
/// <summary>
|
||||||
|
/// Handle /client/prestige/list
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <param name="info"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public Prestige GetPrestige(
|
||||||
|
string sessionId,
|
||||||
|
EmptyRequestData info)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Handle /client/prestige/obtain
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <param name="info"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public object ObtainPrestige( // TODO: returns `any` in the node server, not implemented either
|
||||||
|
string sessionId,
|
||||||
|
EmptyRequestData info)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException("Method not Implemented");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -2,5 +2,22 @@ namespace Core.Controllers;
|
|||||||
|
|
||||||
public class WeatherController
|
public class WeatherController
|
||||||
{
|
{
|
||||||
// TODO
|
/// <summary>
|
||||||
|
/// Handle client/weather
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public WeatherData Generate()
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Handle client/localGame/weather
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public GetLocalWeatherResponseData GenerateLocal(string sessionId)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,51 @@
|
|||||||
|
using Core.Models.Eft.Common;
|
||||||
|
|
||||||
namespace Core.Controllers;
|
namespace Core.Controllers;
|
||||||
|
|
||||||
public class WishlistController
|
public class WishlistController
|
||||||
{
|
{
|
||||||
// TODO
|
/// <summary>
|
||||||
|
/// Handle AddToWishList
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="pmcData"></param>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public ItemEventRouterResponse AddToWishList(
|
||||||
|
PmcData pmcData,
|
||||||
|
AddItemToWishlistRequest request,
|
||||||
|
string sessionId)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Handle RemoveFromWishList event
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="pmcData"></param>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public ItemEventRouterResponse RemoveFromWishList(
|
||||||
|
PmcData pmcData,
|
||||||
|
RemoveFromWishlistRequest request,
|
||||||
|
string sessionId)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Handle changeWishlistItemCategory event
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="pmcData"></param>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <param name="sessionId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public ItemEventRouterResponse ChangeWishListItemCategory(
|
||||||
|
PmcData pmcData,
|
||||||
|
ChangeWishlistItemCategoryRequest request,
|
||||||
|
string sessionId)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user