public static void Append(this ViOStream OS, LogicAuraValueArray value) { OS.Append(value.Element0); OS.Append(value.Element1); OS.Append(value.Element2); OS.Append(value.Element3); }
public static void Append <TReceiveKey, TProteKey, TReceiveData, TProtoData>(this ViOStream OS, ViReceiveDataDictionary <TReceiveKey, TProteKey, TReceiveData, TProtoData> value) where TReceiveKey : ViReceiveDataKeyInterface, new() where TReceiveData : ViReceiveDataNode, new() { ViDebuger.Error("ViReceiveDataDictionarySerialize未实现代码"); //value.Update(); }
public static void Append(this ViOStream OS, LogicAuraProperty value) { OS.Append(value.SpellID); OS.Append(value.EffectIdx); OS.Append(value.EndTime); OS.Append(value.CastorValue); OS.Append(value.Value); }
public static void Append <TEntity>(ViOStream OS, List <TEntity> list) where TEntity : ViEntity { ViArrayIdx size = (ViArrayIdx)list.Count; OS.Append(size); foreach (TEntity value in list) { OS.Append(value); } }
public static void Append(this ViOStream OS, List <LogicAuraProperty> list) { ViArrayIdx size = (ViArrayIdx)list.Count; OS.Append(size); foreach (LogicAuraProperty value in list) { OS.Append(value); } }
public static void Append(this ViOStream OS, List <UInt16> list) { ViArrayIdx size = (ViArrayIdx)list.Count; OS.Append(size); foreach (UInt16 value in list) { OS.Append(value); } }
public static void Append <TEntity>(ViOStream OS, TEntity value) where TEntity : ViEntity { if (value != null) { OS.Append(value.ID); } else { ViEntityID id = 0; OS.Append(id); } }
public void Exception(ViRPCEntity entity) { if (_CBID == 0) { ViDebuger.Warning("ViRPCCallback: Exception Invalid"); return; } ViOStream oStream = entity.RPC.OS; UInt16 funcIdx = (UInt16)ViRPCMessage.EXEC_EXCEPTION; oStream.Append(funcIdx); oStream.Append(_CBID); entity.RPC.SendMessage(); _CBID = 0; }
public static void Invoke(this ViRPCCallback <Int16> callback, ViRPCEntity entity, Int16 value) { if (callback.ID == 0) { ViDebuger.Warning("ViRPCCallback<Int16>: Invoke Invalid"); return; } ViOStream oStream = entity.RPC.OS; UInt16 uiFuncIdx = (UInt16)ViRPCMessage.EXEC_RESULT; oStream.Append(uiFuncIdx); oStream.Append(callback.ID); oStream.Append(value); entity.RPC.SendMessage(); callback.ID = 0; }
public static void Append(this ViOStream OS, ViEntity value) { OS.Append(value.ID); }
public static void Append(this ViOStream OS, ViVector3 value) { OS.Append(value.x); OS.Append(value.y); OS.Append(value.z); }
public static void Append <T, L>(this ViOStream OS, ViReceiveDataArray <T, L> value) where T : ViReceiveDataNode, new() { ViDebuger.Error("ViReceiveDataArraySerialize未实现代码"); //value.Update(); }
public static void Append <TReceiveKey, TProteKey>(this ViOStream OS, ViReceiveDataSet <TReceiveKey, TProteKey> value) where TReceiveKey : ViReceiveDataKeyInterface, new() { ViDebuger.Error("ViReceiveDataSetSerialize未实现代码"); //value.Update(); }
public static void Append(this ViOStream OS, VisualAuraProperty value) { OS.Append(value.SpellID); OS.Append(value.EffectIdx); OS.Append(value.EndTime); }
public static void Append(this ViOStream OS, List <ViGameUnit> list) { ViEntitySerialize.Append(OS, list); }
public static void Append(this ViOStream OS, ViGameUnit value) { ViEntitySerialize.Append(OS, value); }
public static void Append(this ViOStream OS, ViReceiveDataInt8 value) { OS.Append(value); }
public static void Append(this ViOStream OS, ViReceiveDataEvent value) { ViDebuger.Error(""); }