PC Stable Documentation
|
|
Private Member Functions | |
void | WrittenNoteData (ItemBase parent) |
void | OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx) |
void | InitNoteInfo (ItemBase pen=null, ItemBase paper=null) |
bool | GetNoteInfo (out ItemBase pen, out ItemBase paper) |
string | GetNoteText () |
void | SetNoteText (string text) |
void | DepleteWritingImplement (notnull ItemBase pen, string old_text, string new_text) |
Private Attributes | |
protected ItemBase | m_WritingImplement |
protected ItemBase | m_Paper |
protected string | m_SimpleText |
|
inlineprivate |
|
inlineprivate |
References Math::Clamp(), and string::Length().
Referenced by OnRPC().
References m_Paper, and m_WritingImplement.
Referenced by OnRPC().
|
inlineprivate |
References m_SimpleText.
Referenced by ActionReadPaperCB::OnStateChange(), and ActionWritePaperCB::OnStateChange().
References m_Paper, and m_WritingImplement.
Referenced by ActionWritePaper::OnStartClient(), and ActionWritePaper::OnStartServer().
|
inlineprivate |
References DepleteWritingImplement(), g_Game, GetGame(), GetNoteInfo(), m_SimpleText, m_WritingImplement, MENU_NOTE, Serializer::Read(), and SetNoteText().
Referenced by InventoryItem::OnRPC().
|
inlineprivate |
References m_SimpleText.
Referenced by OnRPC().
|
private |
Referenced by GetNoteInfo(), and InitNoteInfo().
|
private |
Referenced by GetNoteText(), OnRPC(), and SetNoteText().
|
private |
Referenced by GetNoteInfo(), InitNoteInfo(), and OnRPC().