Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
LuckyFarm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
LuckyFarm
Commits
96d26bad
Commit
96d26bad
authored
Oct 15, 2020
by
maxiaoliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
020dcdf6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
11 deletions
+28
-11
GameActivity.kt
app/src/main/java/com/ym/game/GameActivity.kt
+28
-11
No files found.
app/src/main/java/com/ym/game/GameActivity.kt
View file @
96d26bad
...
@@ -26,12 +26,8 @@ class GameActivity : UnityPlayerActivity() {
...
@@ -26,12 +26,8 @@ class GameActivity : UnityPlayerActivity() {
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
super
.
onCreate
(
savedInstanceState
)
super
.
onCreate
(
savedInstanceState
)
TurntableDialog
.
initTurntableAnim
()
TurntableDialog
.
initTurntableAnim
()
// TurntableDialog.showTurntable(this)
// RxBusUtil.getDefault().send(RxBusConstant.RX_MAIN_TURNTABLE_LOTTERYED)
if
(
Utils
.
isFastClick
())
{
}
}
}
/**
/**
* 跳转提现页
* 跳转提现页
...
@@ -53,13 +49,6 @@ class GameActivity : UnityPlayerActivity() {
...
@@ -53,13 +49,6 @@ class GameActivity : UnityPlayerActivity() {
*/
*/
fun
oneveryDayWelfareClick
()
{
fun
oneveryDayWelfareClick
()
{
Log
.
d
(
"wxw"
,
"每日福利"
)
Log
.
d
(
"wxw"
,
"每日福利"
)
this
.
runOnUiThread
(
object
:
Runnable
{
override
fun
run
()
{
SiginDropsPopupwindow
().
init
(
this
@GameActivity
)
}
})
}
}
...
@@ -70,6 +59,34 @@ class GameActivity : UnityPlayerActivity() {
...
@@ -70,6 +59,34 @@ class GameActivity : UnityPlayerActivity() {
Log
.
d
(
"wxw"
,
"打卡提现"
)
Log
.
d
(
"wxw"
,
"打卡提现"
)
}
}
/**
* 幸运转盘
*/
fun
luckyTurntable
()
{
if
(
Utils
.
isFastClick
())
{
TurntableDialog
.
showTurntable
(
this
)
RxBusUtil
.
getDefault
().
send
(
RxBusConstant
.
RX_MAIN_TURNTABLE_LOTTERYED
)
}
}
/**
* 领金币
*/
fun
getCoin
()
{
this
.
runOnUiThread
(
object
:
Runnable
{
override
fun
run
()
{
SiginDropsPopupwindow
().
init
(
this
@GameActivity
)
}
})
}
/**
* 打开飞行宝箱
*/
fun
openFlyBox
()
{
}
/**
/**
* 获取首页信息
* 获取首页信息
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment