Show / Hide Table of Contents

Class Input

Inheritance
Object
Input
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Server.IO
Assembly: SlipeServer.dll
Syntax
public static class Input

Methods

| Improve this Doc View Source

BindKey(Player, String, KeyState, Action<Player, String, KeyState>)

Binds a key to a method

Declaration
public static bool BindKey(Player player, string key, KeyState state, Action<Player, string, KeyState> handler)
Parameters
Type Name Description
Player player
String key
KeyState state
Action<Player, String, KeyState> handler
Returns
Type Description
Boolean
| Improve this Doc View Source

BindKey(Player, String, KeyState, String)

Binds a key to a command

Declaration
public static bool BindKey(Player player, string key, KeyState state, string command)
Parameters
Type Name Description
Player player
String key
KeyState state
String command
Returns
Type Description
Boolean
| Improve this Doc View Source

UnbindKey(Player, String, KeyState, Action<Player, String, KeyState>)

Unbinds a key from a method

Declaration
public static bool UnbindKey(Player player, string key, KeyState state, Action<Player, string, KeyState> handler)
Parameters
Type Name Description
Player player
String key
KeyState state
Action<Player, String, KeyState> handler
Returns
Type Description
Boolean
| Improve this Doc View Source

UnbindKey(Player, String, KeyState, String)

Unbinds a key from a command

Declaration
public static bool UnbindKey(Player player, string key, KeyState state, string command = null)
Parameters
Type Name Description
Player player
String key
KeyState state
String command
Returns
Type Description
Boolean
  • Improve this Doc
  • View Source
Back to top Generated by DocFX