-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement guild not found message (#381)
Use shared notifier method for guild replies. Don't change to information/member list state until the provider data is different from the cached data
- Loading branch information
1 parent
985c8e4
commit 206b88f
Showing
7 changed files
with
32 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
using AutomaticTypeMapper; | ||
using Moffat.EndlessOnline.SDK.Protocol.Net.Server; | ||
|
||
namespace EOLib.Domain.Notifiers | ||
{ | ||
public interface IGuildNotifier | ||
{ | ||
void NotifyGuildCreationRequest(int creatorPlayerID, string guildIdentity); | ||
|
||
void NotifyRequestToJoinGuild(int playerId, string name); | ||
void NotifyGuildDetailsUpdated(); | ||
|
||
void NotifyGuildReply(GuildReply reply); | ||
} | ||
|
||
[AutoMappedType] | ||
public class NoOpGuildNotifier : IGuildNotifier | ||
{ | ||
public void NotifyGuildCreationRequest(int creatorPlayerID, string guildIdentity) { } | ||
public void NotifyRequestToJoinGuild(int playerId, string name) { } | ||
public void NotifyGuildDetailsUpdated() { } | ||
public void NotifyGuildReply(GuildReply reply) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters