amatt13 / amatt13/BossFight

Friends list

未关闭
#20 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Back End good first issue
主要语言
C#
星标
1
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

Create a SQL table that models the friendship relations

These columns will be needed
* PlyerFriendshipRelationId
* PlayerId
* BefriendedPlayerId
* CreationDate (when this row was created)

This relation will show what player's a given player has added to their friends list. The friendship is not necessarily mutual, as the player can add another without the other adding the first player.

The player should have a list of PlyerFriendshipRelations which will include all entries from the table where the PlyerId matches that of the player.

A new Object in the BE should also be created with the same names as the table uses.
Remember to update Player.BuildObjectFromReader() such that the "foreach (var player in result)" also adds the new relations to their PlyerFriendshipRelations list.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。