public ModIdentity Register(string name) { return(new ModIdentity() { Value = (byte)_modRegistry.Register(name) }); }