// Token: 0x06003D63 RID: 15715 RVA: 0x000DBA60 File Offset: 0x000D9C60 private void cl_predestroy(global::NGCView view) { if (this._master) { this._master.CullComponent(this); } }
// Token: 0x06002115 RID: 8469 RVA: 0x0007A0B4 File Offset: 0x000782B4 public static global::NetEntityID.Kind Of(GameObject entity, out global::NetEntityID entID, out MonoBehaviour view) { if (!entity) { entID = global::NetEntityID.unassigned; view = null; return(global::NetEntityID.Kind.Missing); } uLink.NetworkView component = entity.GetComponent <uLink.NetworkView>(); if (component) { entID = new global::NetEntityID(component.viewID); view = component; return(global::NetEntityID.Kind.Net); } global::NGCView component2 = entity.GetComponent <global::NGCView>(); if (component2) { entID = new global::NetEntityID(component2); view = component2; return(global::NetEntityID.Kind.NGC); } entID = global::NetEntityID.unassigned; view = null; return(global::NetEntityID.Kind.Missing); }
// Token: 0x060020EE RID: 8430 RVA: 0x00079A1C File Offset: 0x00077C1C public NetEntityID(global::NGCView view) { this = default(global::NetEntityID); if (view) { this.v = view.id; } }
// Token: 0x06003D64 RID: 15716 RVA: 0x000DBA80 File Offset: 0x000D9C80 protected internal virtual void OnOwnedByMasterStructure(global::StructureMaster master) { this._master = master; global::NGCView component = base.GetComponent <global::NGCView>(); if (component && !this.addedDestroyCallback && component) { this.addedDestroyCallback = true; component.OnPreDestroy += this.cl_predestroy; } }
// Token: 0x06003CF3 RID: 15603 RVA: 0x000DA280 File Offset: 0x000D8480 private void NGC_OnInstantiate(global::NGCView view) { this.myID = global::NetEntityID.Get(this); this._resTarg = base.GetComponent <global::ResourceTarget>(); }
// Token: 0x06002D03 RID: 11523 RVA: 0x000A86F8 File Offset: 0x000A68F8 public static bool ContextOf(global::NGCView networkView, out global::Contextual contextual) { return(global::Contextual.GetMB(networkView, out contextual)); }