Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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
nanahira
ygopro-core
Commits
836bacd5
Commit
836bacd5
authored
Dec 16, 2024
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update README
parent
7874592b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
README.md
README.md
+12
-12
No files found.
README.md
View file @
836bacd5
...
@@ -23,44 +23,44 @@ These functions create the game itself and then manipulate it.
...
@@ -23,44 +23,44 @@ These functions create the game itself and then manipulate it.
-
`intptr_t create_duel(uint_fast32_t seed);`
-
`intptr_t create_duel(uint_fast32_t seed);`
Create a the instance of the duel with a PRNG seed.
Create a the instance of the duel with a PRNG seed.
-
`void start_duel(intptr_t pduel, uint32 options);`
-
`void start_duel(intptr_t pduel, uint32
_t
options);`
Start the duel.
Start the duel.
-
`void end_duel(intptr_t pduel);`
-
`void end_duel(intptr_t pduel);`
End the duel.
End the duel.
-
`void set_player_info(intptr_t pduel, int32
playerid, int32 lp, int32 startcount, int32
drawcount);`
-
`void set_player_info(intptr_t pduel, int32
_t playerid, int32_t lp, int32_t startcount, int32_t
drawcount);`
Set up the duel information.
Set up the duel information.
-
`void get_log_message(intptr_t pduel, char* buf);`
-
`void get_log_message(intptr_t pduel, char* buf);`
-
`int32 get_message(intptr_t pduel, byte* buf);`
-
`int32
_t
get_message(intptr_t pduel, byte* buf);`
-
`int32 process(intptr_t pduel);`
-
`int32
_t
process(intptr_t pduel);`
Do a game tick.
Do a game tick.
-
`void new_card(intptr_t pduel, uint32
code, uint8 owner, uint8 playerid, uint8 location, uint8 sequence, uint8
position);`
-
`void new_card(intptr_t pduel, uint32
_t code, uint8_t owner, uint8_t playerid, uint8_t location, uint8_t sequence, uint8_t
position);`
Add a card to the duel state.
Add a card to the duel state.
-
`void new_tag_card(intptr_t pduel, uint32
code, uint8 owner, uint8
location);`
-
`void new_tag_card(intptr_t pduel, uint32
_t code, uint8_t owner, uint8_t
location);`
Add a new card to the tag pool.
Add a new card to the tag pool.
-
`int32
query_field_card(intptr_t pduel, uint8 playerid, uint8 location, uint32 query_flag, byte* buf, int32
use_cache);`
-
`int32
_t query_field_card(intptr_t pduel, uint8_t playerid, uint8_t location, uint32_t query_flag, byte* buf, int32_t
use_cache);`
Get a card in a specific location.
Get a card in a specific location.
-
`int32
query_field_count(intptr_t pduel, uint8 playerid, uint8
location);`
-
`int32
_t query_field_count(intptr_t pduel, uint8_t playerid, uint8_t
location);`
Get the number of cards in a specific location.
Get the number of cards in a specific location.
-
`int32
query_field_card(intptr_t pduel, uint8 playerid, uint8 location, uint32 query_flag, byte* buf, int32
use_cache);`
-
`int32
_t query_field_card(intptr_t pduel, uint8_t playerid, uint8_t location, uint32_t query_flag, byte* buf, int32_t
use_cache);`
Get all cards in some location.
Get all cards in some location.
-
`int32 query_field_info(intptr_t pduel, byte* buf);`
-
`int32
_t
query_field_info(intptr_t pduel, byte* buf);`
-
`void set_responsei(intptr_t pduel, int32 value);`
-
`void set_responsei(intptr_t pduel, int32
_t
value);`
-
`void set_responseb(intptr_t pduel, byte* buf);`
-
`void set_responseb(intptr_t pduel, byte* buf);`
-
`int32 preload_script(intptr_t pduel, const char* script_name);`
-
`int32
_t
preload_script(intptr_t pduel, const char* script_name);`
# Lua functions
# Lua functions
...
...
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