Exemplo n.º 1
0
 [Execute]//邀请加入某个社会关
 public void Excute(stRequestAddRelationUserCmd_CS cmd)
 {
     Engine.Utility.Log.Error("邀请加入某个社会关系");
     //GameCmd.stCommonMChatUserCmd
     if (cmd.type == RelationType.Relation_FriendRequest)
     {
         DataManager.Manager <ChatDataManager>().PrivateChatManager.AddChat(new GameCmd.stCommonMChatUserCmd_CS()
         {
             dwOPDes    = 0,
             szInfo     = ChatDataManager.GetAddFriendHrefString(cmd.requestname, cmd.id),
             szOPDes    = cmd.requestname,
             byChatType = CHATTYPE.CHAT_SYS,
         });
     }
 }