コード例 #1
0
    bool HandleCreateOrder(NetCmdBase obj)
    {
        GC_Cmd_CreateOrder ncb = (GC_Cmd_CreateOrder)obj;

        SDKMgr.Instance.SDK.Pay(ncb.ItemID, ncb.ProductID, ncb.OrderID.ToString(), ncb.notify_url, ncb.ProductID);
        return(true);
    }
コード例 #2
0
    bool HandleCreateOrder(NetCmdBase obj)
    {
        GC_Cmd_CreateOrder ncb = (GC_Cmd_CreateOrder)obj;

        SDKMgr.Instance.PayData.PayChannel = (PayChannelType)ncb.PayType;
        SDKMgr.Instance.PayData.OrderID    = ncb.OrderID;
        SDKMgr.Instance.SDK.Pay(ncb.ItemID, ncb.ProductID, ncb.OrderID, ncb.notify_url, ncb.ProductID);
        return(true);
    }