Re: LoadUrl Money
- depth:
- 5
iseki
Posts: 1581
Hi
Quote:To be sure, it is not beautiful.
I tried to modify MoneyModule.cs, and I success to work test code.
I modified AddBankerMoneyHandler() function.
SendUrlToUser() function is a correct answer.
Next problem is that where is this used?
I do not understand your payment system well yet.
Example, banker avatar does not need this URL. Is it correct?
Other all avatars get this URL, and goto WEB site. and operate WEB.
So, you send money to operated avatar (automatically?). Is it OK?
Thanks
Quote:
Not good because send chat message not beautifull
I tried to modify MoneyModule.cs, and I success to work test code.
I modified AddBankerMoneyHandler() function.
if (requestParam.Contains("amount"))
{
Scene scene = (Scene)client.Scene;
int amount = (int)requestParam["amount"];
ret = AddBankerMoney(bankerUUID, amount, scene.RegionInfo.RegionHandle);
// I added following 4 lines.
IDialogModule dlg = scene.RequestModuleInterface<IDialogModule>();
if (dlg!=null) {
dlg.SendUrlToUser(bankerUUID, "TEST1", UUID.Zero, UUID.Zero, false, "TEST2", "http://www.yahoo.com/");
}
}
SendUrlToUser() function is a correct answer.
Next problem is that where is this used?
I do not understand your payment system well yet.
Example, banker avatar does not need this URL. Is it correct?
Other all avatars get this URL, and goto WEB site. and operate WEB.
So, you send money to operated avatar (automatically?). Is it OK?
Thanks
Votes:64
Average:4.22
Posts tree
-
LoadUrl Money
(milo, 2012/2/18 20:14)
-
Re: LoadUrl Money
(iseki, 2012/2/19 14:58)
-
Re: LoadUrl Money
(milo, 2012/2/19 17:51)
-
Re: LoadUrl Money
(iseki, 2012/2/19 18:29)
-
Re: LoadUrl Money
(milo, 2012/2/19 18:43)
- Re: LoadUrl Money (iseki, 2012/2/19 19:23)
-
Re: LoadUrl Money
(milo, 2012/2/19 18:43)
-
Re: LoadUrl Money
(iseki, 2012/2/19 18:29)
-
Re: LoadUrl Money
(milo, 2012/2/19 17:51)
- Re: LoadUrl Money (milo, 2012/2/19 19:34)
-
Re: LoadUrl Money
(milo, 2012/2/19 19:39)
-
Re: LoadUrl Money
(iseki, 2012/2/20 1:33)
-
Re: LoadUrl Money
(milo, 2012/2/20 16:25)
- Re: LoadUrl Money (milo, 2012/2/20 17:43)
-
Re: LoadUrl Money
(milo, 2012/2/20 16:25)
-
Re: LoadUrl Money
(iseki, 2012/2/20 1:33)
-
Re: LoadUrl Money
(milo, 2012/2/20 18:28)
- Re: LoadUrl Money (iseki, 2012/2/20 21:48)
-
Re: LoadUrl Money
(milo, 2012/2/20 21:54)
- Re: LoadUrl Money (milo, 2012/2/21 15:44)
-
Re: LoadUrl Money
(iseki, 2012/2/19 14:58)