-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from sebastian-heinz/refactor-chat-and-party
Refactor chat and party
- Loading branch information
Showing
91 changed files
with
152,307 additions
and
5,154 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System; | ||
using Arrowgene.Ddon.Shared.Model; | ||
|
||
namespace Arrowgene.Ddon.GameServer.Chat.Log; | ||
|
||
public class ChatMessageLogEntry | ||
{ | ||
// For the JSON deserializer | ||
public ChatMessageLogEntry() | ||
{ | ||
} | ||
|
||
public ChatMessageLogEntry(Character character, ChatMessage chatMessage) | ||
{ | ||
DateTime = DateTime.Now; | ||
FirstName = character.FirstName; | ||
LastName = character.LastName; | ||
CharacterId = character.Id; | ||
ChatMessage = chatMessage; | ||
} | ||
|
||
public DateTime DateTime { get; set; } | ||
public string FirstName { get; set; } | ||
public string LastName { get; set; } | ||
public uint CharacterId { get; set; } | ||
public ChatMessage ChatMessage { get; set; } | ||
} |
Oops, something went wrong.