public static int RandSeedForHour(this Thing t, int salt) { int seed = t.HashOffset(); seed = Gen.HashCombineInt(seed, Find.TickManager.TicksAbs / 2500); return(Gen.HashCombineInt(seed, salt)); }
public static int RandSeedForHour(this Thing t, int salt) { return(Gen.HashCombineInt(Gen.HashCombineInt(t.HashOffset(), Find.TickManager.TicksAbs / 2500), salt)); }