ORilot / DiscordStuff

A little play around with the Webhook feature of discord
0 stars 0 forks source link

Mode of Transport Enum #48

Closed sync-by-unito[bot] closed 5 months ago

sync-by-unito[bot] commented 5 months ago

Mode of Transport Enum is an enumeration (https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/enum ) used to define the mode of transport used by agent and permitted by an edge. This enum will be defined in “Edge Functionality Script” C# script.

This enum is defined in a public static class “ModeOfTransport(https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/static-classes-and-static-class-members ) and has, for now the following enumerations:

The “ModeOfTransport” class also contains extention methods, (https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/extension-methods) that further extend the enums functionality to allow accessing a set of constants as follows

ModeOfTransportEnum e = ModeOfTransportEnum.Car;
e.MaxVelocity();

The enum has the following constants:

Specified by: Zdenek Plesek

Implemented by: Scott DeVerinne

Validated by: Oscar Rilot

┆Issue is synchronized with this Trello card by Unito