C# 클래스 FSO.Content.ChangeManager

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

공개 메소드들

메소드 설명
BlockingResMod ( ResAction action ) : void
ChunkChanged ( IffChunk chunk ) : void
DiscardChange ( IffChunk chunk ) : void
DiscardChange ( IffFile file ) : void
DiscardChanges ( IEnumerable chunks ) : void
DiscardChanges ( IEnumerable files ) : void
GetChangeList ( ) : HashSet
IffChanged ( IffFile file ) : void
Invoke ( Delegate func ) : void
QueueResMod ( ResAction action ) : void

Queues an action to run on a game resource, which will be run later by the game thread.

RegisterObjects ( IffFile file ) : void
RunResModifications ( ) : void

Runs the queued resource modifications. Should be executed from the game thread, so that any queued operations are run on the game thread. The chunks in use will be locked - it's up to external threads to consider that when retrieving a chunk's information for use.

SaveChange ( IffFile file ) : void
SaveChanges ( IEnumerable files ) : void
UnregisterObjects ( IffFile file ) : void

메소드 상세

BlockingResMod() 공개 메소드

public BlockingResMod ( ResAction action ) : void
action ResAction
리턴 void

ChunkChanged() 공개 메소드

public ChunkChanged ( IffChunk chunk ) : void
chunk FSO.Files.Formats.IFF.IffChunk
리턴 void

DiscardChange() 공개 메소드

public DiscardChange ( IffChunk chunk ) : void
chunk FSO.Files.Formats.IFF.IffChunk
리턴 void

DiscardChange() 공개 메소드

public DiscardChange ( IffFile file ) : void
file IffFile
리턴 void

DiscardChanges() 공개 메소드

public DiscardChanges ( IEnumerable chunks ) : void
chunks IEnumerable
리턴 void

DiscardChanges() 공개 메소드

public DiscardChanges ( IEnumerable files ) : void
files IEnumerable
리턴 void

GetChangeList() 공개 메소드

public GetChangeList ( ) : HashSet
리턴 HashSet

IffChanged() 공개 메소드

public IffChanged ( IffFile file ) : void
file IffFile
리턴 void

Invoke() 공개 메소드

public Invoke ( Delegate func ) : void
func System.Delegate
리턴 void

QueueResMod() 공개 메소드

Queues an action to run on a game resource, which will be run later by the game thread.
public QueueResMod ( ResAction action ) : void
action ResAction
리턴 void

RegisterObjects() 공개 메소드

public RegisterObjects ( IffFile file ) : void
file IffFile
리턴 void

RunResModifications() 공개 메소드

Runs the queued resource modifications. Should be executed from the game thread, so that any queued operations are run on the game thread. The chunks in use will be locked - it's up to external threads to consider that when retrieving a chunk's information for use.
public RunResModifications ( ) : void
리턴 void

SaveChange() 공개 메소드

public SaveChange ( IffFile file ) : void
file IffFile
리턴 void

SaveChanges() 공개 메소드

public SaveChanges ( IEnumerable files ) : void
files IEnumerable
리턴 void

UnregisterObjects() 공개 메소드

public UnregisterObjects ( IffFile file ) : void
file IffFile
리턴 void