1
0
mirror of synced 2025-12-17 10:38:10 +08:00

auto commit

This commit is contained in:
yitter
2021-04-05 21:21:39 +08:00
parent be0994641d
commit 2f4adc1a2e
13 changed files with 46 additions and 53 deletions

View File

@@ -3,5 +3,5 @@
* 开源地址https://gitee.com/yitter/idgenerator
*/
pub trait ISnowWorker {
fn NextId(&self) -> u64;
fn NextId(&self) -> i64;
}

View File

@@ -4,9 +4,9 @@
*/
pub struct OverCostActionArg {
ActionType: u32,
TimeTick: u64,
TimeTick: i64,
WorkerId: u16,
OverCostCountInOneTerm: u32,
GenCountInOneTerm: u32,
TermIndex: u32,
OverCostCountInOneTerm: i32,
GenCountInOneTerm: i32,
TermIndex: i32,
}