Exemplo n.º 1
0
 public static ChatServerCopyMessage GetChatServerCopyMessage(ChatActivableChannelsEnum channel, string message, WorldClient client, WorldClient target)
 {
     return(new ChatServerCopyMessage((sbyte)ChatActivableChannelsEnum.PSEUDO_CHANNEL_PRIVATE,
                                      message,
                                      (int)DateExtensions.DateTimeToUnixTimestamp(DateTime.Now),
                                      client.Character.Record.Name,
                                      (uint)target.Character.Record.Id,
                                      target.Character.Record.Name));
 }
Exemplo n.º 2
0
 public static ChatServerMessage GetChatServerMessage(ChatActivableChannelsEnum channel, string message, WorldClient client)
 {
     return(new ChatServerMessage((sbyte)channel,
                                  message,
                                  (int)DateExtensions.DateTimeToUnixTimestamp(DateTime.Now),
                                  string.Empty,
                                  client.Character.Id,
                                  client.Character.Name,
                                  client.Account.Id));
 }