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

#include <mapnode.h>

Public Member Functions

bool operator== (const ContentLightingFlags &other) const
 
bool operator!= (const ContentLightingFlags &other) const
 

Public Attributes

u8 light_source: 4
 
bool has_light: 1
 
bool light_propagates: 1
 
bool sunlight_propagates: 1
 

Member Function Documentation

◆ operator!=()

bool ContentLightingFlags::operator!= ( const ContentLightingFlags & other) const
inline

◆ operator==()

bool ContentLightingFlags::operator== ( const ContentLightingFlags & other) const
inline

Member Data Documentation

◆ has_light

◆ light_propagates

◆ light_source

◆ sunlight_propagates


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