static StackObject *Ctor_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *__ret = ILIntepreter.Minus(__esp, 0); var result_of_this_method = new UnityEngine.NetworkView(); return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
protected override void GetDependencies(System.Collections.Generic.Dictionary <long, UnityEngine.Object> dependencies, object obj) { base.GetDependencies(dependencies, obj); if (obj == null) { return; } #if !UNITY_WINRT && !UNITY_WEBGL UnityEngine.NetworkView o = (UnityEngine.NetworkView)obj; AddDependency(o.observed, dependencies); #endif }
public override void ReadFrom(object obj) { base.ReadFrom(obj); if (obj == null) { return; } #if !UNITY_WINRT && !UNITY_WEBGL UnityEngine.NetworkView o = (UnityEngine.NetworkView)obj; observed = o.observed.GetMappedInstanceID(); stateSynchronization = (uint)o.stateSynchronization; viewID = o.viewID; group = o.group; #endif }
public override object WriteTo(object obj, System.Collections.Generic.Dictionary <long, UnityEngine.Object> objects) { obj = base.WriteTo(obj, objects); if (obj == null) { return(null); } #if !UNITY_WINRT && !UNITY_WEBGL UnityEngine.NetworkView o = (UnityEngine.NetworkView)obj; o.observed = (UnityEngine.Component)objects.Get(observed); o.stateSynchronization = (UnityEngine.NetworkStateSynchronization)stateSynchronization; o.viewID = viewID; o.group = group; return(o); #else return(obj); #endif }