@@ -362,32 +362,32 @@ public static class Buttons
362362 {
363363 public static readonly IReadOnlyDictionary < string , PlayerButtons > ButtonMapping = new Dictionary < string , PlayerButtons >
364364 {
365- [ "Alt1" ] = ( PlayerButtons ) 16384 ,
366- [ "Alt2" ] = ( PlayerButtons ) 32768 ,
367- [ "Attack" ] = ( PlayerButtons ) 1 ,
368- [ "Attack2" ] = ( PlayerButtons ) 2048 ,
369- [ "Attack3" ] = ( PlayerButtons ) 16777216 ,
370- [ "Bullrush" ] = ( PlayerButtons ) 2097152 ,
371- [ "Cancel" ] = ( PlayerButtons ) 64 ,
372- [ "Duck" ] = ( PlayerButtons ) 4 ,
373- [ "Grenade1" ] = ( PlayerButtons ) 4194304 ,
374- [ "Grenade2" ] = ( PlayerButtons ) 8388608 ,
375- [ "Space" ] = ( PlayerButtons ) 2 ,
376- [ "Left" ] = ( PlayerButtons ) 128 ,
377- [ "W" ] = ( PlayerButtons ) 8 ,
378- [ "A" ] = ( PlayerButtons ) 512 ,
379- [ "S" ] = ( PlayerButtons ) 16 ,
380- [ "D" ] = ( PlayerButtons ) 1024 ,
381- [ "E" ] = ( PlayerButtons ) 32 ,
382- [ "R" ] = ( PlayerButtons ) 8192 ,
365+ [ "Alt1" ] = PlayerButtons . Alt1 ,
366+ [ "Alt2" ] = PlayerButtons . Alt2 ,
367+ [ "Attack" ] = PlayerButtons . Attack ,
368+ [ "Attack2" ] = PlayerButtons . Attack2 ,
369+ [ "Attack3" ] = PlayerButtons . Attack3 ,
370+ [ "Bullrush" ] = PlayerButtons . Bullrush ,
371+ [ "Cancel" ] = PlayerButtons . Cancel ,
372+ [ "Duck" ] = PlayerButtons . Duck ,
373+ [ "Grenade1" ] = PlayerButtons . Grenade1 ,
374+ [ "Grenade2" ] = PlayerButtons . Grenade2 ,
375+ [ "Space" ] = PlayerButtons . Jump ,
376+ [ "Left" ] = PlayerButtons . Left ,
377+ [ "W" ] = PlayerButtons . Forward ,
378+ [ "A" ] = PlayerButtons . Left ,
379+ [ "S" ] = PlayerButtons . Back ,
380+ [ "D" ] = PlayerButtons . Right ,
381+ [ "E" ] = PlayerButtons . Use ,
382+ [ "R" ] = PlayerButtons . Reload ,
383383 [ "F" ] = ( PlayerButtons ) 34359738368L ,
384- [ "Shift" ] = ( PlayerButtons ) 65536 ,
385- [ "Right" ] = ( PlayerButtons ) 256 ,
386- [ "Run" ] = ( PlayerButtons ) 4096 ,
387- [ "Walk" ] = ( PlayerButtons ) 131072 ,
388- [ "Weapon1" ] = ( PlayerButtons ) 524288 ,
389- [ "Weapon2" ] = ( PlayerButtons ) 1048576 ,
390- [ "Zoom" ] = ( PlayerButtons ) 262144 ,
384+ [ "Shift" ] = PlayerButtons . Walk ,
385+ [ "Right" ] = PlayerButtons . Right ,
386+ [ "Run" ] = PlayerButtons . Run ,
387+ [ "Walk" ] = PlayerButtons . Walk ,
388+ [ "Weapon1" ] = PlayerButtons . Weapon1 ,
389+ [ "Weapon2" ] = PlayerButtons . Weapon2 ,
390+ [ "Zoom" ] = PlayerButtons . Zoom ,
391391 [ "Tab" ] = ( PlayerButtons ) 8589934592L ,
392392 } ;
393393 }
0 commit comments