public static void Postfix(ZNetView ___m_nview, bool ___m_picked, ref Patch_Pickable_SetPicked.PickState __state) { bool flag = __state != null && __state.picked == ___m_picked && ___m_nview.IsOwner(); if (flag) { ___m_nview.GetZDO().Set("picked_time", __state.picked_time); } }
public static void Prefix(ZNetView ___m_nview, bool ___m_picked, ref Patch_Pickable_SetPicked.PickState __state) { __state = new Patch_Pickable_SetPicked.PickState(); __state.picked_time = ___m_nview.GetZDO().GetLong("picked_time", 0L); __state.picked = ___m_picked; }