Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
WrittenNoteData Class Reference

Protected Member Functions

void WrittenNoteData (ItemBase parent)
void DepleteWritingImplement (notnull ItemBase pen, string old_text, string new_text)
bool GetNoteInfo (out ItemBase pen, out ItemBase paper)
string GetNoteText ()
void InitNoteInfo (ItemBase pen=null, ItemBase paper=null)
void OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)
void SetNoteText (string text)

Protected Attributes

ItemBase m_Paper
string m_SimpleText
ItemBase m_WritingImplement

Detailed Description

Definition at line 1 of file writtennotedata.c.

Constructor & Destructor Documentation

◆ WrittenNoteData()

void WrittenNoteData ( ItemBase parent)
inlineprotected

Definition at line 8 of file writtennotedata.c.

Member Function Documentation

◆ DepleteWritingImplement()

void DepleteWritingImplement ( notnull ItemBase pen,
string old_text,
string new_text )
inlineprotected

Definition at line 83 of file writtennotedata.c.

References Math::Clamp(), and string::Length().

Referenced by OnRPC().

◆ GetNoteInfo()

bool GetNoteInfo ( out ItemBase pen,
out ItemBase paper )
inlineprotected

Definition at line 65 of file writtennotedata.c.

References m_Paper, and m_WritingImplement.

Referenced by OnRPC().

◆ GetNoteText()

string GetNoteText ( )
inlineprotected

◆ InitNoteInfo()

void InitNoteInfo ( ItemBase pen = null,
ItemBase paper = null )
inlineprotected

◆ OnRPC()

void OnRPC ( PlayerIdentity sender,
int rpc_type,
ParamsReadContext ctx )
inlineprotected

◆ SetNoteText()

void SetNoteText ( string text)
inlineprotected

Definition at line 78 of file writtennotedata.c.

References m_SimpleText.

Referenced by OnRPC().

Field Documentation

◆ m_Paper

ItemBase m_Paper
protected

Definition at line 4 of file writtennotedata.c.

Referenced by GetNoteInfo(), and InitNoteInfo().

◆ m_SimpleText

string m_SimpleText
protected

Definition at line 6 of file writtennotedata.c.

Referenced by GetNoteText(), OnRPC(), and SetNoteText().

◆ m_WritingImplement

ItemBase m_WritingImplement
protected

Definition at line 3 of file writtennotedata.c.

Referenced by GetNoteInfo(), InitNoteInfo(), and OnRPC().


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