C# 클래스 RAGENativeUI.Common

파일 보기 프로젝트 열기: alexguirre/RAGENativeUI 1 사용 예제들

공개 메소드들

메소드 설명
GetPressedKeys ( ) : ICollection

Gets the current pressed keys.

IsDisabledControlJustPressed ( int index, GameControl control ) : bool

Check if a Rage.GameControl is just pressed while it's disabled

IsDisabledControlJustReleased ( int index, GameControl control ) : bool

Check if a Rage.GameControl is just released while it's disabled

IsDisabledControlPressed ( int index, GameControl control ) : bool

Check if a Rage.GameControl is pressed while it's disabled

PlaySound ( string soundFile, string soundSet ) : void
WriteFileFromResources ( Assembly yourAssembly, string fullResourceName ) : string

Save an embedded resource to a temporary file.

WriteFileFromResources ( Assembly yourAssembly, string fullResourceName, string savePath ) : string

Save an embedded resource to a concrete path.

메소드 상세

GetPressedKeys() 공개 정적인 메소드

Gets the current pressed keys.
public static GetPressedKeys ( ) : ICollection
리턴 ICollection

IsDisabledControlJustPressed() 공개 정적인 메소드

Check if a Rage.GameControl is just pressed while it's disabled
public static IsDisabledControlJustPressed ( int index, GameControl control ) : bool
index int
control GameControl
리턴 bool

IsDisabledControlJustReleased() 공개 정적인 메소드

Check if a Rage.GameControl is just released while it's disabled
public static IsDisabledControlJustReleased ( int index, GameControl control ) : bool
index int
control GameControl
리턴 bool

IsDisabledControlPressed() 공개 정적인 메소드

Check if a Rage.GameControl is pressed while it's disabled
public static IsDisabledControlPressed ( int index, GameControl control ) : bool
index int
control GameControl
리턴 bool

PlaySound() 공개 정적인 메소드

public static PlaySound ( string soundFile, string soundSet ) : void
soundFile string
soundSet string
리턴 void

WriteFileFromResources() 공개 정적인 메소드

Save an embedded resource to a temporary file.
public static WriteFileFromResources ( Assembly yourAssembly, string fullResourceName ) : string
yourAssembly System.Reflection.Assembly Your executing assembly.
fullResourceName string Resource name including your solution name. E.G MyMenuMod.banner.png
리턴 string

WriteFileFromResources() 공개 정적인 메소드

Save an embedded resource to a concrete path.
public static WriteFileFromResources ( Assembly yourAssembly, string fullResourceName, string savePath ) : string
yourAssembly System.Reflection.Assembly Your executing assembly.
fullResourceName string Resource name including your solution name. E.G MyMenuMod.banner.png
savePath string Path to where save the file, including the filename.
리턴 string