Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groups #37

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Groups #37

wants to merge 16 commits into from

Conversation

hel0t
Copy link

@hel0t hel0t commented Jul 3, 2024

Adds:

  • FikaMatchController to override default SPT match controller (SPT's MatchController lacked many methods that allow group functionality to work).
  • FikaGroupService for managing group related functions & state.
  • Numerous adjustments to callback and controller overrides to use groupId/sessionId for linking a player with their group & match etc.
  • GameCallbacks override which exposes the getCurrentGroup method for retrieving info on squad members.
  • MatchCallbacks override which exposes raidReady & raidNotReady methods for notifying other squad members of raid member ready status changes.
  • FikaMatchStaticRouter to expose the /client/match/raid/ready & /client/match/raid/not-ready endpoints.

Updates:

  • FikaMatchController with an extension to the startOfflineRaid method which sends the raid settings notification to group members..
  • ProfileControllerOverride with a new method getProfileStatus to expose profile info
  • FikaRaidController to link the player with their group in a handleRaidGetHost and handleRaidJoin.
  • FikaMatchService with group related info.
  • FikaUpdateController to add the groupId to handleSpawnpoint.
  • FikaRaidStaticRouter to add /fika/raid/group to expose the group/raid info to assist the JoinMatch method in the plugin.

@hel0t hel0t force-pushed the 3.9-groups branch 3 times, most recently from 8f3d68b to dbbd1a8 Compare July 3, 2024 08:54
@Lacyway Lacyway requested a review from TheSpartaPT July 3, 2024 10:20
@hel0t hel0t changed the base branch from 3.9.0 to main July 9, 2024 01:03
@hel0t
Copy link
Author

hel0t commented Jul 9, 2024

@Lacyway @TheSpartaPT I've removed chat related code and cherry picked squad updates on top of main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant