Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sdk-public
sdk-demo
Commits
e8659dba
Commit
e8659dba
authored
Jun 05, 2025
by
zhengyingbing
Browse files
Merge branch 'feat_1.0.6.0' into 'master'
feat(app): 更新fastsdk版本. See merge request
!3
parents
9ba53ad8
6394b5e4
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/build.gradle
View file @
e8659dba
...
@@ -33,5 +33,5 @@ android {
...
@@ -33,5 +33,5 @@ android {
}
}
dependencies
{
dependencies
{
implementation
'com.hoolai.access.open:hoolai-core:1.0.
5
.0'
implementation
'com.hoolai.access.open:hoolai-core:1.0.
6
.0'
}
}
\ No newline at end of file
app/src/main/AndroidManifest.xml
View file @
e8659dba
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
android:icon=
"@mipmap/ic_launcher"
android:icon=
"@mipmap/ic_launcher"
android:label=
"fastSdkDemo"
android:label=
"fastSdkDemo"
android:supportsRtl=
"true"
android:supportsRtl=
"true"
android:resizeableActivity=
"false"
android:theme=
"@android:style/Theme.NoTitleBar.Fullscreen"
android:theme=
"@android:style/Theme.NoTitleBar.Fullscreen"
android:usesCleartextTraffic=
"true"
>
android:usesCleartextTraffic=
"true"
>
<!-- 游戏主类 -->
<!-- 游戏主类 -->
...
...
app/src/main/java/com/hl/demo/MainActivity.java
View file @
e8659dba
...
@@ -415,10 +415,14 @@ public class MainActivity extends Activity {
...
@@ -415,10 +415,14 @@ public class MainActivity extends Activity {
playerInfo
.
setVip
(
"1"
);
playerInfo
.
setVip
(
"1"
);
playerInfo
.
setPartyName
(
"帮派名称"
);
playerInfo
.
setPartyName
(
"帮派名称"
);
playerInfo
.
setClassField
(
"aaaa"
);
playerInfo
.
setClassField
(
"aaaa"
);
//extra格式:key:value,key:value,需要探测的地址放到此参数中
//注意:探测地址的冒号用@替换,key必须使用以下三个字段:gameResourceUrl/gameLoginServerUrl/gameServerUrl
//注意:探测地址的冒号用@替换,key必须使用以下三个字段:gameResourceUrl/gameLoginServerUrl/gameServerUrl
//TODO 详情:https://wanda.feishu.cn/wiki/wikcniSxQbyvqU3bzuXeOtpEcGc
//TODO 详情:https://wanda.feishu.cn/wiki/wikcniSxQbyvqU3bzuXeOtpEcGc
playerInfo
.
setExtra
(
"a:arm,b:bom,gameResourceUrl:http@game1.com,gameLoginServerUrl:tcp@game2.com,gameServerUrl:https@game3.com"
);
playerInfo
.
addExtra
(
"gameResourceUrl"
,
"http@game1.com"
);
playerInfo
.
addExtra
(
"gameLoginServerUrl"
,
"tcp@game2.com"
);
playerInfo
.
addExtra
(
"gameServerUrl"
,
"https@game3.com"
);
playerInfo
.
addExtra
(
"param1"
,
"arm"
);
playerInfo
.
addExtra
(
"param2"
,
10
);
playerInfo
.
addExtra
(
"param3"
,
9.99
);
playerInfo
.
setPhylum
(
"1"
);
playerInfo
.
setPhylum
(
"1"
);
return
playerInfo
;
return
playerInfo
;
}
}
...
...
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