You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internalMouseState(IMouse mouse,MemoryPool<byte> pool){//IL_0097: Unknown result type (might be due to invalid IL or missing references)//IL_009d: Expected I4, but got Unknown//IL_015f: Unknown result type (might be due to invalid IL or missing references)//IL_0164: Unknown result type (might be due to invalid IL or missing references)Name=((IInputDevice)mouse).Name;Index=((IInputDevice)mouse).Index;IsConnected=((IInputDevice)mouse).IsConnected;IReadOnlyList<MouseButton>supportedButtons=mouse.SupportedButtons;_buttonCount=supportedButtons.Count;_buttons=pool.Rent(_buttonCount*4);_pressedButtons=pool.Rent(_buttonCount*4);_pressedButtonCount=_buttonCount;Span<MouseButton>supportedButtons2=GetSupportedButtons();Span<MouseButton>pressedButtons=GetPressedButtons();_pressedButtonCount=0;for(inti=0;i<_buttonCount;i++){supportedButtons2[i]=(MouseButton)(int)supportedButtons[i];if(mouse.IsButtonPressed(supportedButtons2[i])){pressedButtons[_pressedButtonCount++]=supportedButtons2[i];}}using(_pressedButtons){Span<MouseButton>pressedButtons2=GetPressedButtons();_pressedButtons=pool.Rent(_pressedButtonCount*4);pressedButtons=GetPressedButtons();pressedButtons2.CopyTo(pressedButtons);IReadOnlyList<ScrollWheel>scrollWheels=mouse.ScrollWheels;_scrollWheelCount=scrollWheels.Count;_scrollWheels=pool.Rent(_scrollWheelCount*Unsafe.SizeOf<ScrollWheel>());Span<ScrollWheel>scrollWheels2=GetScrollWheels();for(intj=0;j<_scrollWheelCount;j++){scrollWheels2[j]=scrollWheels[j];}Position=mouse.Position;}}
The text was updated successfully, but these errors were encountered:
version 2.22
The text was updated successfully, but these errors were encountered: