diff --git a/VPet-Simulator.Windows.Interface/MutiPlayer/IMPFriend.cs b/VPet-Simulator.Windows.Interface/MutiPlayer/IMPFriend.cs
index 2272b69..439ede4 100644
--- a/VPet-Simulator.Windows.Interface/MutiPlayer/IMPFriend.cs
+++ b/VPet-Simulator.Windows.Interface/MutiPlayer/IMPFriend.cs
@@ -1,4 +1,5 @@
-using System.Windows.Media;
+using LinePutScript;
+using System.Windows.Media;
using VPet_Simulator.Core;
using static VPet_Simulator.Core.GraphInfo;
using static VPet_Simulator.Windows.Interface.MPMessage;
@@ -25,7 +26,6 @@ public interface IMPFriend
/// 图像资源集
///
ImageResources ImageSources { get; }
-
///
/// 当前宠物图形名称
///
diff --git a/VPet-Simulator.Windows.Interface/MutiPlayer/MPMessage.cs b/VPet-Simulator.Windows.Interface/MutiPlayer/MPMessage.cs
index 787f6a1..8902a51 100644
--- a/VPet-Simulator.Windows.Interface/MutiPlayer/MPMessage.cs
+++ b/VPet-Simulator.Windows.Interface/MutiPlayer/MPMessage.cs
@@ -115,6 +115,10 @@ public struct MPMessage
/// 发送者名字
///
public string SendName { get; set; }
+ ///
+ /// 接受者名字
+ ///
+ public string ToName { get; set; }
}
///
/// 交互结构
diff --git a/VPet-Simulator.Windows/MainWindow_Property.cs b/VPet-Simulator.Windows/MainWindow_Property.cs
index a58cd76..2fcd6d7 100644
--- a/VPet-Simulator.Windows/MainWindow_Property.cs
+++ b/VPet-Simulator.Windows/MainWindow_Property.cs
@@ -18,7 +18,7 @@ public partial class MainWindow
///
/// 版本号
///
- public int version { get; } = 11004;
+ public int version { get; } = 11005;
///
/// 版本号
///
diff --git a/VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs b/VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs
index faf77d4..ccac98e 100644
--- a/VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs
+++ b/VPet-Simulator.Windows/MutiPlayer/MPFriends.xaml.cs
@@ -701,8 +701,8 @@ public partial class MPFriends : WindowX, IMPFriend
wmp.Log("{0} 悄悄地对你说: {1}".Translate(msg.SendName, msg.Content));
break;
case Chat.Type.Internal:
- Main.Say("{0} 对你说: {1}".Translate(msg.SendName, msg.Content));
- wmp.Log("{0} 对你说: {1}".Translate(msg.SendName, msg.Content));
+ Main.Say("{0} 对 {2} 说: {1}".Translate(msg.SendName, msg.Content, msg.ToName));
+ wmp.Log("{0} 对 {2} 说: {1}".Translate(msg.SendName, msg.Content, msg.ToName));
break;
case Chat.Type.Public:
Main.Say("{0} 对大家说: {1}".Translate(msg.SendName, msg.Content));
@@ -763,7 +763,7 @@ public partial class MPFriends : WindowX, IMPFriend
{
MPMessage msg = new MPMessage();
msg.Type = (int)MSGType.Chat;
- msg.SetContent(new Chat() { Content = cont, ChatType = (Chat.Type)talktype, SendName = SteamClient.Name });
+ msg.SetContent(new Chat() { Content = cont, ChatType = (Chat.Type)talktype, SendName = SteamClient.Name, ToName = friend.Name });
msg.To = SteamClient.SteamId;
switch (talktype)
@@ -775,8 +775,8 @@ public partial class MPFriends : WindowX, IMPFriend
break;
case 1:
wmp.SendMessageALL(msg);
- mw.Main.Say("{0} 对你说: {1}".Translate(SteamClient.Name, cont));
- wmp.Log("{0} 对你说: {1}".Translate(SteamClient.Name, cont));
+ mw.Main.Say("{0} 对 {2} 说: {1}".Translate(SteamClient.Name, cont, friend.Name));
+ wmp.Log("{0} 对 {2} 说: {1}".Translate(SteamClient.Name, cont, friend.Name));
break;
case 2:
wmp.SendMessageALL(msg);
diff --git a/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs b/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs
index b28cd93..0284188 100644
--- a/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs
+++ b/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs
@@ -194,6 +194,8 @@ public partial class winMutiPlayer : WindowX, IMPWindows
private void Main_TimeHandle(Main obj)
{
+
+
lb.SetMemberData("save", mw.GameSavesData.GameSave.ToLine().ToString());
}