Skip to content

class_ramen_phonecall

tacoen edited this page Jun 25, 2020 · 26 revisions

ramen_phonecall

cb_dialing

Syntax and default parameters:

obj.cb_dialing(event,interact=False,**kwargs)

Provide callback function for phone_dialing.

cb_hangup

Syntax and default parameters:

obj.cb_hangup(event,interact=False,**kwargs)

Provide callback function for phone_hangup.

incoming

Syntax and default parameters:

obj.incoming(npc_id,what=None,type=label,prefix=False,side=phone-oncall,transform=<ATL Transform 498fc70 (u'game/ramen/000-common.rpy', 57)>)

See: phonecall.talk

$ phonecall.incoming('rita','chat','json')

outcoming

Syntax and default parameters:

obj.outcoming(npc_id,what=None,type=label,prefix=False)

See: phonecall.talk

$ phonecall.outcoming('rita','chat')

talk

Syntax and default parameters:

obj.talk(npc_id,what=None,type=label,prefix=False,side=phone-oncall,transform=<ATL Transform 498fc70 (u'game/ramen/000-common.rpy', 57)>)
$ phonecall.talk('rita','chat','json','01','phone-oncall',ramen_lb)

Keyword arguments:

# Key Description
0 npc_id npc.id to talk with
1 what json topic / label
2 type json or label
3 prefix topic id / label prefix
4 side side image template
5 transform atl to use by side image

See: ramen_util.talk


Generated Time: 06/25/20 22:35:01

Note This files created using ramen-dev makedoc() from working ramen ren'py project, same references may become a non existent.

Made with Ren'Py 7.3.5.606

Clone this wiki locally