private void HandleClilocMessageAffix(ClilocMessageAffixPacket packet)
        {
            var message = clilocSource.GetString(packet.MessageId.Value);

            if (!string.IsNullOrEmpty(packet.Affix))
            {
                message += packet.Affix;
            }

            journalSource.AddMessage(packet.Name, message, packet.SpeakerId, packet.SpeakerBody, packet.Color, packet.Type);
            console.WriteSpeech(packet.Name, message, packet.SpeakerId, packet.Color, packet.SpeakerBody, packet.Type);
        }
Beispiel #2
0
 private void HandleClilocMessageAffix(ClilocMessageAffixPacket packet)
 {
     journalSource.AddMessage(packet.Name, clilocDictionary.Value.GetString(packet.MessageId.Value) + packet.Affix, packet.SpeakerId, packet.SpeakerBody);
 }