C# 클래스 WinterSync.SpringLua

Lua utilities for reading spring archives
파일 보기 프로젝트 열기: ZeroK-RTS/SpringRTS-Tools 1 사용 예제들

공개 메소드들

메소드 설명
GetLuaState ( string springPath ) : IntPtr

creates a lua state and registers the TDF parser

GetModName ( IntPtr L, string path ) : string
ProtectedGetModName ( IntPtr L, string path ) : string

비공개 메소드들

메소드 설명
FindModInfo ( Archive archive, string extension ) : string
GetLuaStpringState ( IArchiveFileData>.Dictionary fileMap ) : IntPtr

creates a lua state and registers functions commonly used in lua defs

GetTdfField ( IntPtr L, string fieldName, string archivePath ) : string
GetTdfTableFromString ( IntPtr L, string fileString ) : WinterSync.LuaValue[]

메소드 상세

GetLuaState() 공개 정적인 메소드

creates a lua state and registers the TDF parser
public static GetLuaState ( string springPath ) : IntPtr
springPath string
리턴 System.IntPtr

GetModName() 공개 정적인 메소드

public static GetModName ( IntPtr L, string path ) : string
L System.IntPtr
path string
리턴 string

ProtectedGetModName() 공개 정적인 메소드

public static ProtectedGetModName ( IntPtr L, string path ) : string
L System.IntPtr
path string
리턴 string