Skip to content

Commit

Permalink
日志功能支持
Browse files Browse the repository at this point in the history
  • Loading branch information
LorisYounger committed Mar 22, 2024
1 parent 2d9c4d8 commit ea46f7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -780,14 +780,17 @@ private void Send_Click(object sender, RoutedEventArgs e)
case 0:
wmp.SendMessage(friend.Id, msg);
mw.Main.Say("{0} 悄悄地对你说: {1}".Translate(SteamClient.Name, cont));
wmp.Log("{0} 悄悄地对你说: {1}".Translate(SteamClient.Name, cont));
break;
case 1:
wmp.SendMessageALL(msg);
mw.Main.Say("{0} 对你说: {1}".Translate(SteamClient.Name, cont));
wmp.Log("{0} 对你说: {1}".Translate(SteamClient.Name, cont));
break;
case 2:
wmp.SendMessageALL(msg);
mw.Main.Say("{0} 对大家说: {1}".Translate(SteamClient.Name, cont));
wmp.Log("{0} 对大家说: {1}".Translate(SteamClient.Name, cont));
break;
}
});
Expand Down

0 comments on commit ea46f7a

Please sign in to comment.