Exemplo n.º 1
0
 public void sureDeccompostion(MessageHandle msg)
 {
     if (msg.msgEvent == msg_event.dialogOK)
     {
         int num = msg.msgNum;
         //PropSampleManager.Instance.createSample((msg.msgInfo as Prop).sid).prizes[0];
         ps     = PropSampleManager.Instance.getPropSampleBySid((msg.msgInfo as Prop).sid).prizes[0];
         ps.num = num + "";
         //组建分解字符串
         string            str  = "card|equipment|artifact|goods," + (msg.msgInfo as Prop).sid.ToString() + "," + num.ToString();
         ResolveGoodsFPort port = FPortManager.Instance.getFPort("ResolveGoodsFPort") as ResolveGoodsFPort;
         fawin.ps = ps;
         port.resolveGoods(str, null, fawin.resolveBack);
     }
     else
     {
     }
 }
Exemplo n.º 2
0
    //真正的发送消息
    private void toFPort()
    {
        ResolveGoodsFPort port = FPortManager.Instance.getFPort("ResolveGoodsFPort") as ResolveGoodsFPort;

        port.resolveGoods(change(selectList), cardofHaveStarSoul, resolveBack);
    }