mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-03-22 01:44:39 -05:00
19 lines
451 B
TypeScript
19 lines
451 B
TypeScript
export const eventLog: EPR = (info, data, send) => {
|
|
return send.object({
|
|
gamesession: K.ITEM("s64", BigInt(1)),
|
|
logsendflg: K.ITEM("s32", 0),
|
|
logerrlevel: K.ITEM("s32", 0),
|
|
evtidnosendflg: K.ITEM("s32", 0)
|
|
});
|
|
};
|
|
|
|
export const convcardnumber: EPR = (info, data, send) => {
|
|
return send.object({
|
|
result: K.ITEM("s32", 0),
|
|
|
|
data: {
|
|
card_number: K.ITEM("str", $(data).str("data.card_id").split("|")[0])
|
|
}
|
|
});
|
|
};
|