Re: LoadUrl Money
iseki
投稿数: 1581
Hi
引用: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
引用:
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
投票数:64
平均点:4.22
投稿ツリー
-
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)