예제 #1
0
 public static List <uint> ParseUnloadedNodes(string nodeStream)
 {
     return(SyncBuffer.SplitObjectStream(nodeStream).Select(entry => uint.Parse(entry)).ToList());
 }
예제 #2
0
 protected DoubleSyncBuffer(Action <string> syncLoaded, Action <string> syncUnloaded)
 {
     loadedBuffer   = new SyncBuffer(syncLoaded);
     unloadedBuffer = new SyncBuffer(syncUnloaded);
 }
예제 #3
0
 public static List <LoadedNodeSync> ParseLoadedNodes(string nodeStream)
 {
     return(SyncBuffer.SplitObjectStream(nodeStream).Select(entry => (LoadedNodeSync)entry).ToList());
 }
예제 #4
0
 public static List <uint> ParseNodeIDs(string stream)
 {
     return(SyncBuffer.SplitObjectStream(stream).Select(uint.Parse).ToList());
 }