예제 #1
0
파일: AnyData.cs 프로젝트: rotators/fomono
 public bool Get(string name, UInt8Array data)
 {
     var ss = new ScriptString(name);
     return Global_GetAnyData(ss.ThisPtr, data.ThisPtr);
 }
예제 #2
0
 public void Visit(UInt8Array array) => CreateBuffers(array);
예제 #3
0
 public bool Load(string name)
 {
     Clear();
     if (!Global.IsAnyData(name)) return false;
     var data = new UInt8Array();
     if(!Global.GetAnyData(name,data)) return false;
     buffer.AddRange(data);
     return true;
 }
예제 #4
0
 public void Visit(UInt8Array array) => CompareArrays(array);