public void AddKeyBinding(KeyBinding keyBinding) { RequestManager.EnsureDirectEvent(); this.Call("addBinding", new JRawValue(new ClientConfig().SerializeInternal(keyBinding, this))); } }