You can search for identifiers within the package.
in-package search v0.2.0
tiny_libs.networking_netcode
Rollback
type 'model t
val create : me:int -> players:int -> ?delay:int -> ?max_ahead:int -> update:(string array -> 'model -> 'model) -> on_confirm:(int -> 'model -> unit) -> 'model -> 'model t
val step : 'model t -> string -> unit
val settle : 'model t -> unit
val model : 'model t -> 'model
val tick : 'model t -> int
val confirmed : 'model t -> int
val packet : 'model t -> string
val receive : 'model t -> string -> unit
val checksum : 'model t -> tick:int -> int32 -> unit
val desync : 'model t -> (int * int) option
type stats = {
stalls : int;
rollbacks : int;
replayed : int;
deepest : int;
dropped : int;
}
val stats : 'model t -> stats