Luanti 5.16.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

References lightDay, and lightNight.

◆ LightPair() [3/4]

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

References lightDay, and lightNight.

◆ LightPair() [4/4]

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

References lightDay, and lightNight.

Member Function Documentation

◆ operator u16()

LightPair::operator u16 ( ) const
inline

References lightDay, and lightNight.

Member Data Documentation

◆ lightDay

◆ lightNight


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