Class Boat
Represents boats
Inherited Members
Namespace: Slipe.Server.Vehicles
Assembly: SlipeServer.dll
Syntax
public class Boat : BaseVehicle
Constructors
| Improve this Doc View SourceBoat(BoatModel, Vector3)
Create a plane from a model at a position
Declaration
public Boat(BoatModel model, Vector3 position)
Parameters
| Type | Name | Description |
|---|---|---|
| BoatModel | model | |
| Vector3 | position |
Boat(BoatModel, Vector3, Vector3, String, Int32, Int32)
Create a plane using all createVehicle arguments
Declaration
public Boat(BoatModel model, Vector3 position, Vector3 rotation, string numberplate = "", int variant1 = 1, int variant2 = 1)
Parameters
| Type | Name | Description |
|---|---|---|
| BoatModel | model | |
| Vector3 | position | |
| Vector3 | rotation | |
| String | numberplate | |
| Int32 | variant1 | |
| Int32 | variant2 |
Operators
| Improve this Doc View SourceExplicit(Vehicle to Boat)
Declaration
public static explicit operator Boat(Vehicle vehicle)
Parameters
| Type | Name | Description |
|---|---|---|
| Vehicle | vehicle |
Returns
| Type | Description |
|---|---|
| Boat |