1. Smoke 6

    Smoke 6 Scavenger

    I a newbie on C# ,Hope some one can help me :

    I see in lots of plugins there is such statements below:

    e.g:

    string message(string message, string SteamId = null) => lang.GetMessage(message, this, SteamId);

    so ,what does this statement mean? Thx a lot
     
  2. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    It's a method someone wrote to shorten what it uses at the end.

    Call message("key", "steamidhere") to get a localized message from the lang.GetMessage method using that key and Steam ID.