Results 1 to 2 of 2

Thread: CL_NetGameEvent::get_argument(index).to_float()?

  1. #1
    Lesser Knight
    Join Date
    May 2010
    Posts
    32

    Default CL_NetGameEvent::get_argument(index).to_float()?

    Hi.

    I have 1 problem with CL_NetGameEvent. Why CL_NetGameEvent::get_argument(index) have "float value" and can send that, but i cant find CL_NetGameEvent::get_argument(index).to_float()?

    Thnx for help and srry for my english.

  2. #2
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Bergen, Norway
    Posts
    588

    Default

    actually, seems it is named to_number();

    But as far as I remember, you don't have to be explicit about this:

    int my_int = e.get_argument(0);
    float my_float = e.get_argument(1);

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •