Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile
Commits
6a5598dd
Commit
6a5598dd
authored
Apr 29, 2025
by
fallenstardust
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/fallenstardust/YGOMobile-cn-ko-en
parents
3823c71e
dada972b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
56 additions
and
12 deletions
+56
-12
Classes/ocgcore/libduel.cpp
Classes/ocgcore/libduel.cpp
+21
-0
Classes/ocgcore/scriptlib.h
Classes/ocgcore/scriptlib.h
+4
-0
mobile/assets/kor/data/conf/strings.conf
mobile/assets/kor/data/conf/strings.conf
+16
-7
mobile/assets/user_Privacy_Policy_KO.html
mobile/assets/user_Privacy_Policy_KO.html
+4
-4
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
+6
-0
mobile/src/main/java/cn/garymb/ygomobile/GameUriManager.java
mobile/src/main/java/cn/garymb/ygomobile/GameUriManager.java
+2
-1
mobile/src/main/java/cn/garymb/ygomobile/bean/Deck.java
mobile/src/main/java/cn/garymb/ygomobile/bean/Deck.java
+3
-0
No files found.
Classes/ocgcore/libduel.cpp
View file @
6a5598dd
...
@@ -13,6 +13,23 @@
...
@@ -13,6 +13,23 @@
#include "group.h"
#include "group.h"
#include "ocgapi.h"
#include "ocgapi.h"
#ifdef _IRR_ANDROID_PLATFORM_
int32_t
scriptlib
::
duel_load_script
(
lua_State
*
L
)
{
check_param_count
(
L
,
1
);
check_param
(
L
,
PARAM_TYPE_STRING
,
1
);
duel
*
pduel
=
interpreter
::
get_duel_info
(
L
);
const
char
*
pstr
=
lua_tostring
(
L
,
1
);
char
filename
[
64
];
sprintf
(
filename
,
"./script/%s"
,
pstr
);
lua_pushboolean
(
L
,
pduel
->
lua
->
load_script
(
filename
));
return
1
;
}
#endif
int32_t
scriptlib
::
duel_enable_global_flag
(
lua_State
*
L
)
{
int32_t
scriptlib
::
duel_enable_global_flag
(
lua_State
*
L
)
{
check_param_count
(
L
,
1
);
check_param_count
(
L
,
1
);
int32_t
flag
=
(
int32_t
)
lua_tointeger
(
L
,
1
);
int32_t
flag
=
(
int32_t
)
lua_tointeger
(
L
,
1
);
...
@@ -4839,6 +4856,10 @@ int32_t scriptlib::duel_majestic_copy(lua_State *L) {
...
@@ -4839,6 +4856,10 @@ int32_t scriptlib::duel_majestic_copy(lua_State *L) {
}
}
static
const
struct
luaL_Reg
duellib
[]
=
{
static
const
struct
luaL_Reg
duellib
[]
=
{
#ifdef _IRR_ANDROID_PLATFORM_
{
"LoadScript"
,
scriptlib
::
duel_load_script
},
#endif
{
"EnableGlobalFlag"
,
scriptlib
::
duel_enable_global_flag
},
{
"EnableGlobalFlag"
,
scriptlib
::
duel_enable_global_flag
},
{
"GetLP"
,
scriptlib
::
duel_get_lp
},
{
"GetLP"
,
scriptlib
::
duel_get_lp
},
{
"SetLP"
,
scriptlib
::
duel_set_lp
},
{
"SetLP"
,
scriptlib
::
duel_set_lp
},
...
...
Classes/ocgcore/scriptlib.h
View file @
6a5598dd
...
@@ -29,6 +29,10 @@ public:
...
@@ -29,6 +29,10 @@ public:
static
int32_t
check_param_count
(
lua_State
*
L
,
int32_t
count
);
static
int32_t
check_param_count
(
lua_State
*
L
,
int32_t
count
);
static
int32_t
check_action_permission
(
lua_State
*
L
);
static
int32_t
check_action_permission
(
lua_State
*
L
);
#ifdef _IRR_ANDROID_PLATFORM_
static
int32_t
duel_load_script
(
lua_State
*
L
);
#endif
//card lib
//card lib
static
int32_t
card_get_code
(
lua_State
*
L
);
static
int32_t
card_get_code
(
lua_State
*
L
);
static
int32_t
card_get_origin_code
(
lua_State
*
L
);
static
int32_t
card_get_origin_code
(
lua_State
*
L
);
...
...
mobile/assets/kor/data/conf/strings.conf
View file @
6a5598dd
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
!
system
531
어드밴스 소환을 위해 릴리스할 카드를 선택하세요.
!
system
531
어드밴스 소환을 위해 릴리스할 카드를 선택하세요.
!
system
532
엑시즈 소재를 제거할 몬스터를 선택하세요.
!
system
532
엑시즈 소재를 제거할 몬스터를 선택하세요.
!
system
533
링크 소재를 선택하세요.
!
system
533
링크 소재를 선택하세요.
!
system
534
필드에
유지할 카드를 선택하
세요.
!
system
534
필드에
남길 카드를 고르
세요.
!
system
549
공격 대상을 선택하세요.
!
system
549
공격 대상을 선택하세요.
!
system
550
발동할 효과를 선택하세요.
!
system
550
발동할 효과를 선택하세요.
!
system
551
효과 대상을 선택하세요.
!
system
551
효과 대상을 선택하세요.
...
@@ -316,9 +316,9 @@
...
@@ -316,9 +316,9 @@
!
system
1253
현재 관전자 수:
!
system
1253
현재 관전자 수:
!
system
1254
덱 선택
!
system
1254
덱 선택
!
system
1255
준비 완료!
!
system
1255
준비 완료!
!
system
1260
마스터 룰
1
!
system
1260
마스터 룰
1
!
system
1261
마스터 룰
2
!
system
1261
마스터 룰
2
!
system
1262
마스터 룰
3
!
system
1262
마스터 룰
3
!
system
1263
마스터 룰
4
!
system
1263
마스터 룰
4
!
system
1264
마스터 룰 (
2020
)
!
system
1264
마스터 룰 (
2020
)
!
system
1270
카드 정보
!
system
1270
카드 정보
...
@@ -400,7 +400,7 @@
...
@@ -400,7 +400,7 @@
!
system
1351
항복
!
system
1351
항복
!
system
1352
정보:
!
system
1352
정보:
!
system
1353
이 턴부터 시작:
!
system
1353
이 턴부터 시작:
!
system
1354
개시 시 모든 시점 표시
!
system
1354
듀얼 개시시 전부 체인
!
system
1355
[%
ls
]을(를) 세트하겠습니까?
!
system
1355
[%
ls
]을(를) 세트하겠습니까?
!
system
1356
덱 변경 사항을 포기하겠습니까?
!
system
1356
덱 변경 사항을 포기하겠습니까?
!
system
1357
덱 변경 사항 요구 무시
!
system
1357
덱 변경 사항 요구 무시
...
@@ -657,7 +657,7 @@
...
@@ -657,7 +657,7 @@
!
counter
0
x68
카운터(토템폴)
!
counter
0
x68
카운터(토템폴)
!
counter
0
x69
카운터(베다=우파니샤드)
!
counter
0
x69
카운터(베다=우파니샤드)
!
counter
0
x6a
향명 카운터
!
counter
0
x6a
향명 카운터
!
counter
0
x6b
광애 카운터
!
counter
0
x
10
6b
광애 카운터
!
counter
0
x6c
액세스 카운터
!
counter
0
x6c
액세스 카운터
!
counter
0
x6d
숙제 카운터
!
counter
0
x6d
숙제 카운터
#setnames, using tab for comment
#setnames, using tab for comment
...
@@ -1240,4 +1240,13 @@
...
@@ -1240,4 +1240,13 @@
!
setname
0
x1bf
M
∀
LICE
(맬리스)
!
setname
0
x1bf
M
∀
LICE
(맬리스)
!
setname
0
x1c0
룡화
!
setname
0
x1c0
룡화
!
setname
0
x1c1
ARG
☆
S
(아르고스타즈)
!
setname
0
x1c1
ARG
☆
S
(아르고스타즈)
!
setname
0
x1c2
아쿠아 제트
!
setname
0
x1c2
아쿠아 제트
\ No newline at end of file
!
setname
0
x1c3
미츠루기
!
setname
0
x1c4
정룡
!
setname
0
x1c5
리제네시스
!
setname
0
x1c6
도미나스
!
setname
0
x1c7
셀케트
!
setname
0
x1c8
아포피스
!
setname
0
x1c9
드래곤테일
!
setname
0
x1ca
야미
!
setname
0
x1cb
K9
mobile/assets/user_Privacy_Policy_KO.html
View file @
6a5598dd
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<pre>
<pre>
YGOMobile(이하 "본 앱")에 오신 것을 환영합니다.
YGOMobile(이하 "본 앱")에 오신 것을 환영합니다.
우리는 사용자의 개인정보를 매우 중요하게 생각하며 이를 보호하기 위해 최선을 다하고 있습니다.
우리는 사용자의 개인정보를 매우 중요하게 생각하며 이를 보호하기 위해 최선을 다하고 있습니다.
이 개인정보 보호정책은 본 앱을 이용할 때 어떻게 개인정보를 수집
하고, 사용하며
, 저장하고 보호하는지를 설명합니다. 주의 깊게 읽어주세요.
이 개인정보 보호정책은 본 앱을 이용할 때 어떻게 개인정보를 수집
, 사용
, 저장하고 보호하는지를 설명합니다. 주의 깊게 읽어주세요.
</pre>
</pre>
<h3
style=
"color:#00ffff"
>
수집된 정보 및 사용
</h3>
<h3
style=
"color:#00ffff"
>
수집된 정보 및 사용
</h3>
<ul>
<ul>
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<li
style=
"color:#ffff00"
>
외부 저장소 읽기
</li>
<li
style=
"color:#ffff00"
>
외부 저장소 읽기
</li>
</ul>
</ul>
<pre>
<pre>
이 권한은 갤러리 이미지를 읽어 카드
백, 배경, 아바타 변경 및 로컬 백업
복원에 사용됩니다. 비활성화 가능.
이 권한은 갤러리 이미지를 읽어 카드
팩, 배경, 아바타 변경 및 로컬 백업 및
복원에 사용됩니다. 비활성화 가능.
</pre>
</pre>
<ul>
<ul>
<li
style=
"color:#ffff00"
>
외부 저장소 쓰기
</li>
<li
style=
"color:#ffff00"
>
외부 저장소 쓰기
</li>
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<li
style=
"color:#ffff00"
>
개인정보 사용
</li>
<li
style=
"color:#ffff00"
>
개인정보 사용
</li>
</ul>
</ul>
<pre>
<pre>
멍카
플랫폼 계정을 등록할 때 사용자 이름, 이메일 주소 등의 기본 정보를 요구합니다. 우리는 이러한 정보를 다른 목적으로 사용하지 않습니다.
MyCard
플랫폼 계정을 등록할 때 사용자 이름, 이메일 주소 등의 기본 정보를 요구합니다. 우리는 이러한 정보를 다른 목적으로 사용하지 않습니다.
</pre>
</pre>
<ul>
<ul>
<li
style=
"color:#ffff00"
>
정보 공유 및 공개
</li>
<li
style=
"color:#ffff00"
>
정보 공유 및 공개
</li>
...
@@ -77,4 +77,4 @@
...
@@ -77,4 +77,4 @@
이 개인정보 보호정책에 대한 질문이나 우려 사항이 있는 경우 [모델 디버그 그룹]을 클릭하여 QQ 그룹에 가입하세요.
이 개인정보 보호정책에 대한 질문이나 우려 사항이 있는 경우 [모델 디버그 그룹]을 클릭하여 QQ 그룹에 가입하세요.
</pre>
</pre>
</body>
</body>
</html>
</html>
\ No newline at end of file
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
View file @
6a5598dd
...
@@ -242,6 +242,12 @@ public interface Constants {
...
@@ -242,6 +242,12 @@ public interface Constants {
String
QUERY_YDK
=
"ydk"
;
String
QUERY_YDK
=
"ydk"
;
String
QUERY_NAME
=
"name"
;
String
QUERY_NAME
=
"name"
;
/**
* 打开卡组的路径,参数可以是以下两种形式:
* <br/>1、青眼白龙.ydk
* <br/> 2、/sdcard/ygocore/deck/青眼白龙.ydk
*/
String
ARG_OPEN_DECK_PATH
=
"openDeckPath"
;
String
PATH_ROOM
=
"/room"
;
String
PATH_ROOM
=
"/room"
;
String
QUERY_HOST
=
"host"
;
String
QUERY_HOST
=
"host"
;
String
QUERY_PORT
=
"port"
;
String
QUERY_PORT
=
"port"
;
...
...
mobile/src/main/java/cn/garymb/ygomobile/GameUriManager.java
View file @
6a5598dd
...
@@ -4,6 +4,7 @@ import static cn.garymb.ygomobile.Constants.ACTION_OPEN_DECK;
...
@@ -4,6 +4,7 @@ import static cn.garymb.ygomobile.Constants.ACTION_OPEN_DECK;
import
static
cn
.
garymb
.
ygomobile
.
Constants
.
ACTION_OPEN_GAME
;
import
static
cn
.
garymb
.
ygomobile
.
Constants
.
ACTION_OPEN_GAME
;
import
static
cn
.
garymb
.
ygomobile
.
Constants
.
CORE_EXPANSIONS
;
import
static
cn
.
garymb
.
ygomobile
.
Constants
.
CORE_EXPANSIONS
;
import
static
cn
.
garymb
.
ygomobile
.
Constants
.
CORE_LIMIT_PATH
;
import
static
cn
.
garymb
.
ygomobile
.
Constants
.
CORE_LIMIT_PATH
;
import
static
cn
.
garymb
.
ygomobile
.
Constants
.
ARG_OPEN_DECK_PATH
;
import
static
cn
.
garymb
.
ygomobile
.
Constants
.
CORE_REPLAY_PATH
;
import
static
cn
.
garymb
.
ygomobile
.
Constants
.
CORE_REPLAY_PATH
;
import
static
cn
.
garymb
.
ygomobile
.
Constants
.
CORE_SINGLE_PATH
;
import
static
cn
.
garymb
.
ygomobile
.
Constants
.
CORE_SINGLE_PATH
;
import
static
cn
.
garymb
.
ygomobile
.
Constants
.
QUERY_NAME
;
import
static
cn
.
garymb
.
ygomobile
.
Constants
.
QUERY_NAME
;
...
@@ -274,7 +275,7 @@ public class GameUriManager {
...
@@ -274,7 +275,7 @@ public class GameUriManager {
// return;
// return;
// }
// }
if
(
Constants
.
URI_DECK
.
equals
(
host
))
{
if
(
Constants
.
URI_DECK
.
equals
(
host
))
{
String
name
=
uri
.
getQueryParameter
(
QUERY_NAME
);
String
name
=
uri
.
getQueryParameter
(
ARG_OPEN_DECK_PATH
);
if
(!
TextUtils
.
isEmpty
(
name
))
{
if
(!
TextUtils
.
isEmpty
(
name
))
{
doOpenPath
(
name
);
doOpenPath
(
name
);
}
else
{
}
else
{
...
...
mobile/src/main/java/cn/garymb/ygomobile/bean/Deck.java
View file @
6a5598dd
...
@@ -39,6 +39,9 @@ public class Deck implements Parcelable {
...
@@ -39,6 +39,9 @@ public class Deck implements Parcelable {
private
final
ArrayList
<
Integer
>
extraList
;
private
final
ArrayList
<
Integer
>
extraList
;
private
final
ArrayList
<
Integer
>
sideList
;
private
final
ArrayList
<
Integer
>
sideList
;
private
String
name
;
private
String
name
;
/**
* 是否是完整卡组,部分卡组码可能保存出来是不完整的卡组
*/
private
boolean
isCompleteDeck
=
true
;
private
boolean
isCompleteDeck
=
true
;
public
Deck
()
{
public
Deck
()
{
...
...
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