Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
LightPair Struct Reference

#include <content_mapblock.h>

Public Member Functions

 LightPair ()=default
 
 LightPair (u16 value)
 
 LightPair (u8 valueA, u8 valueB)
 
 LightPair (float valueA, float valueB)
 
 operator u16 () const
 

Public Attributes

u8 lightDay
 
u8 lightNight
 

Constructor & Destructor Documentation

◆ LightPair() [1/4]

LightPair::LightPair ( )
default

◆ LightPair() [2/4]

LightPair::LightPair ( u16 value)
inlineexplicit

◆ LightPair() [3/4]

LightPair::LightPair ( u8 valueA,
u8 valueB )
inline

◆ LightPair() [4/4]

LightPair::LightPair ( float valueA,
float valueB )
inline

Member Function Documentation

◆ operator u16()

LightPair::operator u16 ( ) const
inline

References lightDay, and lightNight.

Member Data Documentation

◆ lightDay

u8 LightPair::lightDay

◆ lightNight

u8 LightPair::lightNight

The documentation for this struct was generated from the following file: