OpenBlox
A game engine which provides a simple and easy to learn Lua API.
obtype.h File Reference

Go to the source code of this file.

Classes

struct  _ob_rect
 

Macros

#define OB_NETID_START   100
 
#define OB_NETID_UNASSIGNED   0
 
#define OB_NETID_NOT_REPLICATED   1
 
#define OB_NETID_NULL   2
 
#define OB_NETID_DATAMODEL   5
 
#define OB_NETID_WORKSPACE   6
 
#define OB_NETID_LIGHTING   7
 
#define OB_NETID_REPLICATEDFIRST   8
 
#define OB_NETID_REPLICATEDSTORAGE   9
 
#define OB_NETID_STARTERGUI   10
 
#define OB_NETID_COREGUI   11
 
#define OB_NETID_PLAYERS   12
 
#define OB_NET_MAX_PEERS   300
 
#define OB_NET_CHANNELS   3
 
#define OB_NET_CHAN_PROTOCOL   0
 
#define OB_NET_CHAN_REPLICATION   1
 
#define OB_NET_CHAN_LUA   2
 
#define OB_NET_PKT_CREATE_INSTANCE   4
 
#define OB_NET_PKT_SET_PARENT   5
 
#define OB_NET_PKT_SET_PROPERTY   6
 
#define OB_NET_PKT_FIRE_REMOTE_EVENT   2
 
#define OB_NET_TYPE_COLOR3   5
 
#define OB_NET_TYPE_VECTOR3   6
 
#define OB_NET_TYPE_VECTOR2   7
 
#define OB_NET_TYPE_LUAENUM   8
 
#define OB_NET_TYPE_LUAENUMITEM   9
 
#define OB_NET_TYPE_UDIM   10
 
#define OB_NET_TYPE_UDIM2   11
 

Typedefs

typedef long long int ob_int64
 
typedef unsigned long long int ob_uint64
 

Detailed Description

Author
John M. Harris, Jr.
Date
May 2016

This file defines internal types used by the OpenBlox game engine.

Macro Definition Documentation

◆ OB_NET_CHAN_LUA

#define OB_NET_CHAN_LUA   2

◆ OB_NET_CHAN_PROTOCOL

#define OB_NET_CHAN_PROTOCOL   0

◆ OB_NET_CHAN_REPLICATION

#define OB_NET_CHAN_REPLICATION   1

◆ OB_NET_CHANNELS

#define OB_NET_CHANNELS   3

◆ OB_NET_MAX_PEERS

#define OB_NET_MAX_PEERS   300

◆ OB_NET_PKT_CREATE_INSTANCE

#define OB_NET_PKT_CREATE_INSTANCE   4

◆ OB_NET_PKT_FIRE_REMOTE_EVENT

#define OB_NET_PKT_FIRE_REMOTE_EVENT   2

◆ OB_NET_PKT_SET_PARENT

#define OB_NET_PKT_SET_PARENT   5

◆ OB_NET_PKT_SET_PROPERTY

#define OB_NET_PKT_SET_PROPERTY   6

◆ OB_NET_TYPE_COLOR3

#define OB_NET_TYPE_COLOR3   5

◆ OB_NET_TYPE_LUAENUM

#define OB_NET_TYPE_LUAENUM   8

◆ OB_NET_TYPE_LUAENUMITEM

#define OB_NET_TYPE_LUAENUMITEM   9

◆ OB_NET_TYPE_UDIM

#define OB_NET_TYPE_UDIM   10

◆ OB_NET_TYPE_UDIM2

#define OB_NET_TYPE_UDIM2   11

◆ OB_NET_TYPE_VECTOR2

#define OB_NET_TYPE_VECTOR2   7

◆ OB_NET_TYPE_VECTOR3

#define OB_NET_TYPE_VECTOR3   6

◆ OB_NETID_COREGUI

#define OB_NETID_COREGUI   11

◆ OB_NETID_DATAMODEL

#define OB_NETID_DATAMODEL   5

◆ OB_NETID_LIGHTING

#define OB_NETID_LIGHTING   7

◆ OB_NETID_NOT_REPLICATED

#define OB_NETID_NOT_REPLICATED   1

◆ OB_NETID_NULL

#define OB_NETID_NULL   2

◆ OB_NETID_PLAYERS

#define OB_NETID_PLAYERS   12

◆ OB_NETID_REPLICATEDFIRST

#define OB_NETID_REPLICATEDFIRST   8

◆ OB_NETID_REPLICATEDSTORAGE

#define OB_NETID_REPLICATEDSTORAGE   9

◆ OB_NETID_START

#define OB_NETID_START   100

◆ OB_NETID_STARTERGUI

#define OB_NETID_STARTERGUI   10

◆ OB_NETID_UNASSIGNED

#define OB_NETID_UNASSIGNED   0

◆ OB_NETID_WORKSPACE

#define OB_NETID_WORKSPACE   6

Typedef Documentation

◆ ob_int64

typedef long long int ob_int64

This type is used for 64 bit integers, specifically for use with time.

Author
John M. Harris, Jr.

◆ ob_uint64

typedef unsigned long long int ob_uint64

This type is used for 64 bit unsigned integers, for example network identifiers.

Author
John M. Harris, Jr.