screpl.utils.sync module
Synchronize private memory
Use QueueGameCommand
(
https://github.com/phu54321/vgce/blob/master/docs/Blizzard/Starcraft/packets2.txt#L17
)
struct interaction {
int signature; // SCB
char encoded_content[76];
};
// rate 0.75 (uuencode)
// 76 * (0.75) = 57
struct decoded_content {
int method_id;
int epdaddrs[6];
int values[6];
};
-
exception
screpl.utils.sync.
SyncLimitError
[source]
-
Bases:
Exception
-
class
screpl.utils.sync.
SyncManager
(
su_id
,
is_multiplaying
)
[source]
-
Bases:
object
-
clear_recv
(
)
[source]
-
-
log_buffer
(
title
,
buf
)
[source]
-
-
parse_recv
(
address
)
[source]
-
-
search_epd
(
epdv
)
[source]
-
-
send_chat
(
address
)
[source]
-
-
sync_and_check
(
method
,
condition_pairs
,
sync
)
[source]
-
Send private memory of superuser and check the condition met
-
Parameters
-
sync
(
list
) – list of EUDVariables to synchronize