/// <summary> /// Find the networkview based on a viewID /// </summary> /// <param name="viewID"></param> /// <returns></returns> public static NetworkView Find(NetworkViewId viewID) { NetworkView view; Find(viewID.guid, out view); return(view); }
/// <summary> /// find a networkview via a networkviewid serialize to the message /// </summary> /// <param name="message">read location is advanced</param> /// <param name="view"></param> /// <returns></returns> public static bool Find(ref NetIncomingMessage message, out NetworkView view) { var id = NetworkViewId.Deserialize(message); return(Find(id, out view)); }
/// <summary> /// Find the networkview based on a viewID /// </summary> /// <param name="viewID"></param> /// <returns></returns> public static NetworkView Find(NetworkViewId viewID) { return views[viewID.guid]; }
/// <summary> /// Find the networkview based on a viewID /// </summary> /// <param name="viewID"></param> /// <returns></returns> public static NetworkView Find(NetworkViewId viewID) { NetworkView view; Find(viewID.guid, out view); return view; }