Snowflake

Inherits: Reference < Object

Properties

type name
int id

Methods

return type signature
int get_timestamp ( )
int get_internal_worker_id ( )
int get_internal_process_id ( )
int get_increment ( )
String get_class ( )
Array static snowflakes2integers ( PoolStringArray snowflakes )

Constants

  • int PROCESS_OFFSET = 12

    There is currently no description for this constant.


  • int DISCORD_EPOCH = 1420070400000

    There is currently no description for this constant.


  • int TIMESTAMP_OFFSET = 22

    There is currently no description for this constant.


  • int WORKER_OFFSET = 17

    There is currently no description for this constant.

Property Descriptions

  • int id

    There is currently no description for this property.

Method Descriptions

  • Snowflake Snowflake ( int _id )

    There is currently no description for this method.


  • int get_timestamp ( )

    There is currently no description for this method.


  • int get_internal_worker_id ( )

    There is currently no description for this method.


  • int get_internal_process_id ( )

    There is currently no description for this method.


  • int get_increment ( )

    There is currently no description for this method.


  • String get_class ( )

    There is currently no description for this method.


  • Array static snowflakes2integers ( PoolStringArray snowflakes )

    PoolIntArray can not hold 64-bit integers