/// <description> /// Called when the vehicle leaves liquid. /// </description> /// <param name="obj">the Vehicle object</param> /// <param name="type">type of liquid the vehicle has left</param> public virtual void OnLeaveLiquid(Vehicle obj, string type) { InternalUnsafeMethods.OnLeaveLiquid__Args _args = new InternalUnsafeMethods.OnLeaveLiquid__Args() { obj = obj.ObjectPtr, type = type, }; InternalUnsafeMethods.OnLeaveLiquid()(ObjectPtr, _args); }
/// <description> /// Informs an Item object that it has left a liquid, along with information about the liquid type. /// </description> /// <param name="objID">Object ID for this Item object.</param> /// <param name="liquidType">The type of liquid that this Item object has left.</param> /// <remarks> Server side only. /// </remarks> /// <see cref="Item, ItemData, WaterObject" /> public virtual void OnLeaveLiquid(string objID, string liquidType) { InternalUnsafeMethods.OnLeaveLiquid__Args _args = new InternalUnsafeMethods.OnLeaveLiquid__Args() { objID = objID, liquidType = liquidType, }; InternalUnsafeMethods.OnLeaveLiquid()(ObjectPtr, _args); }